* Bump required node version of cli to 8.0.0+
* Bump chalk to 3.0.0
- previously required Node 8 support
* bump debug to 4.1.1
- Drops Node 4 support, adds Node 10 support
- They mentioned no breaking changes, so we’ll see.
* bump is-ci to 2.0.0
- removes Node end of lives
- supports more CIs for detection
* bump is-installed-globally
- drops support for Node 6 + improvements on detection
* bump log-symbols dep
- requires Node 8
* bump supports-color
- Requires Node 8
* bump untildify - require Node 8
* bump commander to 4.0.1
- require Node 8
- may break some snapshots - they changed some quotes like 'this'
instead of `this'
* bump execa to 3.3.0
- removes Node 6 support
- some breaking changes, but I didn’t find us using any of them on
first pass.
* bump cachedir
* bump fs-extra
Drops various node version support including 6
* bump bluebird
* bump ramda
* set global onerror same as autWindow.onerror
* cleanup spec
* add link to issue
* Update uncaught_errors_spec.coffee
* fix spec: use throw instead of done cb
* fix spec for global onerror
* temp 10/30/19 [skip ci]
* cleanup
* use object.defineproperty to overwrite setter, only set top.onerror once
* update snapshot
* refactor xhr_spec
* fix xhr_spec
* refactor address feedback
* fix oops
* fix rerun mode
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* server: add test for XHR with body > 100kb via CLI
* Use websockets to stub large XHR response bodies instead of headers
* Properly cleanup outstanding XHRs on before:test:run
* Add lil unit test for xhr_ws_server
* Use reset:xhr:server to get around sending entire test:before:run:async payload
* Responding to feedback
* Implement feedback
* move data obj wrapping into xhrs controller
* WIP: rip out handlebars and implement with squirrelly
- handle caching ourselves
- TODO: add tests, make sure escaping and all that jazz works
* fixes squirrelly template handling
* only fire mocha events when in run mode
* add unit tests for template engine rendering + caching
* fix click during overlay on mousedown, fix selectionchange during focus handler
* fix stop-only script
* fix 5439 replace selection during modifier
* cleanup and refactor
* fix test
* fix actionability not erroring on covered element
* Revert "fix actionability not erroring on covered element"
This reverts commit 208af647de.
* cli: set NODE_OPTIONS=--max-http-header-size=1024*1024 on spawn
* electron: remove redundant max-http-header-size
* server: add useCli option to make e2e tests go thru cli
* server: add test for XHR with body > 100kb via CLI
* clean up conditional
* cli: don't pass --max-http-header-size in dev w node < 11.10
* add original_node_options to restore o.g. user node_options
* force no color
* WIP: add failing test job with non-root user
* change paths to node user
* print more info
* always use --no-sandbox when starting Electron on non-Windows OS
* add another test job that runs as a root
* use tilda
* use 12.0.0 image
* rename job
* grab binary and npm package from workspace
* update test-binary-against-kitchensink
* try installing several times
* update test-npm-module-and-verify-binary
* update test-binary-and-npm-against-other-projects job
* run test job after upload jobs
* update urls
* use current folder path
* dont log multiple:true by default in dblclick
* fix add in defaults
* fix consoleprops test
* Add link to issue this is addressing
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* test kitchensink on all commits
* separate build binary from upload binary jobs on Circle
* split Mac binary build from upload
* split npm build from upload
* test upload on this branch
* inspect tmp folder
* hmm, where is it
* print more
* ughh
* let us try again
* use root of project
* how is the file not found
* root cypress?
* update upload npm path
* more paths
* update Mac jobs
* remove temp branch
* cleanup type_spec, allow unused-vars for args
* fix missing return
* rename mouse/keyboard
* apply changes on this branch with rename
* temp 07/18/19 [skip ci] type_spec minor changes
* temp 07/19/19 [skip ci]
* temp 07/22/19 [skip ci]
* temp 07/22/19 [skip ci]
* remove accidental spec, use beforeEach visit in click_spec
* add tests for cy.trigger changes
* re-run build
* extract simulated type from native events
* most type_spec passing until tab
* add typedefs
* temp 08/08/19 [skip ci]
* fix type_spec, click_spec
* fix console table event table logging
* fix spec utils
* temp 08/12/19 [skip ci]
* large changes to selection.ts, working type_spec, eslint changes
* fix elements util, cleanup debugging code
* fix linting rules
* fix type_spec in electron by using plain Event contructor
* fix invalid clicking-into-iframe spec
* address review, cleanup
* use webpack-preprocessor (required for typescript files)
* fix invalid connectors_spec
* chore(lint): fix linting, since changed rules
* fix not borrowing property getter for maxlength
* temp 09/25/19 [skip ci]
* add test for clicking checkbox, cleanup click_spec
* document mouse click and mouse move algo, adjust mouse move, add test for recursive movement
* cleanup / formatting
* scope the getCommandLogWithText to the active runnable to prevent leakage
* cleanup tests, make values static so tests pass consistently
- use attach listener alias APIs
- remove magic number constants
- fix some incoherent html / script tag stuff
* begin implementation for returning fromAutWindow
- restore original fromWindow algorithm
- begin writing fromAutWindow for calculating red hitbox coordinates
which are layered on the AUT
* move describe block with the others
* refactor actions to DRY up duplicated logic between click/dblclick/rightclick
- tighten up the mouse.js method names, name them consistently
* remove comment
* fix iframe coords and test
* temp 10/06/19 [skip ci]
* rename fromDocCoords->fromWindowCoords, fix type_spec ux test
* fix after merge from mouse-fixes branch / develop
* temp 10/08/19 [skip ci]
* Revert "temp 10/08/19 [skip ci]"
This reverts commit 92b73f6107.
* remove only, fix contenteditable test
* add test for datetime-local inputs
* add webpack devdep
* fix debugging code
* fix force:true on hidden input
* up timeout for test in ci
* tighten up method, remove unnecessary arg
* add debug logic for retries to console.error() non cypress errors
* renamed fromWindow -> fromElWindow, and fromViewport -> fromElViewport
* handle calculating the fromElWindow coordinates inline
* extract out function for clarity, receive consistent arg names
* cleanup, add lots of comments
* fix display specific test
* fix type follow focus when redirect on focus
* cleanup new follow focus test
* upgrade eslint-plugin-dev to 5.0.0
* more [lint fixes]
* use typescript in driver
* cleanup minor
* remove unneeded file
* mild refactor webpack configs
* fix elements.ts
* fix isTextLike signature change
* fix isType check, fix type_spec
* actually use webpack-preprocessor
* fix isType domUtil
* fix connectors_spec
* cleanup connectors_spec
* address feedback- cleanup, add comments, refac
* answer: no, need index.js
* cleanup after driver typescript PR
* fix keyboard getActiveModifiers
* fix(driver:keyboard): fix typing negative numbers with existing text selection
* remove debugging code, cleanup
* link fixed issues in tests, actually fix one issue
* cleanup remove dead code
* remove unused helper
* add test for #2166
* pay no attention to the code and implementation changing... add tests and note for changing focus into date input
* mark fix for issue #3316
* mark fix for issue #3722
* rename elements.isType -> elements.isInputType for clarity
* restructure keyboard a bit, don't export default, rework static class properties to regular exports
- attach $Mouse + $Keyboard to Cypress
* tighten up
* coffeescript fixes, consistent regexp const naming
* capitalize interface, tighten up several modifier functions
* misc cleanup and tightening up
* rework impl to use stubs instead of numbers
* some more cleanup
* fix logic with when function is called
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>