fix(examples): closes #1916 (#1934)

This commit is contained in:
Arjun Attam 2020-04-23 08:44:58 -07:00 committed by GitHub
parent b516ac4fb2
commit 51ed5c5b4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"`));
}