Commit Graph

10611 Commits

Author SHA1 Message Date
Brian Mann e90fc15241 driver: WIP still trying to get tests to pass 2017-09-16 23:03:50 -04:00
Brian Mann 77d20123fb driver: WIP trying to fix broken tests in CI 2017-09-16 22:40:02 -04:00
Brian Mann 6eb8e60416 root: store test results 2017-09-16 21:44:15 -04:00
Brian Mann 8db69e9b86 driver: WIP trying to fix flaky CI tests 2017-09-16 21:42:04 -04:00
Brian Mann 9ab2094ad0 driver: fix screenshot spec 2017-09-16 21:32:48 -04:00
Brian Mann 4350523e6e root: reduce parallelization on regular unit tests (they are never flaky) [skip ci] 2017-09-16 21:29:59 -04:00
Brian Mann 96eb6f22a7 root: spread out parallelization more 2017-09-16 21:26:51 -04:00
Brian Mann 34f3e1ecc6 driver: take screenshots whenever we're running from terminal as opposed to interactive
- this gives us more consistent results based on how users use cypress
- is interactive could turn off at any time (such as when running too
many tests)
2017-09-16 21:17:52 -04:00
Brian Mann 394a4911ea server: properly copy circle artifacts to subfolders 2017-09-16 20:59:18 -04:00
Brian Mann 8e56bbd1fb desktop-gui: update specs for 0.20.0, fix failing specs not being properly guarded. skip legit broken tests with FIXME note 2017-09-16 20:46:22 -04:00
Brian Mann 1fa2d9f2a2 root, server: WIP try to copy circle artifacts 2017-09-16 19:44:57 -04:00
Brian Mann 2b415cab4c cli: verify against installed version not package version when displaying first time opening message 2017-09-16 19:21:00 -04:00
Brian Mann 88b19a91e1 server: whitespace 2017-09-16 19:20:39 -04:00
Brian Mann b1a677d61d root: turn back on copying circle artifacts post build 2017-09-16 19:01:14 -04:00
Brian Mann b2654edf8c root: use our CLI's xvfb lib instead of xvfb-maybe 2017-09-16 18:34:06 -04:00
Brian Mann 9b0508f1bf root: update local docker to match circle [skip ci] 2017-09-16 17:28:02 -04:00
Brian Mann 704320c950 root: tweak xvfb-run args 2017-09-16 17:16:29 -04:00
Brian Mann 957375b034 root: run desktop gui cypress tests across 3 parallel instances 2017-09-16 17:00:59 -04:00
Brian Mann 8d0dd8fb3e server: fixes #658, improve the error when reporter isn't found and enable absolute path to reporters 2017-09-16 16:56:43 -04:00
Brian Mann cf308cc66c server: remove the special 'driver' mode, which is not necessary anymore 2017-09-16 16:38:29 -04:00
Brian Mann e2458ba9db root: refactor run-integration to common scripts -> run-cypress-tests, accept options, use xvfb-maybe, cleanup circle.yml
- this enables us to use a common script for running cypress tests
within the monorepo itself
- useful for the driver, desktop-gui, and the reporter
2017-09-16 16:38:00 -04:00
Brian Mann c42fb888f9 root: remove verbose linux binary build, swap to use env var 2017-09-16 15:22:42 -04:00
Brian Mann 0bb41c1313 Merge pull request #476 from cypress-io/issue-655
Issue 655
2017-09-16 15:16:59 -04:00
Brian Mann f12273beec driver: prevent flake by not waiting thenable promise 2017-09-16 15:05:01 -04:00
Brian Mann d15bd00758 driver: fixes failing tests 2017-09-16 15:04:50 -04:00
Brian Mann 49ddf5e28c server: send current version of cypress when checking for updates, fixes #456 2017-09-16 14:53:36 -04:00
Brian Mann 8b692274e4 driver: cleanup [skip ci] 2017-09-16 14:48:27 -04:00
Brian Mann 6366e80750 driver: rename dom_spec -> visibility_spec 2017-09-16 14:45:17 -04:00
Brian Mann d90c49cd93 driver: rename action files for consistency 2017-09-16 14:43:07 -04:00
Brian Mann 8e77ed140a driver: rename action utils to actionability for clarity 2017-09-16 14:39:04 -04:00
Brian Mann 3cc3af3a25 driver: go back to using x/y to indicate target positioning. set value only after knowing desired position 2017-09-16 14:27:40 -04:00
Brian Mann 66c90c6c24 WIP: calculate whether an element is covered using the center, not top left [skip ci]
- provide a reason a fixed position element is hidden
- format error messages
- cleanup visibility algorithm when dealing with fixed position
- add tests to ensure new reason element is hidden is displayed
- return topCenter and leftCenter values
2017-09-15 21:19:54 -04:00
Gleb Bahmutov baccde14a8 ughhh 2017-09-15 17:21:48 -04:00
Gleb Bahmutov c0e1a4bcf7 zip command in parent folder 2017-09-15 17:09:01 -04:00
Gleb Bahmutov 48954d7aa5 try single command on CI 2017-09-15 16:44:04 -04:00
Gleb Bahmutov b357ec0b5b put output zip file in root 2017-09-15 16:42:02 -04:00
Gleb Bahmutov 5ce5b973eb go through entire binary deploy on linux platform 2017-09-15 16:38:33 -04:00
Gleb Bahmutov 941203500b zip in right folder 2017-09-15 16:33:25 -04:00
Gleb Bahmutov 0807fb25d9 fix lint error 2017-09-15 16:10:55 -04:00
Gleb Bahmutov 10feb885ea use env or json to get AWS credentials 2017-09-15 16:04:19 -04:00
Gleb Bahmutov fef9c24c1b use Cloudflare env variables or file 2017-09-15 15:54:40 -04:00
Gleb Bahmutov bf9de40945 pass zip file to upload 2017-09-15 15:47:12 -04:00
Gleb Bahmutov 7f314b5e02 oops, forgot to upgrade CI image to cypress/internal:chrome61 2017-09-15 15:38:17 -04:00
Gleb Bahmutov 1028b867c7 build, zip and upload linux binary from CI 2017-09-15 15:26:35 -04:00
Brian Mann 3d8489369b electron: upgrade electron-packager dep to 9.0.1 2017-09-14 17:08:57 -04:00
Brian Mann f1e7782667 release 0.20.0 (few days ago) [skip ci] v0.20.0 2017-09-14 16:26:32 -04:00
Brian Mann 8069ff8af7 Merge pull request #466 from cypress-io/issue-631-ancestor-translate-visibility
Improve visibility algorithm (again)
2017-09-14 16:18:40 -04:00
Brian Mann 19f7239307 driver: finish refactor, remove state from coordinates, move to src/dom/coordinates, normalize left + top, not x, y
- add coordinates spec back in
2017-09-14 15:41:09 -04:00
Brian Mann d34e0c65a8 driver: don't needlessly set coords 2017-09-14 15:39:48 -04:00
Brian Mann 7386cf261d driver: don't pass window to waitForActionability, let it figure it out from element 2017-09-14 15:39:22 -04:00