Skip to content

Commit

Permalink
test: use 2024 in e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
BCerki committed May 28, 2024
1 parent b8f6eeb commit ca3075c
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", "2020");
cy.fillAndCheckNewProjectForm("Emissions Performance", "2024");
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 - 2020");
cy.findByText("Emissions Performance - 2024");
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 - 2020");
.should("have.text", "Emissions Performance - 2024");
cy.findByText(/Operator Name/i)
.next()
.should("have.text", "first operator legal name (AB1234567)");
Expand Down

0 comments on commit ca3075c

Please sign in to comment.