Commit Graph

58 Commits

Author SHA1 Message Date
Gleb Bahmutov
ba87bd5dfe Issue 118 - scaffolding in /tmp folder (#128)
* server: detect symlinked case in support file search for #118

* server fix problem found by unit test

* add unit test for paths

* correctly determining files in /tmp for a project

* server: cleanup resolving symlinks
2017-06-06 10:03:49 -04:00
Gleb Bahmutov
e8d6ba6fa0 all: remove individual .gitignore files (#133)
* all: remove individual .gitignore files

* remove .gitignore from docs folder
2017-06-05 17:15:35 -04:00
Gleb Bahmutov
e6366d084f server: linting integration coffee files 2017-06-05 16:06:50 -04:00
Gleb Bahmutov
f0df347d1b server: enable coffeelint on unit tests 2017-06-05 15:58:50 -04:00
Gleb Bahmutov
e99ca89b80 Issue 122 - user onboarding modal saved in project state (#125)
* server: save that user has seen onboarding dialog in state, close #122

* prefer .resolves() to .return(Promise.resolve()) in unit test stubs

* server: unit test saveState

* server: silence npm noise on test fail

* server: cleanup sending null

* desktop-gui: test ipc is called with onboarding:closed

* server: don't recalculate state when cfg is cached
2017-06-05 14:30:11 -04:00
Gleb Bahmutov
e106b0a579 server: print nice error to console.error if server code is messed up (#124) 2017-06-02 10:50:05 -04:00
Gleb Bahmutov
e3ad4f5f8e move scaffold check logic from project (#120)
* move scaffold check logic from project

* move tests around, clean up
2017-06-02 10:08:14 -04:00
Gleb Bahmutov
8a659456ca fix spec serving unit test 2017-06-01 13:59:11 -04:00
Gleb Bahmutov
92f0cae349 bundles are saved and served from subfolders 2017-06-01 13:33:27 -04:00
Gleb Bahmutov
437b9b584c server: save bundles separately per project, close #116 2017-06-01 11:28:34 -04:00
Gleb Bahmutov
98e804990c WIP: rework saved state to be saved per project (#101)
* server: use package name to hash state folder

* unit test saved state hash utility

* server: use package name to hash state folder

* unit test saved state hash utility

* server: update unit tests to per-project state

* server: fix remaining unit tests after changing state to per project

* start e2e tests for saved state

* force state save and check if file was saved

* server: integration test for state saved per project, close #113
2017-06-01 00:02:48 -04:00
Brian Mann
62950363d8 remove rogue console log 2017-05-31 16:34:24 -04:00
Brian Mann
f46f8b4895 server: fix e2e test lodash -> underscore.string 2017-05-31 16:06:18 -04:00
Brian Mann
88044551a2 server: get e2e tests running again, add to circle.yml container 2017-05-31 16:06:04 -04:00
Brian Mann
1bded60539 server: increase mocha timeouts to 10s 2017-05-31 14:17:38 -04:00
Brian Mann
7d955f7064 Merge branch 'master' into link-packages
# Conflicts:
#	packages/electron/package.json
2017-05-31 13:46:25 -04:00
Brian Mann
a81ed100bf icons: remove packages/icons wrapper, use @cypress/icons directly 2017-05-31 12:52:37 -04:00
Brian Mann
817758e4b6 all: symlink all cypress packages in root node_modules for easy access 2017-05-31 12:51:35 -04:00
Gleb Bahmutov
a0f9429c27 enable all integration tests again 2017-05-31 11:49:21 -04:00
Gleb Bahmutov
0b53bc6812 do not remove folder after failing permissions test 2017-05-30 18:12:55 -04:00
Gleb Bahmutov
5d08d63982 ci: remove separate CI step with FGREP 2017-05-30 17:56:16 -04:00
Gleb Bahmutov
e9a822985e ci: if FAILING_FGREP is defined, will run integration tests using --fgrep 2017-05-30 17:53:56 -04:00
Brian Mann
0db722f1cb cleanup inquirer code, help debug failing test in circle 2017-05-30 17:42:15 -04:00
Brian Mann
be53d273b5 server: fixes failing integration tests in circle env 2017-05-30 17:26:11 -04:00
Gleb Bahmutov
14f0ddd165 server: a few debug messages on project open and close 2017-05-30 14:21:02 -04:00
Gleb Bahmutov
b2ea262e57 ci: make TERM check clear 2017-05-30 13:35:29 -04:00
Gleb Bahmutov
a92ffca8a0 server: listen to :: in ip6 tests 2017-05-30 12:34:39 -04:00
Brian Mann
cac4934900 server: test cleanup, extracted launcher specs 2017-05-29 21:03:48 -04:00
Brian Mann
ff48ea07ad server: get windows specs passing again 2017-05-29 18:58:22 -04:00
Brian Mann
8a2a10bd42 server: gui -> modes 2017-05-29 18:36:46 -04:00
Brian Mann
ac0ad47dd8 server: fix broken headed specs 2017-05-29 18:36:22 -04:00
Brian Mann
5db19c3a33 consolidated all packages to use shared icons package 2017-05-29 18:14:00 -04:00
Brian Mann
f815ad6de9 register coffee 2nd else stack traces are garbled 2017-05-29 18:03:38 -04:00
Brian Mann
e48c95fc58 use older bash syntax 2017-05-27 14:47:04 -04:00
Brian Mann
fe5bdfa57e run the server integration tests, cleanup package scripts, echo helpful errors 2017-05-27 14:36:44 -04:00
Brian Mann
df5af51a8b skip docker updater failing test which causes more test failures downstream 2017-05-27 12:40:04 -04:00
Brian Mann
111a98b654 Merge pull request #103 from cypress-io/102
fix $SHELL undefined in docker, use process.env.SHELL, fixes #102
2017-05-27 11:40:32 -04:00
Brian Mann
26bcf3126e fixes failing headless unit tests 2017-05-27 11:36:02 -04:00
Brian Mann
3dcf45623a fix $SHELL undefined in docker, use process.env.SHELL, fixes #102 2017-05-27 11:23:55 -04:00
Gleb Bahmutov
df9971e16f show debug messages when reading file and saved state 2017-05-26 15:57:16 -04:00
Gleb Bahmutov
dd14a09aa1 server: add debug log module to server 2017-05-25 14:14:23 -04:00
Brian Mann
4e1901375c server: fixes failing integration tests 2017-05-24 18:49:15 -04:00
Brian Mann
49f654e933 server: extract listening for project end so we cleanup ffmpeg processes 2017-05-24 17:16:25 -04:00
Brian Mann
dac9524fe2 remove unused modules 2017-05-23 00:29:07 -04:00
Brian Mann
beffe1cd36 server: fixes tests, don't getConfig when we already have projectRoot 2017-05-22 22:07:42 -04:00
Brian Mann
aac160e08a server: output json (including subfolders) 2017-05-22 22:06:48 -04:00
Gleb Bahmutov
ccc739f275 Revert "fix relative paths in server e2e tests"
This reverts commit 1c4ca7d246.
2017-05-17 15:25:19 -04:00
Gleb Bahmutov
1c4ca7d246 fix relative paths in server e2e tests 2017-05-16 22:26:20 -04:00
Gleb Bahmutov
9c4cc93aa3 register typescript hook in server project 2017-05-16 22:20:13 -04:00
Gleb Bahmutov
97fc3ef1c0 convert all test commands into single run unit tests (#14) 2017-05-15 14:48:52 -04:00