-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests for pa11y (accesibility) and lighthouse (performance)
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 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,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 |
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,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 |