photoprism/frontend/tests/acceptance/page-model/dialog-share.js
2022-07-14 10:19:04 +02:00

14 lines
698 B
JavaScript

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 });
this.linkExpireInput = Selector(".input-expires input", { timeout: 15000 });
}
}