diff --git a/sitespeed.io/login.js b/sitespeed.io/login.js index 484edaab485..d4cd41f8f91 100644 --- a/sitespeed.io/login.js +++ b/sitespeed.io/login.js @@ -18,9 +18,5 @@ module.exports = async function (context, commands) { await commands.addText.byName("admin", "username"); await commands.addText.byName("test", "password"); await commands.click.bySelector("button.p-button--positive"); - await commands.wait.bySelector( - "[data-testid='section-header-title-spinner']", - TIMEOUT - ); - await commands.wait.byXpath("//a//span[text()='admin']"); + await commands.wait.byXpath("//a//span[text()='admin']", TIMEOUT); };