diff --git a/ghost/core/test/e2e-browser/admin/members.spec.js b/ghost/core/test/e2e-browser/admin/members.spec.js index a4b80437ce..ef83b5cd45 100644 --- a/ghost/core/test/e2e-browser/admin/members.spec.js +++ b/ghost/core/test/e2e-browser/admin/members.spec.js @@ -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}) => {