Skip to content

Commit e9ae7bf

Browse files
phodalQoder-AI
andcommitted
test(studio): follow the Terminal row in the sidebar keyboard walk
a87d04d added `terminal` as the last Professional destination, so the shared roving tab stop now ends on Terminal and the View navigation holds 20 buttons. The browser test still expected Components and 19. The drift only surfaced now that the earlier CI gates (native DSH smoke, Test Harness Studio package) pass again: `Test Harness Studio browser interaction` runs on a single matrix leg and was skipped in every run since the Terminal surface landed. Test: npx playwright test (harness-studio) — 125 passed. Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
1 parent a578759 commit e9ae7bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/harness-studio/test/browser/project-shell.spec.mjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ test("switches one shared View workbench between remembered Projects", async ({
148148
await page.keyboard.press("ArrowDown");
149149
await expect(navigation.getByRole("button", { name: /^Commits/ })).toBeFocused();
150150
await page.keyboard.press("End");
151-
await expect(navigation.getByRole("button", { name: "Components", exact: true })).toBeFocused();
151+
await expect(navigation.getByRole("button", { name: "Terminal", exact: true })).toBeFocused();
152152
await page.keyboard.press("Home");
153153
await expect(navigation.getByRole("button", { name: "Sessions", exact: true })).toBeFocused();
154154
expect(await page.locator(".studio-primary-nav nav button").evaluateAll((buttons) => buttons.filter((button) => button.tabIndex === 0).length)).toBe(1);
155155

156-
await expect(navigation.getByRole("button")).toHaveCount(19);
156+
await expect(navigation.getByRole("button")).toHaveCount(20);
157157
await expect(page.locator(".studio-context-title")).toHaveText("Sessions");
158158

159159
for (const layout of layouts) {

0 commit comments

Comments
 (0)