This commit is contained in:
20
e2e/tests/regression/accounting-user/000-setup.js
Normal file
20
e2e/tests/regression/accounting-user/000-setup.js
Normal file
@@ -0,0 +1,20 @@
|
||||
/// <reference types="cypress" />
|
||||
describe("When Accounting user logs in", () => {
|
||||
it("should set up accounting block user options", () => {
|
||||
cy.ayLogin("accounting");
|
||||
|
||||
//open nav pane
|
||||
cy.get("[data-cy=navicon]").click();
|
||||
cy.contains("- Accounting"); //part of name displayed at top
|
||||
|
||||
//USER OPTIONS
|
||||
cy.get("[data-cy=home]").click();
|
||||
|
||||
cy.get("[data-cy='nav/home-user-settings']").click();
|
||||
cy.url().should("include", "/home-user-settings");
|
||||
cy.get("[data-cy='nativeDateTimeInput']").check({ force: true });
|
||||
|
||||
//END OF TEST
|
||||
//-----------------------------------------------------
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user