-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add integrity checks to third-party scripts * Add the form role for accessibility * Add test for search and global goals * Fix potential XSS This is only a debug dev-only tool, but will still trigger CodeQL * Remove unused code - Initially added in f116bb5 - Removed usage in 9b46ff7
- Loading branch information
Showing
9 changed files
with
50 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
describe("test projects", () => { | ||
it("check projects", () => { | ||
cy.visit("/"); | ||
cy.get("a").contains("Global Goals").click(); | ||
cy.get(".indicator") | ||
.first() | ||
.should("contain", "50,000") | ||
.and("contain", "Indicator 1"); | ||
cy.contains("€42,000"); | ||
cy.contains("Life on land"); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
describe("test projects", () => { | ||
it("check projects", () => { | ||
cy.visit("/"); | ||
cy.get("form[role=search] input[type=search]").type("programme"); | ||
cy.get("form[role=search]").submit(); | ||
cy.contains("1 programme found"); | ||
cy.contains("Romania"); | ||
cy.contains("Completed"); | ||
cy.contains("Programme 1"); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters