diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-25 11:41:29 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-25 11:41:29 +0200 |
commit | a41b944398af03ad7594380ad1cb7a978f6417cb (patch) | |
tree | b90c6304143463233f477a4511afa67485f17fa3 /client/e2e/src/po/admin-config.po.ts | |
parent | 22b34b2d7570392a5623cc6aa97a935a03399591 (diff) | |
download | PeerTube-a41b944398af03ad7594380ad1cb7a978f6417cb.tar.gz PeerTube-a41b944398af03ad7594380ad1cb7a978f6417cb.tar.zst PeerTube-a41b944398af03ad7594380ad1cb7a978f6417cb.zip |
Fix local e2e tests
Diffstat (limited to 'client/e2e/src/po/admin-config.po.ts')
-rw-r--r-- | client/e2e/src/po/admin-config.po.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/e2e/src/po/admin-config.po.ts b/client/e2e/src/po/admin-config.po.ts index 510037ddd..3cf9b17d9 100644 --- a/client/e2e/src/po/admin-config.po.ts +++ b/client/e2e/src/po/admin-config.po.ts | |||
@@ -17,7 +17,7 @@ export class AdminConfigPage { | |||
17 | const elem = $('#instanceDefaultNSFWPolicy') | 17 | const elem = $('#instanceDefaultNSFWPolicy') |
18 | 18 | ||
19 | await elem.waitForDisplayed() | 19 | await elem.waitForDisplayed() |
20 | await elem.scrollIntoView(false) // Avoid issues with fixed header on firefox | 20 | await elem.scrollIntoView({ block: 'center' }) // Avoid issues with fixed header |
21 | await elem.waitForClickable() | 21 | await elem.waitForClickable() |
22 | 22 | ||
23 | return elem.selectByAttribute('value', newValue) | 23 | return elem.selectByAttribute('value', newValue) |