Commit Graph

266 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 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 8686effefc server: fix failing e2e tests 2017-09-10 15:59:15 -04:00
Brian Mann 0e07ed7d8c server: fix e2e test, remove excessive stack traces 2017-09-08 23:27:14 -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
Brian Mann c7cb0ae0dd Merge pull request #429 from cypress-io/issue-410
issue #410
2017-09-05 17:32:22 -04:00
Brian Mann e8ba8713d7 server: update snapshots due to removal of 'Added this project' 2017-09-05 17:14:50 -04:00
Chris Breiding cbbbee1c03 server: fix per-project state.json. Fixes #430 2017-09-05 13:38:49 -04:00
Brian Mann 35e703ce57 server: fixes #410 don't add projects to cache when running from the CLI 2017-09-05 12:56:28 -04:00
Brian Mann a5d8834bf5 server: remove unused circle.yml [skip ci] 2017-09-05 12:49:53 -04:00
Chris Breiding eb51c08117 server: don’t ask api for project if no id. Fixes #409 2017-09-01 10:45:39 -04:00
Brian Mann 41c8058077 server: remove passing in --cli-version in tests 2017-09-01 00:58:06 -04:00
Brian Mann 3607a08efb cli: remove passing in --cli-version to binary 2017-09-01 00:55:27 -04:00
Gleb Bahmutov a7c398ce8b server: pass CI group id with API call to create run (#396)
* server: pass CI parallel id with API call to create run

* rename parallel-id to group-id

* pass --group to use --group-id or infer groupId from environment

* test group with groupId

* fix integration spec
2017-08-31 14:24:37 -04:00
Chris Breiding 3e758e38b3 server: remove flaky test loop 2017-08-30 10:51:18 -04:00
Chris Breiding 5e44159750 server: end bundling when write stream is finished 2017-08-30 10:03:07 -04:00
Chris Breiding 0250572444 Merge branch 'develop' into issue-390 2017-08-30 09:22:23 -04:00
Brian Mann 1ef2bdff48 server: fixes failing tests by stubbing Promise.config 2017-08-29 15:35:48 -04:00
Brian Mann 2ac83b4a40 server: do use Promise cancellation, fixes failing tests 2017-08-29 15:35:33 -04:00
Brian Mann 0e8de52700 server: update snapshot due to bluebird debug stack trace change 2017-08-29 15:29:31 -04:00
Brian Mann ed854ecf8d server: proper xvfb args for linux 2017-08-29 15:08:15 -04:00
Brian Mann 4eef002703 server: only use long stack traces in development, update failing snapshots
-dont use bluebird cancellations (unused feature in server work)
2017-08-29 14:53:39 -04:00
Brian Mann 7affeb149d server: properly run e2e scripts 2017-08-29 14:46:51 -04:00
Brian Mann a95e5f1a45 root: move common .eslint to root, remove duplicates 2017-08-29 14:45:55 -04:00
Brian Mann 53a93cd7e5 driver: add multi reporter (unit) output for driver integration tests 2017-08-29 14:45:22 -04:00
Brian Mann 3b956fb350 server: update scripts, run, watch for argument passing ease 2017-08-29 14:13:10 -04:00
Brian Mann c3bb0d9399 server: properly spawn run script 2017-08-29 14:02:35 -04:00
Brian Mann ac71bf61f5 server: WIP node script for running tests, verbose handling 2017-08-28 23:31:35 -04:00
Brian Mann c5ec9d989e server: update snapshot for commands outside of a test
-this is now handled better by proper uncaught exception handling
2017-08-28 19:14:49 -04:00
Brian Mann bea7f9dab6 server, driver: handle uncaught support file errors and remove other 2017-08-28 17:42:56 -04:00
Brian Mann 64ab44ca77 server: comment out flaky assertion 2017-08-28 14:33:33 -04:00
Brian Mann 56a8ad07e1 server: repeat test 10 times to help determine why flaky in CI 2017-08-28 14:29:32 -04:00
Gleb Bahmutov 0cf2fc3b21 server: upgrade fs-extra to latest v4, close #388 (#389) 2017-08-28 11:25:04 -04:00
Brian Mann 2124868531 Merge branch 'driver-refactor-merge' into develop 2017-08-26 17:47:12 -04:00
Brian Mann 89187e33c2 server: whoops remove only 2017-08-26 14:54:18 -04:00
Brian Mann 4d0ab38247 Merge branch 'develop' into driver-refactor-merge 2017-08-26 14:23:20 -04:00
Brian Mann 803104a66e Merge pull request #384 from cypress-io/issue-382
server: remove delay dep, use bluebird, fixes #382
2017-08-26 14:10:43 -04:00
Brian Mann a255f97a94 server: fix failing test, missing quotes 2017-08-26 14:03:31 -04:00
Brian Mann 8f1302730e server: improve the warning about not recording a video 2017-08-26 13:52:44 -04:00
Brian Mann 5a37244f9b server: remove delay dep, use bluebird, fixes #382 2017-08-26 13:22:31 -04:00
Brian Mann 804031907a server: only log API warnings in development, slice warnings out of snapshots 2017-08-26 13:20:28 -04:00
Brian Mann ed57dc4d88 server: strip old version of CLI tools out of stdout 2017-08-26 12:43:47 -04:00
Brian Mann 9e0f0fda27 Merge branch 'develop' into remove-cli-version-warning-367 2017-08-26 12:35:00 -04:00
Brian Mann df3c368577 server: correctly output available browsers, fix skipped integration tests 2017-08-26 12:32:57 -04:00
Gleb Bahmutov 4409698c7f Remove fs sync 373 (#376)
* remove fs.existsSync in unit test, close #373

* updating an integration test

* remove unlinkSync from an integration spec

* remove only

* make saved_stage async

* switched some tests to async state

* server: fix more state tests

* working on config to async

* change config mergeDefaults to async

* more .mergeDefaults tests updated

* fix config unit tests

* remove only in config unit tests

* fix server unit test

* fix two more tests

* server: maybe all unit tests fixed

* server: handle NPM 3 vs 4 in exit codes

* fix server start

* fix another server startup in test

* server: messaging and promise.try
2017-08-25 11:31:36 -04:00
Brian Mann 3a72aba165 Merge branch 'driver-refactor-merge' into develop 2017-08-24 23:40:11 -04:00
Brian Mann 412eb66778 server, driver: added tests for throwing when values other than promises or undefined are returned
- throw when invoking cy commands in a test
- throw when invoking cy commands in a custom command
2017-08-24 18:50:32 -04:00
Brian Mann 50c6146b95 server: e2e tests around catching promise errors without cy commands 2017-08-24 17:21:53 -04:00