aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/po/my-account.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-11-24 10:49:12 +0100
committerChocobozzz <me@florianbigard.com>2021-11-24 10:49:12 +0100
commit450de91e22ba1388e14e12ada875c94e0c38f5d3 (patch)
treeca00d4e5ec1915f2bd336103d84c8dac86a34273 /client/e2e/src/po/my-account.ts
parent17e2705f646f00346bfdbb663876b0f022eaeee3 (diff)
downloadPeerTube-450de91e22ba1388e14e12ada875c94e0c38f5d3.tar.gz
PeerTube-450de91e22ba1388e14e12ada875c94e0c38f5d3.tar.zst
PeerTube-450de91e22ba1388e14e12ada875c94e0c38f5d3.zip
Fix E2E tests
Diffstat (limited to 'client/e2e/src/po/my-account.ts')
-rw-r--r--client/e2e/src/po/my-account.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/e2e/src/po/my-account.ts b/client/e2e/src/po/my-account.ts
index 8b5e79b5e..b51614fd9 100644
--- a/client/e2e/src/po/my-account.ts
+++ b/client/e2e/src/po/my-account.ts
@@ -39,7 +39,7 @@ export class MyAccountPage {
39 39
40 await container.$('.dropdown-toggle').click() 40 await container.$('.dropdown-toggle').click()
41 41
42 const dropdownMenu = () => container.$('.dropdown-menu .dropdown-item:nth-child(2)') 42 const dropdownMenu = () => container.$$('.dropdown-menu .dropdown-item')[1]
43 43
44 await dropdownMenu().waitForDisplayed() 44 await dropdownMenu().waitForDisplayed()
45 return dropdownMenu().click() 45 return dropdownMenu().click()