parent
3885833764
commit
c1f3cb101c
1 changed files with 16 additions and 0 deletions
16
cypress/integration/assignment_rule.js
Normal file
16
cypress/integration/assignment_rule.js
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
context("Assignment Rule", () => {
|
||||||
|
before(() => {
|
||||||
|
cy.login();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("Custom grid buttons work", () => {
|
||||||
|
cy.new_form("Assignment Rule");
|
||||||
|
cy.findByRole("button", { name: "All Days" }).should("be.visible").click();
|
||||||
|
cy.wait(2000);
|
||||||
|
cy.window()
|
||||||
|
.its("cur_frm")
|
||||||
|
.then((frm) => {
|
||||||
|
expect(frm.doc.assignment_days.length).to.equal(7);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
Loading…
Add table
Reference in a new issue