Skip to content

Commit

Permalink
Tests for pa11y (accesibility) and lighthouse (performance)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsanzante committed Jan 25, 2024
1 parent d376ffc commit 67f3c43
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/shellspec/shellspec_spec/lighthouse___spec.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Describe 'Lighthouse' lighthouse

It 'is installed and can be run'
When run command make lighthouse
The status should be success
The output should include "Healthcheck passed!"
The output should include "Done running Lighthouse!"
The path 'reports/lighthouse/_.report.html' should be file
The path 'reports/lighthouse/_.report.json' should be file
The path 'reports/lighthouse/manifest.json' should be file
End

End
10 changes: 10 additions & 0 deletions .github/shellspec/shellspec_spec/pa11y___spec.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Describe 'Pa11y' accessibility

It 'is installed and can be run'
When run command make pa11y http://apache
The status should be success
The output should include "Welcome to Pa11y"
The output should include "No issues found!"
End

End

0 comments on commit 67f3c43

Please sign in to comment.