Commit Graph

10532 Commits

Author SHA1 Message Date
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
Brian Mann ee7caf961a hard deprecate Cypress.Log.command 2017-09-06 17:38:05 -04:00
Jennifer Shehane 0c0b947f2f Reference outside docs repository + 👕 emoji 2017-09-06 16:41:51 -04:00
Brian Mann 8255d37168 cli: add some delay to give listr some padding to update stdout 2017-09-06 16:39:01 -04:00
Brian Mann 7683beeda4 driver: log alert + confirm, give users events to tap into both, and allow controlling the confirmation 2017-09-06 15:28:14 -04:00
Brian Mann 54139137e6 driver: remove rogue debugger 2017-09-06 14:33:41 -04:00
Brian Mann 1974a4599e driver: remove language about custom command 2017-09-06 14:33:30 -04:00
Brian Mann 8e7c715185 Merge pull request #428 from cypress-io/desktop/cy-open-link
desktop: changes to 'update available' modal
2017-09-06 13:53:26 -04:00
Brian Mann d7438ebd97 Merge pull request #426 from cypress-io/cli-version-command-413
Cli version command 413
2017-09-06 12:17:52 -04:00
Brian Mann 00759494c9 Merge pull request #435 from cypress-io/issue-424
issue 424
2017-09-06 11:41:31 -04:00
Brian Mann a82cac7c70 server: improve error message, add blank cypress.json files for e2e fixtures 2017-09-06 05:38:56 -04:00
Brian Mann c90d159315 server: error when running from the CLI without a cypress project
- never seed the kitchen sink from the command line
- error if cypress.json was not found
2017-09-06 05:14:57 -04:00