diff options
Diffstat (limited to 'client/e2e/src/utils/elements.ts')
-rw-r--r-- | client/e2e/src/utils/elements.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/e2e/src/utils/elements.ts b/client/e2e/src/utils/elements.ts index 315718879..3ffa5defd 100644 --- a/client/e2e/src/utils/elements.ts +++ b/client/e2e/src/utils/elements.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | function getCheckbox (name: string) { | 1 | function getCheckbox (name: string) { |
2 | return $(`my-peertube-checkbox[inputname=${name}] label`) | 2 | return $(`my-peertube-checkbox input[id=${name}]`).parentElement() |
3 | } | 3 | } |
4 | 4 | ||
5 | async function selectCustomSelect (id: string, valueLabel: string) { | 5 | async function selectCustomSelect (id: string, valueLabel: string) { |