mirror of https://github.com/Chocobozzz/PeerTube
Fix E2E tests
parent
b76db2ffb4
commit
494e60804d
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue