Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/install-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ runs:
id: setup-chrome
uses: browser-actions/setup-chrome@b94431e051d1c52dcbe9a7092a4f10f827795416 # v2.1.0
with:
chrome-version: ${{ inputs.nightly == 'true' && 'beta' || 'stable' }}
chrome-version: ${{ inputs.nightly == 'true' && 'beta' || 145 }}
Comment thread
straker marked this conversation as resolved.
install-chromedriver: true
install-dependencies: true
- name: Install Firefox
Expand Down
2 changes: 1 addition & 1 deletion test/act-rules/act-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = ({ id, title, axeRules, skipTests = [] }) => {
});

after(async () => {
await driver.close();
await driver.quit();
await new Promise(r => server.close(r));
});

Expand Down
2 changes: 1 addition & 1 deletion test/aria-practices/apg.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('aria-practices', function () {
});

after(async () => {
await driver.close();
await driver.quit();
});

const disabledRules = {
Expand Down
7 changes: 6 additions & 1 deletion test/get-webdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ const chromedriverPath =

const getWebdriver = () => {
const service = new chrome.ServiceBuilder(chromedriverPath);
const options = new chrome.Options().addArguments('--headless');
const options = new chrome.Options().addArguments(
'--headless',
'--no-sandbox',
'--disable-dev-shm-usage',
'--disable-gpu'
);

if (process.env.CHROME_BIN) {
options.setBinaryPath(process.env.CHROME_BIN);
Expand Down