Skip to content

Commit

Permalink
cypress: overwrite percySnapshot to explicitly set viewport sizes for…
Browse files Browse the repository at this point in the history
… desktop and mobile
  • Loading branch information
pablo-mayrgundter committed Dec 11, 2024
1 parent b03b07d commit 7f7accb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
//
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
import '@percy/cypress'
import '@testing-library/cypress/add-commands'
import 'cypress-react-router/add-commands'

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bldrs",
"version": "1.0.1185",
"version": "1.0.1186",
"main": "src/index.jsx",
"license": "AGPL-3.0",
"homepage": "https://github.com/bldrs-ai/Share",
Expand Down

0 comments on commit 7f7accb

Please sign in to comment.