feat(core): make password sigin default if user has one (#5577)

This commit is contained in:
liuyi
2024-01-17 11:13:58 +00:00
parent bf88b6edaa
commit b9f20877d0
12 changed files with 170 additions and 71 deletions

View File

@@ -170,9 +170,6 @@ export async function loginUser(
await page.getByTestId('continue-login-button').click({
delay: 200,
});
await page.getByTestId('sign-in-with-password').click({
delay: 200,
});
await page.getByTestId('password-input').fill('123456');
if (config?.beforeLogin) {
await config.beforeLogin();