2022-04-14 14:42:48 +02:00
|
|
|
import { Selector, t } from "testcafe";
|
|
|
|
|
|
|
|
export default class Page {
|
|
|
|
constructor() {
|
|
|
|
this.dialogClose = Selector("button.action-close", { timeout: 15000 });
|
|
|
|
this.dialogSave = Selector("button.action-save", { timeout: 15000 });
|
|
|
|
this.addLink = Selector(".action-add-link", { timeout: 15000 });
|
|
|
|
this.deleteLink = Selector(".action-delete", { timeout: 15000 });
|
|
|
|
this.expandLink = Selector("div.v-expansion-panel__header__icon", { timeout: 15000 });
|
|
|
|
this.linkUrl = Selector(".action-url", { timeout: 15000 });
|
|
|
|
this.linkSecretInput = Selector(".input-secret input", { timeout: 15000 });
|
2022-11-15 15:08:12 +01:00
|
|
|
this.linkExpireInput = Selector(".input-expires div.v-select__selections", { timeout: 15000 });
|
2022-04-14 14:42:48 +02:00
|
|
|
}
|
|
|
|
}
|