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/suites-local/signup.e2e-spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 aaf5683f1..98dc469c9 100644 --- a/client/e2e/src/suites-local/signup.e2e-spec.ts +++ b/client/e2e/src/suites-local/signup.e2e-spec.ts @@ -243,8 +243,10 @@ describe('Signup', () => { let emailPort: number before(async () => { + const key = browser.options.baseUrl + '-emailPort' // FIXME: typings are wrong, get returns a promise - emailPort = await (browser.sharedStore.get(browser.options.baseUrl + '-emailPort') as unknown as Promise) + // FIXME: use * because the key is not properly escaped by the shared store when using get(key) + emailPort = (await (browser.sharedStore.get('*') as unknown as Promise))[key] await MockSMTPServer.Instance.collectEmails(emailPort, emails) }) -- cgit v1.2.3