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
This commit is contained in:
Girish Ramakrishnan
2026-04-27 17:03:18 +02:00
parent 27dfee230e
commit 45d54349ad
+2 -2
View File
@@ -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() {