Skip to content

Commit

Permalink
Fix CI test (#2461)
Browse files Browse the repository at this point in the history
  • Loading branch information
xcv58 authored Nov 29, 2023
1 parent c9a3e78 commit bd214e6
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- checkout
- *restore_cache
- *pnpm_setup
- run: xvfb-run --auto-servernum -- pnpm test
- run: xvfb-run --auto-servernum -- pnpm run test --force
- run: pnpm run deploy
- *save_cache
- run: rm -rf packages/extension/build/build_chrome packages/extension/build/build_firefox
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:

# Run all test
- name: Integration Test
run: xvfb-run --auto-servernum -- pnpm test
run: xvfb-run --auto-servernum -- pnpm run test --force
2 changes: 1 addition & 1 deletion packages/integration_test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"private": true,
"dependencies": {
"playwright": "1.36.1",
"playwright": "1.40.1",
"tab-manager-v2": "*"
}
}
1 change: 1 addition & 0 deletions packages/integration_test/test/inteaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ describe('The Extension page should', () => {
let screenshot = await page.screenshot()
expect(screenshot).toMatchImageSnapshot(matchImageSnapshotOptions)

await page.waitForTimeout(500)
let toggleThemeButton = await page.$(
'[aria-label="Toggle light/dark theme"]',
)
Expand Down
25 changes: 17 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit bd214e6

@vercel
Copy link

@vercel vercel bot commented on bd214e6 Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.