Skip to content

Commit 8bd0834

Browse files
committed
close window
1 parent f5854a1 commit 8bd0834

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/e2e-frontend/tests/userMenu/userMenuWindows.spec.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ test.describe.serial(`User Menu Windows: ${product}`, () => {
3737
test(`Organizations window`, async () => {
3838
// open user menu
3939
await page.getByTestId("userMenuBtn").click();
40-
// open Organization
40+
// open Organization window
4141
await page.getByTestId("userMenuOrganizationsBtn").click();
4242

4343
// make sure the window opens
@@ -47,5 +47,8 @@ test.describe.serial(`User Menu Windows: ${product}`, () => {
4747
const organizationListItems = page.getByTestId("organizationListItem");
4848
const count = await organizationListItems.count();
4949
expect(count > 0).toBeTruthy();
50+
51+
// close window
52+
await page.getByTestId("organizationsWindowCloseBtn").click();
5053
});
5154
});

0 commit comments

Comments
 (0)