diff options
Diffstat (limited to 'client/e2e/src/suites-local/signup.e2e-spec.ts')
-rw-r--r-- | client/e2e/src/suites-local/signup.e2e-spec.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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', () => { | |||
243 | let emailPort: number | 243 | let emailPort: number |
244 | 244 | ||
245 | before(async () => { | 245 | before(async () => { |
246 | const key = browser.options.baseUrl + '-emailPort' | ||
246 | // FIXME: typings are wrong, get returns a promise | 247 | // FIXME: typings are wrong, get returns a promise |
247 | emailPort = await (browser.sharedStore.get(browser.options.baseUrl + '-emailPort') as unknown as Promise<number>) | 248 | // FIXME: use * because the key is not properly escaped by the shared store when using get(key) |
249 | emailPort = (await (browser.sharedStore.get('*') as unknown as Promise<number>))[key] | ||
248 | 250 | ||
249 | await MockSMTPServer.Instance.collectEmails(emailPort, emails) | 251 | await MockSMTPServer.Instance.collectEmails(emailPort, emails) |
250 | }) | 252 | }) |