fix(e2e): use :text-is selector for Workspace label in create-project dialog

getByLabel('Workspace') fails because FakeMUI Select renders a custom
div-based dropdown without a real <input id>, so Playwright cannot resolve
the label→control association. Use :text-is('Workspace') to match the
FormLabel element directly with exact text, avoiding substring match on
the breadcrumb 'Workspaces' link.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 19:39:12 +00:00
parent ee32934c74
commit 9ca047cc24

View File

@@ -183,7 +183,7 @@
{
"description": "Verify workspace dropdown visible",
"action": "expect",
"label": "Workspace",
"selector": ":text-is('Workspace')",
"assertion": {
"matcher": "toBeVisible"
}