]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/e2e/src/po/signup.po.ts
Fix local e2e tests
[github/Chocobozzz/PeerTube.git] / client / e2e / src / po / signup.po.ts
index 7917cdda7836b339fc8bc74df69d5aedfd57ffc2..84a7a184727d22604d8bb57600d4f157426ae472 100644 (file)
@@ -50,7 +50,7 @@ export class SignupPage {
     await $('#password').setValue(options.password || 'password')
 
     // Fix weird bug on firefox that "cannot scroll into view" when using just `setValue`
-    await $('#email').scrollIntoView(false)
+    await $('#email').scrollIntoView({ block: 'center' })
     await $('#email').waitForClickable()
     await $('#email').setValue(options.email || `${options.username}@example.com`)
   }