diff --git a/e2e/support/commands.js b/e2e/support/commands.js
index f5235c5..b656340 100644
--- a/e2e/support/commands.js
+++ b/e2e/support/commands.js
@@ -63,9 +63,10 @@ Cypress.Commands.add("ayChooseExistingTags", (dataCyTag, tagList) => {
});
Cypress.Commands.add("aySetTestableUserOptions", () => {
- cy.get("[data-cy=navicon]").click();
- cy.get("[data-cy=home]").click();
- cy.get("[data-cy='nav/home-user-settings']").click();
+ // cy.get("[data-cy=navicon]").click();
+ // cy.get("[data-cy=home]").click();
+ // cy.get("[data-cy='nav/home-user-settings']").click();
+ cy.visit('/home-user-settings');
cy.url().should("include", "/home-user-settings");
cy.get("[data-cy='nativeDateTimeInput']").check({ force: true });
});
diff --git a/e2e/tests/regression/accounting-user/000-setup.js b/e2e/tests/regression/accounting-user/000-setup.js
index 84b54b7..11f7885 100644
--- a/e2e/tests/regression/accounting-user/000-setup.js
+++ b/e2e/tests/regression/accounting-user/000-setup.js
@@ -1,5 +1,5 @@
///
-describe("When Accounting user logs in", () => {
+describe.skip("When Accounting user logs in", () => {
it("should set up accounting block user options", () => {
cy.ayLogin("accounting");
diff --git a/e2e/tests/regression/accounting-user/0100-search.js b/e2e/tests/regression/accounting-user/0100-search.js
index f56e396..27a4a11 100644
--- a/e2e/tests/regression/accounting-user/0100-search.js
+++ b/e2e/tests/regression/accounting-user/0100-search.js
@@ -1,9 +1,9 @@
///
describe("Search", () => {
it("should work", () => {
- //SEARCH
- cy.get("[data-cy=navicon]").click();
- cy.get("[data-cy='nav/home-search']").click();
+
+ cy.ayLogin("accounting");
+ cy.visit("/home-search");
cy.url().should("include", "/home-search");
cy.get("[data-cy=phrase]").clear().type("xyz{enter}");
//check for expected results
diff --git a/e2e/tests/regression/accounting-user/0300-reminder.js b/e2e/tests/regression/accounting-user/0300-reminder.js
index 85f6015..c7cf838 100644
--- a/e2e/tests/regression/accounting-user/0300-reminder.js
+++ b/e2e/tests/regression/accounting-user/0300-reminder.js
@@ -15,9 +15,10 @@ describe("Reminder features", () => {
cy.ayLogin("accounting");
cy.aySetTestableUserOptions();
- cy.get("[data-cy=navicon]").click();
- cy.get("[data-cy=home]").click();
- cy.get("[data-cy='nav/home-reminders']").click();
+ // cy.get("[data-cy=navicon]").click();
+ // cy.get("[data-cy=home]").click();
+ // cy.get("[data-cy='nav/home-reminders']").click();
+ cy.visit("/home-reminders");
cy.url().should("include", "/home-reminders");
cy.get("[data-cy='reminder-list:new']:first").click();
cy.url().should("include", "/home-reminders/");
@@ -31,13 +32,15 @@ describe("Reminder features", () => {
cy.get("[data-cy=notes]").type(`This is a reminder{enter}eot{enter}`);
cy.get(".v-color-picker__input > input").clear().type("#11E1D07E{enter}"); //select a color
cy.get('[data-cy="reminder-edit:save"] > .v-btn__content').click();
- cy.get("[data-cy=navicon]").click();
- cy.get("[data-cy='nav/home-reminders']").click();
+ // cy.get("[data-cy=navicon]").click();
+ // cy.get("[data-cy='nav/home-reminders']").click();
+ cy.visit("/home-reminders");
cy.url().should("include", "/home-reminders");
//should show reminder made above in month display by default
- cy.get("[data-cy=navicon]").click();
- cy.get("[data-cy='nav/home-schedule']").click();
+ // cy.get("[data-cy=navicon]").click();
+ // cy.get("[data-cy='nav/home-schedule']").click();
+ cy.visit("/home-schedule");
cy.url().should("include", "/home-schedule");
cy.contains(`${Cypress.config("cyid")}-test-reminder`);
});
diff --git a/e2e/tests/regression/accounting-user/0500-contract-create-review-history.js b/e2e/tests/regression/accounting-user/0500-contract-create-review-history.js
index f1835c7..8afe9ff 100644
--- a/e2e/tests/regression/accounting-user/0500-contract-create-review-history.js
+++ b/e2e/tests/regression/accounting-user/0500-contract-create-review-history.js
@@ -16,9 +16,10 @@ describe("Contract create, review, history", () => {
cy.ayLogin("accounting");
cy.aySetTestableUserOptions();
- cy.get("[data-cy=navicon]").click();
- cy.get("[data-cy=accounting]").click();
- cy.get("[data-cy='nav/svc-contracts']").click();
+ // cy.get("[data-cy=navicon]").click();
+ // cy.get("[data-cy=accounting]").click();
+ // cy.get("[data-cy='nav/svc-contracts']").click();
+ cy.visit('/svc-contracts')
cy.url().should("include", "/svc-contracts");
cy.get("[data-cy=contractsTable]");
cy.get("[data-cy='contract-list:new']:first").click();
@@ -34,8 +35,9 @@ describe("Contract create, review, history", () => {
`Test contract alert message{enter}eot{enter}`
);
cy.get("[data-cy='contract-edit:save'] > .v-btn__content").click();
- cy.get("[data-cy=navicon]").click();
- cy.get("[data-cy='nav/svc-contracts']").click();
+ // cy.get("[data-cy=navicon]").click();
+ // cy.get("[data-cy='nav/svc-contracts']").click();
+ cy.visit('/svc-contracts')
cy.url().should("include", "/svc-contracts");
@@ -60,9 +62,10 @@ describe("Contract create, review, history", () => {
cy.contains(`${Cypress.config("cyid")}-test-review`);
cy.contains(`${Cypress.config("cyid")}-test-contract`);
//should show review made above in schedule
- cy.get("[data-cy=navicon]").click();
- cy.get("[data-cy=home]").click();
- cy.get("[data-cy='nav/home-schedule']").click();
+ // cy.get("[data-cy=navicon]").click();
+ // cy.get("[data-cy=home]").click();
+ //cy.get("[data-cy='nav/home-schedule']").click();
+ cy.visit('/home-schedule')
cy.url().should("include", "/home-schedule");
cy.get(".v-present > .v-calendar-weekly__day-label > .v-btn").click({
force: true
@@ -71,8 +74,9 @@ describe("Contract create, review, history", () => {
cy.contains(`${Cypress.config("cyid")}-test-review`);
//HISTORY
- cy.get("[data-cy=navicon]").click();
- cy.get("[data-cy='nav/home-history']").click();
+ // cy.get("[data-cy=navicon]").click();
+ // cy.get("[data-cy='nav/home-history']").click();
+ cy.visit("/history");
cy.url().should("include", "/history");
cy.contains(`${Cypress.config("cyid")}-test-contract`);
cy.contains(`${Cypress.config("cyid")}-test-review`);