fix(app): simplify workspace add-tab labels

Use noun labels in the add-tab menu so creation targets read consistently alongside Changes, Files, and Pull request. Keep verb-oriented labels in shortcut and command surfaces.
This commit is contained in:
Mohamed Boudra
2026-08-17 23:18:55 +02:00
parent f469223b76
commit a6a533bc6a
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export async function pressNewTabShortcut(page: Page): Promise<void> {
export async function openNewTabMenuWithShortcut(page: Page): Promise<void> {
await pressNewTabShortcut(page);
await expect(page.getByRole("menuitem", { name: /New agent/ })).toBeVisible();
await expect(page.getByRole("menuitem", { name: /^Agent/ })).toBeVisible();
}
export async function pressDirectNewTabShortcut(page: Page, key: string): Promise<void> {