Commit Graph

8 Commits

Author SHA1 Message Date
Chris Breiding ff3328669c fix: Use app.quit instead of process.exit to prevent crash on close (#17774) 2021-08-17 14:36:17 -04:00
Zach Bloomquist 10fdd7b9f8 fix: use app.whenReady and remove delay race for electron startup (#15075)
Co-authored-by: Thorsten Lorenz <thlorenz@gmx.de>
2021-02-15 10:56:31 -05:00
Brian Mann af26fbebe6 feat: component testing (#14479)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2021-02-04 15:45:16 -05:00
Chris Breiding a22d0cc756 Chore: Refactor saved state utility (#6759)
* decaffeinate: Rename saved_state.coffee from .coffee to .js

* decaffeinate: Convert saved_state.coffee to JS

* decaffeinate: Run post-processing cleanups on saved_state.coffee

* decaffeinate: Rename saved_state_spec.coffee from .coffee to .js

* decaffeinate: Convert saved_state_spec.coffee to JS

* decaffeinate: Run post-processing cleanups on saved_state_spec.coffee

* refactor saved state

- create a single saved_state module instead of having two
- export an object with methods instead of a function with methods
2020-03-17 15:20:26 -04:00
Jennifer Shehane 2ba53f6837 Better handle reserved key CYPRESS_ENV being set by users to va… (#6437)
* Add warning when setting CYPRESS_ENV to non-production value

* Add warning and update error when setting CYPRESS_ENV in config to non-production value

* Update config test/to throw

* we want warning, not throw

* Rename env var to CYPRESS_INTERNAL_ENV + fix warning to actually warn when staging

* update cli snapshot to include new 'info' command

* yarn.lock

* removed the warning from config, is overboard on our own tests 😓

* cleanup from review

Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
2020-03-06 16:53:48 +06:30
decaffeinate f0adc7b06f decaffeinate: Run post-processing cleanups on exit.coffee and 12 other files
Revert changes to scaffold_spec snapshot
2019-12-27 12:09:31 -05:00
decaffeinate c5f5551c35 decaffeinate: Convert exit.coffee and 12 other files to JS 2019-12-27 12:09:31 -05:00
decaffeinate 3892814c2f decaffeinate: Rename exit.coffee and 12 other files from .coffee to .js 2019-12-27 12:09:31 -05:00