We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17f7f72 commit bfa9542Copy full SHA for bfa9542
web/gui-v2/src/components/ListView.test.js
@@ -54,7 +54,7 @@ describe("ListView", () => {
54
await user.click(removedCheckbox);
55
expect(removedCheckbox.checked).toEqual(false);
56
await user.click(getByRole(dialog, 'button', { name: 'Apply' }));
57
- await waitForElementToBeRemoved(dialog);
+ await waitForElementToBeRemoved(() => screen.getByRole('dialog'));
58
expect(screen.queryByRole('heading', { name: 'Add/remove columns'})).not.toBeInTheDocument();
59
60
// Verify that the changes took effect
0 commit comments