* Add invocation details to hooks
* Add hooks to emitted root runnable
* Hook details model
* Progress on hook models
* Add commands to hook
* Fix display of hooks
* Display hooks in correct order
* (More) efficiently reorder hooks and display split numbers
* Open hook in IDE functionality
* Properly style button to open in IDE
* Add ability to open test body in IDE
* Fix hooks specs
* Runnables store tests
* Test model unit tests
* HookDetails -> HookProps
* Fix reporter integration tests
* Fix issue with after hook
* Update runner mocha tests
* Remove driver integration test that is no longer needed
* Update snapshot for server tests
* Add reporter integration tests for hooks
* Fix driver querying test
* Add runner test for hooks
* Update reporter hook tests to check for before all
* Fix before/after hook counts
* Fix runner test
* Fix issue with stack trace in ff and clean up mocha override
* Just incase someone names their test or support file common.js
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
* Rename non-user facing instances of whitelist
* Rename server option 'whitelist' to 'ignore'
* Update use of whitelist with server to throw instead of warn
* Rename Cypress.Cookies.defaults 'whitelist' option to 'preserve'
* fix circle yml parameter parsing consistent
* compose cloning an external repo and switching to the NEXT_DEV_VERSION branch consistently
* add cypress org to repo parameter
* cd into the right dir before switching branches
* one line git checkout
* simplify passing repo
* cd into the right dir
* clone into the right dir
* oh my cd 101
* replace kitchen sink strings for 5.0.0
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
* feat: make cookies have sameSite key by default
BREAKING CHANGE: modifies the shape of Cookie objects
* update tests
* add deprecation notice
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
* chore(deps): electron@9.0.5
BREAKING CHANGE: libgbm is a requirement
* update node, xcode, docker images
* lockfile
* chore(types): tsify lib/gui/windows and spec
* fix Electron extension loading
global extension loading was deprecated in 9, now has to be per-session
* make windows fns stubbable
* update electron_spec
* tsify issue_173_spec
* use upstream foxdriver to fix FF >= 75
see https://github.com/benmalka/foxdriver/issues/7
* update test
* for now, install libgbm-dev at ci time
see https://github.com/cypress-io/cypress-docker-images/pull/332
* fix open mode
* remove devtools-ext dir
* Option to disable Cypress the verbose results to stdout
--quiet mode to disable the verbose results to stdout
but still use specified formatter
* Update cli/schema/cypress.schema.json
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
* Cypress module support for --quiet
Cypress module support for --quiet
* Apply suggestions from code review
Co-authored-by: Zach Bloomquist <github@chary.us>
* Address feedback
Address feedback, thanks
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
* Fix: skip sending stdout on PUT /instances
* Add comment for why we're setting stdout to null
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
* fix(deps): update jimp to 0.13.0 🌟
* Bump max linux filesize for binary
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* decaffeinate: Rename browser.coffee from .coffee to .js
* decaffeinate: Convert browser.coffee to JS
* decaffeinate: Run post-processing cleanups on browser.coffee
* temp 02/14/20 [skip ci]
* add beforeEachRestoreRunner to select specs, remove support file hook
* temp 03/03/20 [skip ci]
* fix more specs due to support file change
* fix errored spec
* add isInteractive config to many specs
* update yarn.lock
* use yarn.lock from develop
* fix nested suite configurations
* fix nested suite configurations 2
* force isInteractive in driver/support file
* update more specs to use test config format
* update more specs to use test config format 2
* update more specs to use test config format 3
* update more specs to use test config format 4
* update more specs to use test config format 5
* fix cli/types tests, unit tests
* cleanup
* allow .isBrowser to support array, use .isBrowser for per-test-config
* allow null browser test/suite config value
* temp 04/10/20 [skip ci]
* restore test originalTitle when skip due to browser
* add tests for per-test-config baseUrl
* update .isBrowser error message
* fix rerunning hooks on top navigation
* rename duplicate issue number
* up timeout for server/integration test
* change test to be more specific
* rename TestOptions, add baseUrl test, override xit xdescribe methods
* add tests for xit/xdescribe
* disable video for flaky e2e test
* fix lint-types, e2e snapshot
* try 2: fix rerun before/after hooks
* temp 04/29/20 [skip ci]
* change logic to rerun before hooks after top navigation
* fix windowSize for browser e2e test
* fix windowSize for xvfb chrome in e2e test
* ok fine, just disable screenshots
* perf: faster lookup for hooks without runnables
* fix afterAll hook switch logic
* backport to before/after fix
* backport to before/after fix 2
* fix noExit passed to e2e test inline options
* remove extra root afterhook check
* add issue link..twice
* cleanup function to arrows
* remove Cypress object proxying related code for certain utils
* use getTest() as we did previously
* remove Cypress object proxying related code for certain utils
* fix Cypress._RESUMED_AT_TEST access
* fix Cypress._RESUMED_AT_TEST access 2
* fix runner.getResumedAtTestIndex, state accesses
* fix firefoxgcinterval access
* fix arrow function
* fix firefoxgcinterval access
* try a simpler way to fix afterAll hook issue
* fix decaf after merge
* cleanup internal-types.d.ts
* fix internal-types
* fix comment, getTestFromRunnable signature
* remove unneeded lastTestInSuiteLogic
* fix after merge: many decaffed specs, typedefs
* minor cleanup
* fix typedefs: add taskTimeout
* minor typedef fix, fix more specs modifying config()
* fix e2e snapshot
* fix flake: waiting_spec cancel outstanding XHR between tests
* fix flake
* change config mutation logic, add tests, update typedefs
* add env support to testConfigOverride
* fix specs: remove isInteractive override, add to beforeEach
* move testConfigOverride to file
* finish moving local config logic to cy.js
* fix typedefs cypress.d.ts
* fix minor minor dtslint
* minor spec cleanup
* chunk: typescript spec fixes, bind Cypress.$
* apply chunk: typescript spec fixes, bind Cypress.$
* fix stop-only
* fix stop-only 2
* extend the jqueryProxyFn in the constructor
* remove experimental code
* rename spec files for overrides, cleanup
* rename snapshots + tests to match updated test config overrides
* fix firefox flake: navigation_spec
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
* apply chunk: typescript spec fixes, bind Cypress.$
* fix stop-only
* fix stop-only 2
* extend the jqueryProxyFn in the constructor
* remove experimental code
* use the default ts export
* use the default ts export for .js files too
Co-authored-by: Brian Mann <brian.mann86@gmail.com>