Commit Graph

10543 Commits

Author SHA1 Message Date
Chris Breiding
95329bebdd Merge pull request #453 from cypress-io/issue-451-path-of-undefined
Desktop GUI: Guard against dragging and dropping non-file
2017-09-11 11:01:44 -04:00
Chris Breiding
8b521376d7 Merge pull request #452 from cypress-io/issue-449-type-of-undefined
Desktop GUI: Guard against no warning when attempting to clear warning.
2017-09-11 10:39:41 -04:00
Chris Breiding
db7023c744 desktop: guard against dragging and dropping non-file 2017-09-11 10:37:37 -04:00
Chris Breiding
39015c141c desktop: fix docs link spec 2017-09-11 10:28:26 -04:00
Chris Breiding
40dcc31d9a desktop: ttrigger -> trigger 2017-09-11 10:28:11 -04:00
Chris Breiding
33632587ad desktop: guard against no warning when attempting to clear warning. Fixes #449 2017-09-11 10:20:16 -04:00
Brian Mann
3f6b71d3cd server: derp rename the events here too 2017-09-10 22:16:46 -04:00
Brian Mann
845667ce8d driver: rename a bunch of events for consistency 2017-09-10 22:05:03 -04:00
Brian Mann
5221fb8e32 force circle run 2017-09-10 21:47:23 -04:00
Brian Mann
bf42af168c cli: bump internal releaser dep [skip ci] 2017-09-10 21:45:54 -04:00
Brian Mann
4032240541 example: bump kitchensink dep, get latest example spec and support files 2017-09-10 21:45:39 -04:00
Brian Mann
35c2fc4fbb server: use single quotes on scaffolding index.js 2017-09-10 20:33:51 -04:00
Brian Mann
6aa032920e example: remove release tasks [skip ci] 2017-09-10 20:31:19 -04:00
Brian Mann
ca47df1d85 example: update to latest support scaffolding, ignore eslint example cypress support 2017-09-10 20:31:05 -04:00
Brian Mann
b5f6f670b3 example: write the correct regexp to strip both kinds of eslint comments 2017-09-10 20:30:40 -04:00
Brian Mann
0ac80795e1 Merge pull request #392 from cypress-io/example/eslint-replacer
example: Remove eslint comments from kitchen-sink when converting for seeded example
2017-09-10 20:11:53 -04:00
Brian Mann
a088c15b4d Merge pull request #447 from cypress-io/scaffolding-changes
Scaffolding changes
2017-09-10 18:42:04 -04:00
Brian Mann
a6ac5decc9 update index.js and commands.js scaffolding content
- reference custom command interfaces
- be less opinionated about how they work
2017-09-10 18:25:49 -04:00
Brian Mann
cbf35ef51d server: remove defaults.js from being scaffolded. update on.cypress.io links 2017-09-10 18:02:40 -04:00
Brian Mann
2e422a94b9 root: deploy.md clarifications 2017-09-10 17:25:34 -04:00
Brian Mann
1a5f0fee9e driver: comments [skip ci] 2017-09-10 17:19:52 -04:00
Brian Mann
d0e35d0b48 driver: comment out dead code [skip ci] 2017-09-10 17:19:14 -04:00
Brian Mann
64e443e9fd Merge pull request #446 from cypress-io/new-assertion-logic
New assertion logic
2017-09-10 17:18:38 -04:00
Brian Mann
1285f464ea driver: failing and passing test to show outer assertions retry 2017-09-10 17:03:18 -04:00
Brian Mann
8686effefc server: fix failing e2e tests 2017-09-10 15:59:15 -04:00
Brian Mann
25e2b238e9 driver: fix failing tests 2017-09-10 15:57:02 -04:00
Brian Mann
2c000a7d8a driver: let cy.contains accept window + document as well 2017-09-10 15:44:35 -04:00
Brian Mann
2d4e92bc7e driver: WIP see if any of the tests fail 2017-09-10 14:04:44 -04:00
Brian Mann
d8a74e160f driver: make cy.contains() require an optional element as subject 2017-09-10 13:46:53 -04:00
Gleb Bahmutov
aa17d06e05 module api: normalize env option, close 437 (#441) 2017-09-09 09:19:52 -04:00
Brian Mann
fb4492b249 Merge pull request #445 from cypress-io/custom-command-interface
Custom command interface
2017-09-09 00:26:30 -04:00
Brian Mann
08326a2d93 driver: fix viewport state bugs by preserving currentViewport between re-runs
-crazy clutch e2e test on recreating state bugs O_O
2017-09-09 00:24:54 -04:00
Brian Mann
0e07ed7d8c server: fix e2e test, remove excessive stack traces 2017-09-08 23:27:14 -04:00
Brian Mann
68484d1c67 driver: better switch case 2017-09-08 23:04:03 -04:00
Brian Mann
70404fb571 driver: update logic for calculating stale elements, handle stale docs better
- add zee tests!
2017-09-08 23:03:54 -04:00
Brian Mann
bf8b834cb9 driver: implemented custom command interface validations, extracted all utility functions, enable iframe elements to be subjects
- lots new improved errors on subject validations
- cleanup lots of specs
- enable cy.focus and cy.blur to work on windows
- refactor how subjects are pushed into non parent elements
- simplify ‘types’ of commands
- locked down lots of commands to ensure you cannot pass window or
document to them (when they aren’t supported)
- cleanup context
- remove excessive ‘ensure*’
- add ensures for each command subject validation
2017-09-08 16:17:30 -04:00
Gleb Bahmutov
1f8fec210d eslint ignore snapshots folder should be in the root, close #442 (#444) 2017-09-08 15:16:15 -04:00
Brian Mann
3b3712c087 driver: extract focusable into $dom.isFocusable 2017-09-07 21:51:24 -04:00
Brian Mann
51404b61d3 driver: ref fixes 2017-09-07 15:17:29 -04:00
Brian Mann
62879d0317 driver: remove dead code 2017-09-07 14:56:55 -04:00
Brian Mann
442c75aecc driver: publicly attach more things to Cypress instances 2017-09-07 14:56:45 -04:00
Brian Mann
aeb34ad7bd driver: refactor dom methods, extract from utils, cleanup names 2017-09-07 14:54:20 -04:00
Brian Mann
a73f6313c6 driver: remove dead code and unused required modules 2017-09-07 14:25:05 -04:00
Brian Mann
7ff95d33c7 driver: enable trigger to work on document and window, update trigger to fire event on descendants
- prevent log from trying to work with $el when they are not elements
2017-09-07 10:46:20 -04:00
Brian Mann
e024e71de3 driver: remove cancellation handling 2017-09-07 00:22:58 -04:00
Brian Mann
6b2dc1897f driver: agents should use Returned not Yielded in console props 2017-09-07 00:22:49 -04:00
Brian Mann
ef1aa050f6 driver: note the flaky test [skip ci] 2017-09-06 20:52:03 -04:00
Brian Mann
c08e050f85 driver: cleanup debugger [skip ci] 2017-09-06 20:37:54 -04:00
Brian Mann
1a7324ce0d driver: get Cypress.Commands.overwrite working again, update tests, tweak error messages 2017-09-06 20:25:52 -04:00
Brian Mann
d94258ac2d Merge pull request #436 from cypress-io/issue-622
hard deprecate Cypress.Log.command
2017-09-06 19:25:35 -04:00