Skip to content

Commit 1065708

Browse files
Fix open login page method
1 parent 8b4db6e commit 1065708

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

e2e/pages/login.po/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ class LogIn extends BasePage {
1111

1212
async navigateTo() {
1313
await browser.get(baseUrl);
14+
if (await this.menuBar.isLogged()) {
15+
await this.menuBar.clickLogOut();
16+
}
1417
return this.waitForIsOpened();
1518
}
1619

0 commit comments

Comments
 (0)