aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'client/e2e/src/utils')
-rw-r--r--client/e2e/src/utils/elements.ts7
-rw-r--r--client/e2e/src/utils/server.ts3
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 @@
1function getCheckbox (name: string) { 1async 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
5async function selectCustomSelect (id: string, valueLabel: string) { 8async 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 },