aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/po/video-search.po.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/e2e/src/po/video-search.po.ts')
-rw-r--r--client/e2e/src/po/video-search.po.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/client/e2e/src/po/video-search.po.ts b/client/e2e/src/po/video-search.po.ts
new file mode 100644
index 000000000..5446718d1
--- /dev/null
+++ b/client/e2e/src/po/video-search.po.ts
@@ -0,0 +1,11 @@
1export class VideoSearchPage {
2
3 async search (search: string) {
4 await $('#search-video').setValue(search)
5 await $('my-header .icon-search').click()
6
7 await browser.waitUntil(() => {
8 return $('my-video-miniature').isDisplayed()
9 })
10 }
11}