diff --git a/packages/e2e-test-utils/src/create-user.js b/packages/e2e-test-utils/src/create-user.js index 63fdcee42ca578..5b6b2a52ae7b0d 100644 --- a/packages/e2e-test-utils/src/create-user.js +++ b/packages/e2e-test-utils/src/create-user.js @@ -27,7 +27,7 @@ export async function createUser( ) { await switchUserToAdmin(); await visitAdminPage( 'user-new.php' ); - + await page.waitForSelector( '#user_login', { visible: true } ); await page.type( '#user_login', username ); await page.type( '#email', snakeCase( username ) + '@example.com' ); if ( firstName ) {