parent
b516ac4fb2
commit
51ed5c5b4d
|
|
@ -49,6 +49,6 @@ const account = { login: '', password: '' };
|
||||||
})();
|
})();
|
||||||
|
|
||||||
const verifyIsLoggedIn = async (page) => {
|
const verifyIsLoggedIn = async (page) => {
|
||||||
// Find element through text value and assert it exists.
|
await page.click('summary[aria-label="View profile and more"]')
|
||||||
assert(await page.$('text="Create repository"'));
|
assert(await page.$(`text="Your profile"`));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue