Skip to content

Commit

Permalink
squashme
Browse files Browse the repository at this point in the history
  • Loading branch information
naugtur committed Jan 17, 2024
1 parent 80dd1a4 commit 8caf7f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lockdown-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:

- name: Setup Chrome
uses: browser-actions/setup-chrome@latest
## location is OS dependent
with:
chrome-version: 'canary'

Expand All @@ -31,5 +32,5 @@ jobs:
- name: Run tests
run: |
echo "$(which google-chrome-unstable)" "$(which google-chrome)"
node ./packages/ses/smoke-test/index.js "$(which google-chrome-unstable)"
echo "$(which chrome)" "$(which google-chrome-unstable)" "$(which google-chrome)"
node ./packages/ses/smoke-test/index.js "$(which chrome)"
5 changes: 4 additions & 1 deletion packages/ses/smoke-test/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
/* eslint-disable @endo/no-polymorphic-call */
/* global process */

import puppeteer from 'puppeteer-core';
import assert from 'assert';

const chromePath = process.argv[2];
console.log(`chromePath ${chromePath}`);

let browser;

Expand Down Expand Up @@ -43,6 +46,6 @@ async function runTests() {

runTests().catch(error => {
console.error(error);
browser.close();
browser&& browser.close();
process.exit(1);
});

0 comments on commit 8caf7f3

Please sign in to comment.