Fix E2E tests
This commit is contained in:
parent
2170f1db6e
commit
2e03d65032
|
@ -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"
|
||||
|
|
|
@ -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'))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)'))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue