mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
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:
@@ -183,7 +183,7 @@
|
||||
{
|
||||
"description": "Verify workspace dropdown visible",
|
||||
"action": "expect",
|
||||
"label": "Workspace",
|
||||
"selector": ":text-is('Workspace')",
|
||||
"assertion": {
|
||||
"matcher": "toBeVisible"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user