From dfc6a3b4115aa4c92c51c51a16b48664f7648112 Mon Sep 17 00:00:00 2001 From: "empiricalrun[bot]" <180257021+empiricalrun[bot]@users.noreply.github.com> Date: Tue, 20 Jan 2026 12:37:55 +0000 Subject: [PATCH] modified tests/sessions.spec.ts [skip ci] --- tests/sessions.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sessions.spec.ts b/tests/sessions.spec.ts index 4bb7505b..9b1777de 100644 --- a/tests/sessions.spec.ts +++ b/tests/sessions.spec.ts @@ -1012,8 +1012,8 @@ test.describe('Sessions Tests', () => { // Wait for successful login await expect(page.getByText("Lorem Ipsum", { exact: true }).first()).toBeVisible(); - // Navigate to My Sessions page - await page.getByRole('link', { name: 'My Sessions', exact: true }).click(); + // Navigate to Sessions page (root-level Sessions link, using .first() to avoid matching workspace Sessions link) + await page.getByRole('link', { name: 'Sessions', exact: true }).first().click(); // Wait for list items to load in the my sessions sidebar await expect(page.getByRole('button', { name: 'Lorem Ipsum' })).toBeVisible({ timeout: 10000 });