Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix E2E tests

Chocobozzz2e03d6503237
diff --git a/client/e2e/local-protractor.conf.js b/client/e2e/local-protractor.conf.js
index a4990fcefc..16f0390255 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 4de3b1b1d2..752741378a 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 f79927abcd..9eb1e31c1d 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 8af1687e6b..95b6628f6c 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 @@
<div class="submit-container">
<div i18n *ngIf="videoUploaded === false" class="message-submit">Publish will be available when upload is finished</div>
- <my-button className="orange-button" i18n-label label="Publish" icon="circle-tick"
+ <my-button className="submit-button orange-button" i18n-label label="Publish" icon="circle-tick"
(click)="updateSecondStep()" (keydown.enter)="updateSecondStep()"
[disabled]="isPublishingButtonDisabled()"
></my-button>