From a41b944398af03ad7594380ad1cb7a978f6417cb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 25 May 2023 11:41:29 +0200 Subject: Fix local e2e tests --- client/e2e/src/po/signup.po.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/e2e/src/po/signup.po.ts') 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 { 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`) } -- cgit v1.2.3