aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/e2e/src/po/login.po.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/e2e/src/po/login.po.ts b/client/e2e/src/po/login.po.ts
index 91bf46e30..bc1854dbc 100644
--- a/client/e2e/src/po/login.po.ts
+++ b/client/e2e/src/po/login.po.ts
@@ -20,18 +20,18 @@ export class LoginPage {
20 20
21 await $('form input[type=submit]').click() 21 await $('form input[type=submit]').click()
22 22
23 const menuToggle = $('.top-left-block span[role=button]')
24
25 if (this.isMobileDevice) { 23 if (this.isMobileDevice) {
26 await browser.pause(1000) 24 const menuToggle = $('.top-left-block span[role=button]')
25
26 await $('h2=Our content selection').waitForDisplayed()
27 27
28 await menuToggle.click() 28 await menuToggle.click()
29 }
30 29
31 await this.ensureIsLoggedInAs(username) 30 await this.ensureIsLoggedInAs(username)
32 31
33 if (this.isMobileDevice) {
34 await menuToggle.click() 32 await menuToggle.click()
33 } else {
34 await this.ensureIsLoggedInAs(username)
35 } 35 }
36 } 36 }
37 37