Fix E2E tests

pull/4042/head
Chocobozzz 2021-05-05 09:05:46 +02:00
parent b76db2ffb4
commit 494e60804d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ export class VideoWatchPage {
const dropdown = element(by.css('my-video-actions-dropdown .action-button')) const dropdown = element(by.css('my-video-actions-dropdown .action-button'))
await dropdown.click() 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) { for (const item of items) {
const href = await item.getAttribute('href') const href = await item.getAttribute('href')