Fix E2E tests
This commit is contained in:
parent
2170f1db6e
commit
2e03d65032
|
@ -12,7 +12,7 @@ exports.config = {
|
||||||
capabilities: {
|
capabilities: {
|
||||||
'browserName': 'firefox',
|
'browserName': 'firefox',
|
||||||
'moz:firefoxOptions': {
|
'moz:firefoxOptions': {
|
||||||
binary: '/usr/bin/firefox-esr',
|
binary: '/usr/bin/firefox-developer-edition',
|
||||||
// args: ["-headless"],
|
// args: ["-headless"],
|
||||||
log: {
|
log: {
|
||||||
"level": "info" // default is "info"
|
"level": "info" // default is "info"
|
||||||
|
|
|
@ -15,6 +15,6 @@ export class VideoUpdatePage {
|
||||||
}
|
}
|
||||||
|
|
||||||
private getSubmitButton () {
|
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 () {
|
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 class="submit-container">
|
||||||
<div i18n *ngIf="videoUploaded === false" class="message-submit">Publish will be available when upload is finished</div>
|
<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()"
|
(click)="updateSecondStep()" (keydown.enter)="updateSecondStep()"
|
||||||
[disabled]="isPublishingButtonDisabled()"
|
[disabled]="isPublishingButtonDisabled()"
|
||||||
></my-button>
|
></my-button>
|
||||||
|
|
Loading…
Reference in New Issue