import { join } from 'path'
-import { clickOnCheckbox } from '../utils'
+import { getCheckbox, selectCustomSelect } from '../utils'
export class VideoUploadPage {
async navigateTo () {
}
setAsNSFW () {
- return clickOnCheckbox('nsfw')
+ return getCheckbox('nsfw').click()
}
async validSecondUploadStep (videoName: string) {
})
}
+ setAsPublic () {
+ return selectCustomSelect('privacy', 'Public')
+ }
+
private getSecondStepSubmitButton () {
return $('.submit-container my-button')
}