You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

assignment_rule.js 365 B

1 vuosi sitten
12345678910111213141516
  1. context("Assignment Rule", () => {
  2. before(() => {
  3. cy.login();
  4. });
  5. it("Custom grid buttons work", () => {
  6. cy.new_form("Assignment Rule");
  7. cy.findByRole("button", { name: "All Days" }).should("be.visible").click();
  8. cy.wait(2000);
  9. cy.window()
  10. .its("cur_frm")
  11. .then((frm) => {
  12. expect(frm.doc.assignment_days.length).to.equal(7);
  13. });
  14. });
  15. });