diff options
Diffstat (limited to 'client/e2e')
-rw-r--r-- | client/e2e/src/po/login.po.ts | 4 | ||||
-rw-r--r-- | client/e2e/src/suites-local/signup.e2e-spec.ts | 2 | ||||
-rw-r--r-- | client/e2e/tsconfig.json | 2 | ||||
-rw-r--r-- | client/e2e/wdio.main.conf.ts | 1 |
4 files changed, 4 insertions, 5 deletions
diff --git a/client/e2e/src/po/login.po.ts b/client/e2e/src/po/login.po.ts index 30469cf1b..e2362ef51 100644 --- a/client/e2e/src/po/login.po.ts +++ b/client/e2e/src/po/login.po.ts | |||
@@ -94,8 +94,8 @@ export class LoginPage { | |||
94 | } | 94 | } |
95 | 95 | ||
96 | private getSuffix () { | 96 | private getSuffix () { |
97 | return browser.config.baseUrl | 97 | return browser.options.baseUrl |
98 | ? browser.config.baseUrl.slice(-1) | 98 | ? browser.options.baseUrl.slice(-1) |
99 | : '1' | 99 | : '1' |
100 | } | 100 | } |
101 | } | 101 | } |
diff --git a/client/e2e/src/suites-local/signup.e2e-spec.ts b/client/e2e/src/suites-local/signup.e2e-spec.ts index ad0cc218e..aaf5683f1 100644 --- a/client/e2e/src/suites-local/signup.e2e-spec.ts +++ b/client/e2e/src/suites-local/signup.e2e-spec.ts | |||
@@ -244,7 +244,7 @@ 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(browser.config.baseUrl + '-emailPort') as unknown as Promise<number>) | 247 | emailPort = await (browser.sharedStore.get(browser.options.baseUrl + '-emailPort') as unknown as Promise<number>) |
248 | 248 | ||
249 | await MockSMTPServer.Instance.collectEmails(emailPort, emails) | 249 | await MockSMTPServer.Instance.collectEmails(emailPort, emails) |
250 | }) | 250 | }) |
diff --git a/client/e2e/tsconfig.json b/client/e2e/tsconfig.json index c72e1ed4c..c62ffa931 100644 --- a/client/e2e/tsconfig.json +++ b/client/e2e/tsconfig.json | |||
@@ -8,7 +8,7 @@ | |||
8 | "target": "es5", | 8 | "target": "es5", |
9 | "types": [ | 9 | "types": [ |
10 | "node", | 10 | "node", |
11 | "webdriverio/async", | 11 | "@wdio/globals/types", |
12 | "@wdio/mocha-framework", | 12 | "@wdio/mocha-framework", |
13 | "expect-webdriverio" | 13 | "expect-webdriverio" |
14 | ] | 14 | ] |
diff --git a/client/e2e/wdio.main.conf.ts b/client/e2e/wdio.main.conf.ts index 0a10ee9ca..5ae7fa18b 100644 --- a/client/e2e/wdio.main.conf.ts +++ b/client/e2e/wdio.main.conf.ts | |||
@@ -119,7 +119,6 @@ export const config = { | |||
119 | }, | 119 | }, |
120 | 120 | ||
121 | before: function () { | 121 | before: function () { |
122 | require('expect-webdriverio') | ||
123 | require('./src/commands/upload') | 122 | require('./src/commands/upload') |
124 | } | 123 | } |
125 | } as Partial<WebdriverIO.Config> | 124 | } as Partial<WebdriverIO.Config> |