diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-21 09:09:46 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-21 10:49:54 +0200 |
commit | 1db86422eb516acd23550f30536de4ebd8f0daea (patch) | |
tree | 909c01cf3f5903ba5d44f182d4988586ad8650c1 /client/e2e/src/utils | |
parent | 2b621ac0ebe83693bba6354b3482a03ba58143e7 (diff) | |
download | PeerTube-1db86422eb516acd23550f30536de4ebd8f0daea.tar.gz PeerTube-1db86422eb516acd23550f30536de4ebd8f0daea.tar.zst PeerTube-1db86422eb516acd23550f30536de4ebd8f0daea.zip |
Add E2E tests for signup
Diffstat (limited to 'client/e2e/src/utils')
-rw-r--r-- | client/e2e/src/utils/elements.ts | 7 | ||||
-rw-r--r-- | client/e2e/src/utils/server.ts | 3 |
2 files changed, 5 insertions, 5 deletions
diff --git a/client/e2e/src/utils/elements.ts b/client/e2e/src/utils/elements.ts index 3ffa5defd..9d6cfe673 100644 --- a/client/e2e/src/utils/elements.ts +++ b/client/e2e/src/utils/elements.ts | |||
@@ -1,5 +1,8 @@ | |||
1 | function getCheckbox (name: string) { | 1 | async function getCheckbox (name: string) { |
2 | return $(`my-peertube-checkbox input[id=${name}]`).parentElement() | 2 | const input = $(`my-peertube-checkbox input[id=${name}]`) |
3 | await input.waitForExist() | ||
4 | |||
5 | return input.parentElement() | ||
3 | } | 6 | } |
4 | 7 | ||
5 | async function selectCustomSelect (id: string, valueLabel: string) { | 8 | async function selectCustomSelect (id: string, valueLabel: string) { |
diff --git a/client/e2e/src/utils/server.ts b/client/e2e/src/utils/server.ts index a0c591630..140054794 100644 --- a/client/e2e/src/utils/server.ts +++ b/client/e2e/src/utils/server.ts | |||
@@ -18,9 +18,6 @@ function runServer (appInstance: string, config: any = {}) { | |||
18 | log: { | 18 | log: { |
19 | level: 'warn' | 19 | level: 'warn' |
20 | }, | 20 | }, |
21 | signup: { | ||
22 | enabled: false | ||
23 | }, | ||
24 | transcoding: { | 21 | transcoding: { |
25 | enabled: false | 22 | enabled: false |
26 | }, | 23 | }, |