Skip to content

Commit

Permalink
Enabled cypress recording and some workaround for percy.io and releas…
Browse files Browse the repository at this point in the history
…e path #103
  • Loading branch information
tillias committed Nov 10, 2020
1 parent aeb3ed1 commit e58b8e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cypress/integration/release-path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ describe.only('release path', () => {

cy.wait('@apiRequest');
cy.get('jhi-release-path > .p3 > .vis-network > canvas');

cy.wait(1000); // dirty hack, community help is needed

cy.get('jhi-release-graph > .p3 > .vis-network > canvas');

cy.percySnapshot('release-path', { widths: [1024] });
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"webpack-dev-server": "node --max_old_space_size=4096 node_modules/webpack-dev-server/bin/webpack-dev-server.js",
"webpack": "node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js",
"cypress": "cypress run --config video=true --browser chrome",
"percy": "percy exec -- cypress run --browser chrome --config video=false"
"percy": "percy exec -- cypress run --record --browser chrome"
},
"jestSonar": {
"reportPath": "target/test-results/jest",
Expand Down

0 comments on commit e58b8e8

Please sign in to comment.