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:
+2
-2
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user