1 export class VideoUpdatePage {
3 async updateName (videoName: string) {
4 const nameInput = $('input#name')
6 await nameInput.waitForDisplayed()
7 await nameInput.clearValue()
8 await nameInput.setValue(videoName)
11 async validUpdate () {
12 const submitButton = await this.getSubmitButton()
14 return submitButton.click()
17 private getSubmitButton () {
18 return $('.submit-container .action-button')