From 5b94394a1a6d471f897d14ac62fe7bec5f9a74c2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 27 Feb 2023 10:44:32 +0100 Subject: Fix E2E with firefox --- client/e2e/src/suites-local/signup.e2e-spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/e2e/src/suites-local/signup.e2e-spec.ts') diff --git a/client/e2e/src/suites-local/signup.e2e-spec.ts b/client/e2e/src/suites-local/signup.e2e-spec.ts index 7c822a6e6..ad0cc218e 100644 --- a/client/e2e/src/suites-local/signup.e2e-spec.ts +++ b/client/e2e/src/suites-local/signup.e2e-spec.ts @@ -244,9 +244,9 @@ describe('Signup', () => { before(async () => { // FIXME: typings are wrong, get returns a promise - emailPort = await browser.sharedStore.get('emailPort') as unknown as number + emailPort = await (browser.sharedStore.get(browser.config.baseUrl + '-emailPort') as unknown as Promise) - MockSMTPServer.Instance.collectEmails(emailPort, emails) + await MockSMTPServer.Instance.collectEmails(emailPort, emails) }) describe('Direct registration', function () { @@ -404,7 +404,7 @@ describe('Signup', () => { }) }) - before(() => { + after(() => { MockSMTPServer.Instance.kill() }) }) -- cgit v1.2.3