This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/// <reference types="cypress" />
|
||||
describe("Notify subscribe", () => {
|
||||
it("should work", () => {
|
||||
cy.ayLogin("accounting");
|
||||
cy.aySetTestableUserOptions();
|
||||
cy.get("[data-cy=navicon]").click();
|
||||
cy.get("[data-cy=home]").click();
|
||||
cy.get("[data-cy=navicon]").click();
|
||||
cy.get("[data-cy='nav/home-notify-subscriptions']").click();
|
||||
cy.url().should("include", "/home-notify-subscriptions");
|
||||
cy.get("[data-cy='notify-subscriptions:new']:first").click();
|
||||
cy.url().should("include", "/home-notify-subscriptions/0");
|
||||
cy.ayChooseVSelect("eventType", "Object created");
|
||||
cy.ayChooseVSelect("ayaType", "Contract");
|
||||
cy.get("[data-cy='notify-subscription:save'] > .v-btn__content").click();
|
||||
//confirm
|
||||
cy.get("[data-cy=navicon]").click();
|
||||
cy.get("[data-cy='nav/home-notify-subscriptions']").click();
|
||||
cy.url().should("include", "/home-notify-subscriptions");
|
||||
cy.contains("Object created");
|
||||
cy.contains("Contract");
|
||||
cy.contains("Deliver in application");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user