diff --git a/.github/shellspec/shellspec_spec/lighthouse___spec.sh b/.github/shellspec/shellspec_spec/lighthouse___spec.sh new file mode 100644 index 0000000..b5b5ebf --- /dev/null +++ b/.github/shellspec/shellspec_spec/lighthouse___spec.sh @@ -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 diff --git a/.github/shellspec/shellspec_spec/pa11y___spec.sh b/.github/shellspec/shellspec_spec/pa11y___spec.sh new file mode 100644 index 0000000..66d8bc4 --- /dev/null +++ b/.github/shellspec/shellspec_spec/pa11y___spec.sh @@ -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