Closed a modal that was left open in a test, which caused the next test to fail
This commit is contained in:
parent
f95e06bccd
commit
d959bdb914
@ -265,6 +265,7 @@ test.describe('Admin', () => {
|
||||
const success = await sharedPage.locator('div[data-test-state="add-complete"] > div > p').innerText();
|
||||
expect(success).toEqual('Label added to 3 members successfully');
|
||||
labelFilterUrl = await sharedPage.url();
|
||||
await sharedPage.locator('button[data-test-button="close-modal"]').click();
|
||||
});
|
||||
|
||||
test('A filtered list of members can have a label removed from them', async ({sharedPage}) => {
|
||||
|
Loading…
Reference in New Issue
Block a user