diff options
Diffstat (limited to 'client/e2e/src/suites-local')
-rw-r--r-- | client/e2e/src/suites-local/signup.e2e-spec.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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', () => { | |||
244 | 244 | ||
245 | before(async () => { | 245 | before(async () => { |
246 | // FIXME: typings are wrong, get returns a promise | 246 | // FIXME: typings are wrong, get returns a promise |
247 | emailPort = await browser.sharedStore.get('emailPort') as unknown as number | 247 | emailPort = await (browser.sharedStore.get(browser.config.baseUrl + '-emailPort') as unknown as Promise<number>) |
248 | 248 | ||
249 | MockSMTPServer.Instance.collectEmails(emailPort, emails) | 249 | await MockSMTPServer.Instance.collectEmails(emailPort, emails) |
250 | }) | 250 | }) |
251 | 251 | ||
252 | describe('Direct registration', function () { | 252 | describe('Direct registration', function () { |
@@ -404,7 +404,7 @@ describe('Signup', () => { | |||
404 | }) | 404 | }) |
405 | }) | 405 | }) |
406 | 406 | ||
407 | before(() => { | 407 | after(() => { |
408 | MockSMTPServer.Instance.kill() | 408 | MockSMTPServer.Instance.kill() |
409 | }) | 409 | }) |
410 | }) | 410 | }) |