From ca3075cf322ca67dc3dee2c3110f1e32e861885f Mon Sep 17 00:00:00 2001 From: Brianna Cerkiewicz Date: Tue, 28 May 2024 15:58:23 -0700 Subject: [PATCH] test: use 2024 in e2e test --- .../project-revision/create-first-project-revision.cy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/cypress/e2e/cif/project-revision/create-first-project-revision.cy.js b/app/cypress/e2e/cif/project-revision/create-first-project-revision.cy.js index 7a630ee75f..01e04801f1 100644 --- a/app/cypress/e2e/cif/project-revision/create-first-project-revision.cy.js +++ b/app/cypress/e2e/cif/project-revision/create-first-project-revision.cy.js @@ -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", @@ -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)");