aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/e2e/src/po/video-search.po.ts
blob: 5446718d1cbbc33fc0c3a50d16292eeabd6d397c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                  
export class VideoSearchPage {

  async search (search: string) {
    await $('#search-video').setValue(search)
    await $('my-header .icon-search').click()

    await browser.waitUntil(() => {
      return $('my-video-miniature').isDisplayed()
    })
  }
}