From 6b166a9d2fb29a64dbb98c527cd033869b22e9f4 Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Sat, 13 Sep 2025 23:40:27 -0700 Subject: [PATCH] Fix Vue node selection detection in browser tests (#5555) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The VueNodeHelpers was using incorrect CSS selector for detecting selected nodes. Vue nodes use outline-black/outline-white classes for selection state, not border-blue-500. This fixes the failing delete key interaction tests that were showing 0 selected nodes when they should have been detecting the actual selection state. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude --- browser_tests/fixtures/VueNodeHelpers.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/browser_tests/fixtures/VueNodeHelpers.ts b/browser_tests/fixtures/VueNodeHelpers.ts index b16b1099a..e3b3de542 100644 --- a/browser_tests/fixtures/VueNodeHelpers.ts +++ b/browser_tests/fixtures/VueNodeHelpers.ts @@ -17,7 +17,9 @@ export class VueNodeHelpers { * Get locator for selected Vue node components (using visual selection indicators) */ get selectedNodes(): Locator { - return this.page.locator('[data-node-id].border-blue-500') + return this.page.locator( + '[data-node-id].outline-black, [data-node-id].outline-white' + ) } /**