aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/po/my-account.po.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/e2e/src/po/my-account.po.ts')
-rw-r--r--client/e2e/src/po/my-account.po.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/e2e/src/po/my-account.po.ts b/client/e2e/src/po/my-account.po.ts
index 222dbb569..5188eca11 100644
--- a/client/e2e/src/po/my-account.po.ts
+++ b/client/e2e/src/po/my-account.po.ts
@@ -24,7 +24,7 @@ export class MyAccountPage {
24 const nsfw = $('#nsfwPolicy') 24 const nsfw = $('#nsfwPolicy')
25 25
26 await nsfw.waitForDisplayed() 26 await nsfw.waitForDisplayed()
27 await nsfw.scrollIntoView(false) // Avoid issues with fixed header on firefox 27 await nsfw.scrollIntoView({ block: 'center' }) // Avoid issues with fixed header
28 await nsfw.waitForClickable() 28 await nsfw.waitForClickable()
29 29
30 await nsfw.selectByAttribute('value', newValue) 30 await nsfw.selectByAttribute('value', newValue)
@@ -36,7 +36,7 @@ export class MyAccountPage {
36 const p2p = await getCheckbox('p2pEnabled') 36 const p2p = await getCheckbox('p2pEnabled')
37 37
38 await p2p.waitForClickable() 38 await p2p.waitForClickable()
39 await p2p.scrollIntoView(false) // Avoid issues with fixed header on firefox 39 await p2p.scrollIntoView({ block: 'center' }) // Avoid issues with fixed header
40 40
41 await p2p.click() 41 await p2p.click()
42 42
@@ -47,7 +47,7 @@ export class MyAccountPage {
47 const submit = $('my-user-video-settings input[type=submit]') 47 const submit = $('my-user-video-settings input[type=submit]')
48 48
49 await submit.waitForClickable() 49 await submit.waitForClickable()
50 await submit.scrollIntoView(false) 50 await submit.scrollIntoView({ block: 'center' }) // Avoid issues with fixed header
51 await submit.click() 51 await submit.click()
52 } 52 }
53 53