aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/po/app.po.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-20 15:36:00 +0200
committerChocobozzz <me@florianbigard.com>2021-04-20 15:36:00 +0200
commit51b66ea7cb39f075f4deb8ea92ba70f3be289769 (patch)
tree62c60473bcec76c44ebbb3b52e762eeaafc8beb3 /client/e2e/src/po/app.po.ts
parent9929fbd6f4e209346cd31d05888417a94949da84 (diff)
downloadPeerTube-51b66ea7cb39f075f4deb8ea92ba70f3be289769.tar.gz
PeerTube-51b66ea7cb39f075f4deb8ea92ba70f3be289769.tar.zst
PeerTube-51b66ea7cb39f075f4deb8ea92ba70f3be289769.zip
Fix E2E tests
Diffstat (limited to 'client/e2e/src/po/app.po.ts')
-rw-r--r--client/e2e/src/po/app.po.ts16
1 files changed, 0 insertions, 16 deletions
diff --git a/client/e2e/src/po/app.po.ts b/client/e2e/src/po/app.po.ts
deleted file mode 100644
index 3ed65399e..000000000
--- a/client/e2e/src/po/app.po.ts
+++ /dev/null
@@ -1,16 +0,0 @@
1import { browser, by, element } from 'protractor'
2
3export class AppPage {
4
5 async closeWelcomeModal () {
6 const firstHandle = await browser.getWindowHandle()
7
8 if (await element(by.css('.configure-instance-button')).isPresent() === false) return
9
10 await element(by.css('.configure-instance-button')).click()
11
12 await browser.sleep(5000)
13
14 await browser.switchTo().window(firstHandle)
15 }
16}