From 45d54349ad4ecd71de4d1d8e317c21d8c9b7d1c7 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 27 Apr 2026 17:03:18 +0200 Subject: [PATCH] test: drop 'text=' prefix from charlie locators charlie now treats bare strings as exact-match (was substring) and RegExp as the explicit fuzzy escape hatch. The 'text=' prefix has been removed and now throws a migration error from charlie. Made-with: Cursor --- test/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index 8dcabae..28ad143 100755 --- a/test/test.js +++ b/test/test.js @@ -22,10 +22,10 @@ describe('Application life cycle test', function () { } async function login(addr, pass) { - await goto(`https://${app.fqdn}/auth/sign_in`, 'text=Log in'); + await goto(`https://${app.fqdn}/auth/sign_in`, 'Log in'); await sendKeys('css=#user_email', addr); await sendKeys('css=#user_password', pass); - await click('text=Log in'); + await click('Log in'); } async function loginOidc() {