Carol
0
Q:

cypress support ability to set viewport in `before`

// pass viewport in cmd, this will over ride settings in cypress.json

"script_name": "./node_modules/.bin/cypress run --browser chrome --config viewportWidth=414,viewportHeight=896 --spec 'cypress/integration/file_name.js'"
      
13

New to Communities?

Join the community