Skip to content

Commit

Permalink
Fix failing e2e tests (#3615)
Browse files Browse the repository at this point in the history
  • Loading branch information
annemirasol authored Nov 19, 2024
1 parent 733fad6 commit 3e56eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/utils/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export async function login( page, username, password, retries = 3 ) {
if ( await page.url().includes( 'wp-login.php' ) ) {
await page.fill( 'input[name="log"]', username );
await page.fill( 'input[name="pwd"]', password );
await page.click( 'text=Log In' );
await page.click( 'input[value="Log In"]' );
}
await page.waitForLoadState( 'networkidle' );

Expand Down

0 comments on commit 3e56eca

Please sign in to comment.