diff options
Diffstat (limited to 'client/e2e/src/utils/elements.ts')
-rw-r--r-- | client/e2e/src/utils/elements.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/e2e/src/utils/elements.ts b/client/e2e/src/utils/elements.ts new file mode 100644 index 000000000..cadc46cce --- /dev/null +++ b/client/e2e/src/utils/elements.ts | |||
@@ -0,0 +1,7 @@ | |||
1 | function clickOnCheckbox (name: string) { | ||
2 | return $(`my-peertube-checkbox[inputname=${name}] label`).click() | ||
3 | } | ||
4 | |||
5 | export { | ||
6 | clickOnCheckbox | ||
7 | } | ||