Skip to content

Commit

Permalink
ci: hide empty canvas element for percy
Browse files Browse the repository at this point in the history
A bug currently causes empty canvas elements to display a broken image icon in Percy's Chrome
screenshots: percy/percy-agent#533. This hides the broken image icon.
  • Loading branch information
bitjson committed Jul 23, 2020
1 parent 6c88b24 commit a5f5f98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"cypress": "cypress open",
"test": "node -e \"console.log('\\nPlease run \\`yarn test:unit\\` and \\`yarn test:e2e\\` separately. For E2E tests, \\`yarn start\\` must also be running.\\n')\"",
"ci:serve-and-test": "start-server-and-test start http-get://localhost:3000 ci:e2e",
"ci:e2e": "yarn percy exec -t 350 yarn test:e2e --record",
"ci:e2e": "yarn percy exec yarn test:e2e --record",
"eject": "react-scripts eject"
},
"eslintConfig": {
Expand Down Expand Up @@ -80,9 +80,9 @@
"version": 1,
"snapshot": {
"widths": [
1280,
1920
]
],
"percy-css": ".monaco-editor .minimap .percy-canvas-image { display: none; }"
}
},
"cypressWebpackConfigPath": "./node_modules/@bitauth/react-scripts-bitauth-ide/config/webpack.config.js"
Expand Down

0 comments on commit a5f5f98

Please sign in to comment.