Skip to content

Commit 87eb970

Browse files
author
fabienSvstr
committed
Update
1 parent 4c81f85 commit 87eb970

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/tests/e2e/specs/workspaces_actions.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ for (const mode of ['grid', 'list', 'sidebar']) {
161161
await expect(favorites).toBeVisible();
162162
await openContextMenu(workspaces, mode as Mode, OpenMenuMethod.Button);
163163
const popover = workspaces.locator('.workspace-context-menu');
164-
await popover.getByRole('listitem').nth(8).click();
164+
await popover.getByRole('listitem').nth(7).click();
165165
await expect(popover).toBeHidden();
166166

167167
let wk;
@@ -182,7 +182,7 @@ for (const mode of ['grid', 'list', 'sidebar']) {
182182
await expect(workspaces.locator('.workspace-sharing-modal')).toBeHidden();
183183
await openContextMenu(workspaces, mode as Mode, OpenMenuMethod.Button);
184184
const popover = workspaces.locator('.workspace-context-menu');
185-
await popover.getByRole('listitem').nth(6).click();
185+
await popover.getByRole('listitem').nth(5).click();
186186
await expect(workspaces.locator('.workspace-sharing-modal')).toBeVisible();
187187
await expect(workspaces.locator('.workspace-sharing-modal').locator('.ms-modal-header__title')).toHaveText('wksp1');
188188
});

0 commit comments

Comments
 (0)