Tests: Add page model for album dialog
This commit is contained in:
parent
dd8a242710
commit
812ffac1e3
1 changed files with 12 additions and 0 deletions
12
frontend/tests/page-model/dialog-album.js
Normal file
12
frontend/tests/page-model/dialog-album.js
Normal 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 });
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue