From 9cbba233aaf67b991b77df092784187ac9a90486 Mon Sep 17 00:00:00 2001 From: Alexander Brown <448862+DrJKL@users.noreply.github.com> Date: Sat, 31 Jan 2026 16:36:12 -0800 Subject: [PATCH] fix: replace unsupported _vue selector with getByLabel in VueNodeHelpers Amp-Thread-ID: https://ampcode.com/threads/T-019c169e-9615-7608-9421-0c009920efe4 Co-authored-by: Amp --- browser_tests/fixtures/VueNodeHelpers.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/browser_tests/fixtures/VueNodeHelpers.ts b/browser_tests/fixtures/VueNodeHelpers.ts index 3c11cfda22..a39aa25f35 100644 --- a/browser_tests/fixtures/VueNodeHelpers.ts +++ b/browser_tests/fixtures/VueNodeHelpers.ts @@ -148,9 +148,9 @@ export class VueNodeHelpers { * Get a specific widget by node title and widget name */ getWidgetByName(nodeTitle: string, widgetName: string): Locator { - return this.getNodeByTitle(nodeTitle).locator( - `_vue=[widget.name="${widgetName}"]` - ) + return this.getNodeByTitle(nodeTitle).getByLabel(widgetName, { + exact: true + }) } /**