Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ To make a production build using (`./envs/.env.production` vars):

`npm run build:production`

To serve a production build locally for testing:
To serve a production build locally for testing (you likely need to run this for
testing because the dev server won't be fast enough for the page speed tests):

`npm run serve`

Expand Down
4 changes: 2 additions & 2 deletions cypress/integration/checkData.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe("The Ad Hoc Validate Check Data page", () => {
cy.contains("iati-act-no-errors.xml");
cy.get(".doc-list-item").eq(0).contains("Warning", { timeout: 20000 });
cy.get(".doc-list-item").eq(0).click();
cy.get("h1").should("have.text", "File Validation Report");
cy.get("h1").should("have.text", "Dataset Validation Report");
cy.contains("IATI version");
cy.contains("Type");
});
Expand All @@ -48,7 +48,7 @@ describe("The Ad Hoc Validate Check Data page", () => {
);
cy.get(".doc-list-item").eq(0).contains("Error", { timeout: 20000 });
cy.get(".doc-list-item").eq(0).click();
cy.get("h1").should("have.text", "File Validation Report");
cy.get("h1").should("have.text", "Dataset Validation Report");
cy.contains("IATI version");
cy.contains("Type");
});
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/validationReport.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,6 @@ describe("The Validation Report page", () => {
"href",
"https://aidstream.s3.us-west-2.amazonaws.com/xml/ares-activities.xml",
);
cy.get("[data-cy='document-url-anchor']").should("have.text", "ares-activities.xml");
cy.get("[data-cy='document-url-anchor']").should("have.text", "ares-activities");
});
});
Loading
Loading