From 9ca047cc24f0057bbdac33fcdfc58afb4ed7973a Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Fri, 13 Mar 2026 19:39:12 +0000 Subject: [PATCH] fix(e2e): use :text-is selector for Workspace label in create-project dialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit getByLabel('Workspace') fails because FakeMUI Select renders a custom div-based dropdown without a real , 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 --- frontends/workflowui/playwright/templates.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/workflowui/playwright/templates.json b/frontends/workflowui/playwright/templates.json index 23714ed87..cb4595cfd 100644 --- a/frontends/workflowui/playwright/templates.json +++ b/frontends/workflowui/playwright/templates.json @@ -183,7 +183,7 @@ { "description": "Verify workspace dropdown visible", "action": "expect", - "label": "Workspace", + "selector": ":text-is('Workspace')", "assertion": { "matcher": "toBeVisible" }