Skip to content

Commit 11ae3be

Browse files
committed
Make the downloaded chrome binary discoverable
1 parent 4a4f62c commit 11ae3be

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/e2e-prod-status-test.yml

+3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@ jobs:
2020
- name: Install dependencies
2121
run: npm install
2222
- name: Set up Chrome
23+
id: setup_chrome
2324
uses: browser-actions/setup-chrome@latest
2425
with:
2526
chrome-version: stable
2627
install-chromedriver: true
2728
- name: Run Nightwatch e2e tests on Prod
29+
env:
30+
CHROME_BIN: ${{ steps.setup_chrome.outputs.chrome-path }}
2831
run: npx nightwatch nightwatch/e2e-test-of-uiucchat-prod.js

nightwatch.conf.js

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ module.exports = {
5454
desiredCapabilities: {
5555
browserName: 'chrome',
5656
'goog:chromeOptions': {
57+
binary: process.env.CHROME_BIN || undefined,
5758
args: [
5859
'--headless=new',
5960
'--no-sandbox',

0 commit comments

Comments
 (0)