Files
cypress/system-tests/projects/screen-size/cypress.config.js
T
Alejandro Estrada 0366d4fa89 feat: use supportFile by testingType (#19364)
* feat: use supportFile by testingType

* Fix defaults

* Start renaming files, and updating system-tests

* Fix some tests

* Fix some tests

* Fix more tests

* Try to fix CI

* Fix more tests

* Fix some tests

* Revert changes

* Revert supportFile defaultValue

* Fix some tests

* Fix some tests

* Fix some tests

* Fix some tests

* Update supportFile example

* Update snapshots

* Remove scaffold support

* Handle config errors

* Remove scaffold

* Fix tests

* Fix test

* Update test

* Fix test

* Update supportFile template

* Fix template
2022-01-05 13:37:44 -05:00

16 lines
348 B
JavaScript

module.exports = {
'e2e': {
'supportFile': false,
setupNodeEvents (on, config) {
on('before:browser:launch', (browser, options) => {
// options.args.push('-width', '1280', '-height', '1024')
// options.args.push('--force-device-scale-factor=2')
// return options
})
return config
},
},
}