We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 211ad3c commit e5dbe4cCopy full SHA for e5dbe4c
1 file changed
client/src/components/__tests__/AppsTab.test.tsx
@@ -161,7 +161,7 @@ describe("AppsTab", () => {
161
expect(screen.getByTestId("app-renderer")).toBeInTheDocument();
162
163
// Close the app
164
- const closeButton = screen.getByRole("button", { name: "" }); // X button has no text
+ const closeButton = screen.getByRole("button", { name: /close app/i });
165
fireEvent.click(closeButton);
166
167
// AppRenderer should be removed
0 commit comments