Fix E2E tests

parent 2170f1db
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment