Skip to content

Commit

Permalink
remove title spinner await
Browse files Browse the repository at this point in the history
  • Loading branch information
petermakowski committed Feb 5, 2024
1 parent a5999dd commit d37b7d3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sitespeed.io/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

0 comments on commit d37b7d3

Please sign in to comment.