diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-27 10:44:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-27 11:58:35 +0100 |
commit | 5b94394a1a6d471f897d14ac62fe7bec5f9a74c2 (patch) | |
tree | 2bc32ce7f620968f6eb5864f01b29af5a8869231 /client/e2e/src/suites-local/signup.e2e-spec.ts | |
parent | 2be1fecc99dbc788c01d8dea381126212960f8a1 (diff) | |
download | PeerTube-5b94394a1a6d471f897d14ac62fe7bec5f9a74c2.tar.gz PeerTube-5b94394a1a6d471f897d14ac62fe7bec5f9a74c2.tar.zst PeerTube-5b94394a1a6d471f897d14ac62fe7bec5f9a74c2.zip |
Fix E2E with firefox
Diffstat (limited to 'client/e2e/src/suites-local/signup.e2e-spec.ts')
-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 | }) |