From d959bdb9145abcb4c66b42ec763b8228d5c37bc5 Mon Sep 17 00:00:00 2001 From: Chris Raible Date: Thu, 29 Aug 2024 17:49:23 -0700 Subject: [PATCH] Closed a modal that was left open in a test, which caused the next test to fail --- ghost/core/test/e2e-browser/admin/members.spec.js | 1 + 1 file changed, 1 insertion(+) 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}) => {