aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/po/video-upload.po.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-09-03 10:27:04 +0200
committerChocobozzz <me@florianbigard.com>2021-09-03 16:35:18 +0200
commit6d210220be0875d63461829d83c6e3a59d05cf7a (patch)
tree60ec5b596ef06295b70ebb553920a39b549e0f13 /client/e2e/src/po/video-upload.po.ts
parent2ede07153ce0282b116345dfee09bff902355a75 (diff)
downloadPeerTube-6d210220be0875d63461829d83c6e3a59d05cf7a.tar.gz
PeerTube-6d210220be0875d63461829d83c6e3a59d05cf7a.tar.zst
PeerTube-6d210220be0875d63461829d83c6e3a59d05cf7a.zip
Fix NSFW filter and add tests
Diffstat (limited to 'client/e2e/src/po/video-upload.po.ts')
-rw-r--r--client/e2e/src/po/video-upload.po.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/e2e/src/po/video-upload.po.ts b/client/e2e/src/po/video-upload.po.ts
index 34f916b55..dd437c390 100644
--- a/client/e2e/src/po/video-upload.po.ts
+++ b/client/e2e/src/po/video-upload.po.ts
@@ -1,4 +1,5 @@
1import { join } from 'path' 1import { join } from 'path'
2import { clickOnCheckbox } from '../utils'
2 3
3export class VideoUploadPage { 4export class VideoUploadPage {
4 async navigateTo () { 5 async navigateTo () {
@@ -30,6 +31,10 @@ export class VideoUploadPage {
30 }) 31 })
31 } 32 }
32 33
34 setAsNSFW () {
35 return clickOnCheckbox('nsfw')
36 }
37
33 async validSecondUploadStep (videoName: string) { 38 async validSecondUploadStep (videoName: string) {
34 const nameInput = $('input#name') 39 const nameInput = $('input#name')
35 await nameInput.clearValue() 40 await nameInput.clearValue()