Tests: Update page model
This commit is contained in:
parent
fb0800a639
commit
a0c32e6618
|
@ -2,6 +2,7 @@ import { Selector, t } from "testcafe";
|
|||
|
||||
export default class Page {
|
||||
constructor() {
|
||||
this.changePasswordAction = Selector("button.action-change-password");
|
||||
this.currentPassword = Selector(".input-current-password input", { timeout: 15000 });
|
||||
this.newPassword = Selector(".input-new-password input", { timeout: 15000 });
|
||||
this.retypePassword = Selector(".input-retype-password input", { timeout: 15000 });
|
||||
|
|
|
@ -2,6 +2,7 @@ import { Selector, t } from "testcafe";
|
|||
|
||||
export default class Page {
|
||||
constructor() {
|
||||
this.generalTab = Selector("#tab-settings_general");
|
||||
this.languageInput = Selector(".input-language input");
|
||||
this.uploadCheckbox = Selector(".input-upload input");
|
||||
this.downloadCheckbox = Selector(".input-download input");
|
||||
|
@ -36,6 +37,7 @@ export default class Page {
|
|||
this.readOnlyCheckbox = Selector("label").withText("Read-Only Mode");
|
||||
|
||||
this.accountTab = Selector("#tab-settings_account");
|
||||
this.changePasswordAction = Selector("button.action-change-password");
|
||||
this.servicesTab = Selector("#tab-settings_services");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue