-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(travis): try pa11y-ci config with a path to Chrome executable
- Loading branch information
1 parent
2b53528
commit afb1321
Showing
2 changed files
with
28 additions
and
6 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,22 @@ | ||
/* | ||
[NOTE] Configuration Pa11y CI file for Linux completely repeats the contents of “.pa11yci.js” | ||
except that it contains the “chromeLaunchConfig” option. | ||
*/ | ||
|
||
module.exports = { | ||
defaults: { | ||
/* [REQUIRED] Path to Chrome executable file on Linux: | ||
https://github.com/pa11y/pa11y-ci#pa11y-ci-3-and-ubuntu | ||
https://github.com/pa11y/pa11y-ci/issues/198#issuecomment-1418343240 */ | ||
chromeLaunchConfig: { | ||
"executablePath": "/usr/bin/google-chrome" | ||
}, | ||
hideElements: [ | ||
"code", | ||
"#___gcse_0", ".gstl_50", | ||
".skiptranslate", "#goog-gt-votingForm", "#goog-gt-votingInputSrcLang", | ||
"#goog-gt-votingInputTrgLang", "#goog-gt-votingInputSrcText", "#goog-gt-votingInputTrgText", | ||
"#goog-gt-votingInputVote", "#goog-gt-votingHiddenPane" | ||
] | ||
} | ||
}; |
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