Skip to content

Commit

Permalink
fix(examples): closes #1916 (#1934)
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunattam authored Apr 23, 2020
1 parent b516ac4 commit 51ed5c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ const account = { login: '', password: '' };
})();

const verifyIsLoggedIn = async (page) => {
// Find element through text value and assert it exists.
assert(await page.$('text="Create repository"'));
await page.click('summary[aria-label="View profile and more"]')
assert(await page.$(`text="Your profile"`));
}

0 comments on commit 51ed5c5

Please sign in to comment.