Skip to content

Commit

Permalink
test: Tweak test setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
danimalweb committed Sep 16, 2024
1 parent 5c83674 commit 87417d4
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/htmlValidate.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
describe('HTML Validation Tests', () => {
it('should be valid', () => {
cy.task('sitemapLocations').then((pages) => {
pages.forEach((page) => {
cy.task('sitemapLocations').then((pages: string[]) => {
pages.forEach((page: string) => {
cy.visit(page);
cy.htmlvalidate({
rules: {
Expand Down
Empty file added cypress/fixtures/.gitkeep
Empty file.
5 changes: 0 additions & 5 deletions cypress/fixtures/example.json

This file was deleted.

18 changes: 18 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"autoprefixer": "^10.4.20",
"axe-core": "^4.10.0",
"axe-html-reporter": "^2.2.11",
"axios": "^1.7.7",
"cypress": "^13.14.2",
"cypress-axe": "^1.5.0",
"cypress-html-validate": "^6.1.0",
Expand Down

0 comments on commit 87417d4

Please sign in to comment.