Skip to content

Commit

Permalink
chore: use e2e test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
saleel committed Jan 31, 2024
1 parent f829c75 commit 0ea0e40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@ jobs:
env:
CI: "true"
with:
args: yarn workspace @zk-email/twitter-verifier-app test:full-e2e
args: yarn workspace @zk-email/twitter-verifier-app test:e2e-zkp

3 changes: 2 additions & 1 deletion packages/app/tests/e2e-dl-zkp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ describe("App.js", () => {

beforeAll(async () => {
browser = await puppeteer.launch({
// headless: true,
headless: false,
args: ['--no-sandbox'],
executablePath: process.env.PUPPETEER_EXEC_PATH,
slowMo: 100
});
page = await browser.newPage();
Expand Down

0 comments on commit 0ea0e40

Please sign in to comment.