aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-07-21 09:38:26 +0200
committerChocobozzz <me@florianbigard.com>2020-07-21 09:38:26 +0200
commit2e03d65032378bccf7d4fc47d4410ace67073022 (patch)
tree78abc2569e11805455607663cafd3c53510c58ec /client
parent2170f1db6ee40531f9d08b711d8b7b00254c0031 (diff)
downloadPeerTube-2e03d65032378bccf7d4fc47d4410ace67073022.tar.gz
PeerTube-2e03d65032378bccf7d4fc47d4410ace67073022.tar.zst
PeerTube-2e03d65032378bccf7d4fc47d4410ace67073022.zip
Fix E2E tests
Diffstat (limited to 'client')
-rw-r--r--client/e2e/local-protractor.conf.js2
-rw-r--r--client/e2e/src/po/video-update.po.ts2
-rw-r--r--client/e2e/src/po/video-upload.po.ts2
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html2
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 = {
12 capabilities: { 12 capabilities: {
13 'browserName': 'firefox', 13 'browserName': 'firefox',
14 'moz:firefoxOptions': { 14 'moz:firefoxOptions': {
15 binary: '/usr/bin/firefox-esr', 15 binary: '/usr/bin/firefox-developer-edition',
16 // args: ["-headless"], 16 // args: ["-headless"],
17 log: { 17 log: {
18 "level": "info" // default is "info" 18 "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 {
15 } 15 }
16 16
17 private getSubmitButton () { 17 private getSubmitButton () {
18 return element(by.css('.submit-button:not(.disabled) input')) 18 return element(by.css('.submit-container .action-button'))
19 } 19 }
20} 20}
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 {
40 } 40 }
41 41
42 private getSecondStepSubmitButton () { 42 private getSecondStepSubmitButton () {
43 return element(by.css('.submit-button:not(.disabled) input')) 43 return element(by.css('.submit-button:not(.disabled)'))
44 } 44 }
45} 45}
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 @@
79 <div class="submit-container"> 79 <div class="submit-container">
80 <div i18n *ngIf="videoUploaded === false" class="message-submit">Publish will be available when upload is finished</div> 80 <div i18n *ngIf="videoUploaded === false" class="message-submit">Publish will be available when upload is finished</div>
81 81
82 <my-button className="orange-button" i18n-label label="Publish" icon="circle-tick" 82 <my-button className="submit-button orange-button" i18n-label label="Publish" icon="circle-tick"
83 (click)="updateSecondStep()" (keydown.enter)="updateSecondStep()" 83 (click)="updateSecondStep()" (keydown.enter)="updateSecondStep()"
84 [disabled]="isPublishingButtonDisabled()" 84 [disabled]="isPublishingButtonDisabled()"
85 ></my-button> 85 ></my-button>