Tests: Add page model for album dialog

This commit is contained in:
theresa 2022-01-25 11:37:35 +01:00
parent dd8a242710
commit 812ffac1e3

View file

@ -0,0 +1,12 @@
import { Selector, t } from "testcafe";
export default class Page {
constructor() {
this.dialogCancel = Selector(".action-cancel", { timeout: 15000 });
this.dialogSave = Selector(".action-confirm", { timeout: 15000 });
this.title = Selector(".input-title input", { timeout: 15000 });
this.description = Selector(".input-description textarea", { timeout: 15000 });
this.category = Selector(".input-category input", { timeout: 15000 });
this.location = Selector(".input-location input", { timeout: 15000 });
}
}