This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/// <reference types="cypress" />
|
||||
describe("When Accounting user logs in", () => {
|
||||
describe.skip("When Accounting user logs in", () => {
|
||||
it("should correctly run all functionality", () => {
|
||||
//format for typing input and setting value is always YYYY-MM-DD for date and HH:MM in 24 hour time for time
|
||||
const dNow = new Date();
|
||||
@@ -14,16 +14,7 @@ describe("When Accounting user logs in", () => {
|
||||
.toString()
|
||||
.padStart(2, "0")}:${dNow.getMinutes().toString().padStart(2, "0")}`;
|
||||
|
||||
cy.visit("/login");
|
||||
|
||||
cy.get("input[name=username]").clear().type(Cypress.env("accountinguser"));
|
||||
|
||||
// {enter} causes the form to submit
|
||||
cy.get("input[name=password]")
|
||||
.clear()
|
||||
.type(`${Cypress.env("accountingpassword")}{enter}`);
|
||||
|
||||
cy.url().should("include", "/ay-evaluate");
|
||||
cy.ayLogin("accounting");
|
||||
|
||||
//open nav pane
|
||||
cy.get("[data-cy=navicon]").click();
|
||||
|
||||
Reference in New Issue
Block a user