Skip to content

Commit

Permalink
fix(e2e): tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matochu committed Sep 26, 2023
1 parent 62cf4f9 commit 1123b93
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/install
- run: pnpm run build-storybook
- run: docker pull yukinying/chrome-headless-browser-stable:116.0.5845.180
- run: docker pull yukinying/chrome-headless-browser-stable:latest
- run: export NODE_OPTIONS=--openssl-legacy-provider && pnpm run test:visual

- name: Archive screenshots
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"build-storybook": "build-storybook",
"publish-storybook": "chromatic --storybook-build-dir storybook-static --project-token $CHROMATIC_PROJECT_TOKEN --exit-zero-on-changes",
"chromatic": "chromatic --project-token=CHROMATIC_PROJECT_TOKEN",
"test:visual": "loki --verboseRenderer --requireReference --reactUri file:./storybook-static --chromeDockerImage yukinying/chrome-headless-browser-stable:116.0.5845.180 --chromeFlags='--headless --disable-gpu --hide-scrollbars --no-sandbox --allow-file-access-from-files'",
"test:visual": "loki --verboseRenderer --requireReference --reactUri file:./storybook-static --chromeDockerImage yukinying/chrome-headless-browser-stable:latest --chromeFlags='--headless --disable-gpu --hide-scrollbars --no-sandbox --allow-file-access-from-files'",
"test:visual:approve": "loki approve",
"generate-screenshots": "pnpm run build-storybook && loki update --reactUri file:./storybook-static --chromeDockerImage yukinying/chrome-headless-browser-stable:116.0.5845.180 --chromeFlags='--headless --disable-gpu --hide-scrollbars --no-sandbox --allow-file-access-from-files'",
"generate-screenshots": "pnpm run build-storybook && loki update --reactUri file:./storybook-static --chromeDockerImage yukinying/chrome-headless-browser-stable:latest --chromeFlags='--headless --disable-gpu --hide-scrollbars --no-sandbox --allow-file-access-from-files'",
"lint": "pnpm run lint:ts && pnpm run lint:css",
"lint:fix": "pnpm run lint:ts:fix && pnpm run lint:css:fix",
"lint:ts": "eslint --ext .ts,.tsx .",
Expand Down

0 comments on commit 1123b93

Please sign in to comment.