Skip to content

Commit 9b1cd4c

Browse files
test(e2e): navigate directly to /users/organizations — Gamma route-driven
1 parent fa3c25b commit 9b1cd4c

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/modules/organizations/tests/organizations.domainJoin.e2e.tests.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -297,13 +297,11 @@ test.describe('Organization Domain Join E2E', () => {
297297
test('approved member — no Manage button on account page', async ({ page }) => {
298298
test.skip(!orgId, 'Setup was skipped — no org created');
299299
await signin(page, memberEmail, password);
300-
await page.goto('/users');
300+
// Gamma refactor: Organizations is its own routed view at /users/organizations
301+
// (no longer a tab inside /users) — navigate directly instead of clicking a tab.
302+
await page.goto('/users/organizations');
301303
await page.waitForLoadState('domcontentloaded');
302304

303-
// Click the Organizations tab
304-
const orgTab = page.getByRole('tab', { name: /organizations/i });
305-
await orgTab.click({ timeout: 10000 });
306-
307305
// Wait for the domain org list item to appear
308306
const domainOrgItem = page.locator('.v-list-item', { hasText: `DomainOrg${timestamp}` });
309307
await expect(domainOrgItem).toBeVisible({ timeout: 10000 });

0 commit comments

Comments
 (0)