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/signup.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/signup.po.ts')
-rw-r--r-- | client/e2e/src/po/signup.po.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/e2e/src/po/signup.po.ts b/client/e2e/src/po/signup.po.ts index 7917cdda7..84a7a1847 100644 --- a/client/e2e/src/po/signup.po.ts +++ b/client/e2e/src/po/signup.po.ts | |||
@@ -50,7 +50,7 @@ export class SignupPage { | |||
50 | await $('#password').setValue(options.password || 'password') | 50 | await $('#password').setValue(options.password || 'password') |
51 | 51 | ||
52 | // Fix weird bug on firefox that "cannot scroll into view" when using just `setValue` | 52 | // Fix weird bug on firefox that "cannot scroll into view" when using just `setValue` |
53 | await $('#email').scrollIntoView(false) | 53 | await $('#email').scrollIntoView({ block: 'center' }) |
54 | await $('#email').waitForClickable() | 54 | await $('#email').waitForClickable() |
55 | await $('#email').setValue(options.email || `${options.username}@example.com`) | 55 | await $('#email').setValue(options.email || `${options.username}@example.com`) |
56 | } | 56 | } |