From 2e03d65032378bccf7d4fc47d4410ace67073022 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 21 Jul 2020 09:38:26 +0200 Subject: [PATCH] Fix E2E tests --- client/e2e/local-protractor.conf.js | 2 +- client/e2e/src/po/video-update.po.ts | 2 +- client/e2e/src/po/video-upload.po.ts | 2 +- .../video-add-components/video-upload.component.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/e2e/local-protractor.conf.js b/client/e2e/local-protractor.conf.js index a4990fcef..16f039025 100644 --- a/client/e2e/local-protractor.conf.js +++ b/client/e2e/local-protractor.conf.js @@ -12,7 +12,7 @@ exports.config = { capabilities: { 'browserName': 'firefox', 'moz:firefoxOptions': { - binary: '/usr/bin/firefox-esr', + binary: '/usr/bin/firefox-developer-edition', // args: ["-headless"], log: { "level": "info" // default is "info" diff --git a/client/e2e/src/po/video-update.po.ts b/client/e2e/src/po/video-update.po.ts index 4de3b1b1d..752741378 100644 --- a/client/e2e/src/po/video-update.po.ts +++ b/client/e2e/src/po/video-update.po.ts @@ -15,6 +15,6 @@ export class VideoUpdatePage { } private getSubmitButton () { - return element(by.css('.submit-button:not(.disabled) input')) + return element(by.css('.submit-container .action-button')) } } diff --git a/client/e2e/src/po/video-upload.po.ts b/client/e2e/src/po/video-upload.po.ts index f79927abc..9eb1e31c1 100644 --- a/client/e2e/src/po/video-upload.po.ts +++ b/client/e2e/src/po/video-upload.po.ts @@ -40,6 +40,6 @@ export class VideoUploadPage { } private getSecondStepSubmitButton () { - return element(by.css('.submit-button:not(.disabled) input')) + return element(by.css('.submit-button:not(.disabled)')) } } diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html index 8af1687e6..95b6628f6 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html +++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html @@ -79,7 +79,7 @@
Publish will be available when upload is finished
-