Skip to content

Commit

Permalink
Revert "test: use 2024 in e2e test"
Browse files Browse the repository at this point in the history
This reverts commit ca3075c.
  • Loading branch information
BCerki committed May 31, 2024
1 parent be09a51 commit 3e133ae
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ describe("when creating a project, the project page", () => {

it("allows an admin user to create an EP project", () => {
//add new
cy.fillAndCheckNewProjectForm("Emissions Performance", "2024");
cy.fillAndCheckNewProjectForm("Emissions Performance", "2020");
cy.happoAndAxe("EP Project New Form", "filled", "main");
cy.findByRole("button", { name: /^confirm/i }).click();

// add overview
cy.url().should("include", "/form/0");
cy.findByText("Emissions Performance - 2024");
cy.findByText("Emissions Performance - 2020");
cy.fillOverviewForm(
"first operator legal name (AB1234567)",
"Cement",
Expand Down Expand Up @@ -176,7 +176,7 @@ describe("when creating a project, the project page", () => {
// project overview section
cy.findByText(/RFP Year ID/i)
.next()
.should("have.text", "Emissions Performance - 2024");
.should("have.text", "Emissions Performance - 2020");
cy.findByText(/Operator Name/i)
.next()
.should("have.text", "first operator legal name (AB1234567)");
Expand Down

0 comments on commit 3e133ae

Please sign in to comment.