Files
raven-test/e2e/tests/regression/accounting-user/0900-notification-arrived.cy.js

15 lines
536 B
JavaScript

/// <reference types="cypress" />
describe("Tax code", () => {
it("should work", () => {
cy.ayLogin("accounting");
cy.get("[data-cy=notification]").click();
cy.url().should("include", "/home-notifications");
cy.contains("Object created");
//Going to assume this is a virgin run so test contract text should be there but not going to assume it's due to current run so not checking for cyid
//cy.contains(`${Cypress.config("cyid")}-test-contract`);
cy.contains('-test-contract');
});
});