Fix E2E tests

This commit is contained in:
Chocobozzz 2020-07-21 09:38:26 +02:00
parent 2170f1db6e
commit 2e03d65032
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
4 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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'))
}
}

View File

@ -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)'))
}
}

View File

@ -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>