From 494e60804d15dfe1675d0390c8a7317911fd643f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 5 May 2021 09:05:46 +0200 Subject: [PATCH] Fix E2E tests --- client/e2e/src/po/video-watch.po.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/e2e/src/po/video-watch.po.ts b/client/e2e/src/po/video-watch.po.ts index fb9c3a000..b41fe0882 100644 --- a/client/e2e/src/po/video-watch.po.ts +++ b/client/e2e/src/po/video-watch.po.ts @@ -86,7 +86,7 @@ export class VideoWatchPage { const dropdown = element(by.css('my-video-actions-dropdown .action-button')) await dropdown.click() - const items: ElementFinder[] = await element.all(by.css('my-video-actions-dropdown .dropdown-menu .dropdown-item')) + const items: ElementFinder[] = await element.all(by.css('.dropdown-menu.show .dropdown-item')) for (const item of items) { const href = await item.getAttribute('href')