Commit Graph

190 Commits

Author SHA1 Message Date
Zach Bloomquist
f2100a8bba test(system-tests): support npm for test projects (#20664) 2022-03-22 13:28:21 +00:00
Zach Bloomquist
3c286177cc fix: use unique install cache folders for betas (#20296) 2022-03-04 22:22:39 +00:00
Emily Rohrbough
ef3be70944 chore: update release scripts to work with AWS SSO (#20438) 2022-03-04 12:31:27 -06:00
Zach Bloomquist
ffd3627e43 test: migrate module_api to system tests (#20265)
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2022-02-25 23:12:05 +00:00
Zach Bloomquist
ad2f4de844 test(system-tests): support docker-based tests against built binary (#20250)
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2022-02-18 23:37:22 +00:00
Zach Bloomquist
42b0fce6dc test: replace cypress-test-example-repos coverage + remove bump (#20186) 2022-02-16 18:53:04 +00:00
Zach Bloomquist
a1e6d5cad1 test: remove redundant "other projects" CI jobs (#20133)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-02-11 18:18:53 +00:00
Emily Rohrbough
17f272e9ee chore: fix cypress npm package artifact upload path (#20023) 2022-02-04 12:00:08 -06:00
Emily Rohrbough
99f24863a2 fix: move node 17 Check from Binary to CLI (#19977) 2022-01-31 12:03:36 -06:00
Kevin Leung
c9d29430ea chore: Fix build path for electron-builder on arm64 linux (#19498)
Co-authored-by: Blue F <blue@everblue.info>
2022-01-05 12:04:32 -06:00
Tim Griesser
8262f80d1f fix: patch-package is not applied in dist'ed build (#19239) 2021-12-03 18:45:34 -05:00
Emily Rohrbough
6b15468579 chore: Migrate Windows Tests from Appveyor to CircleCI (#19037)
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
2021-12-02 14:20:06 -06:00
Zach Bloomquist
71d92e0e49 test: node_modules installs for system-tests, other improvements (#18574)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2021-11-24 20:10:28 +00:00
Tim Griesser
e4f5b106d4 feat: use hoisted yarn install in binary build (#17285) 2021-11-20 14:19:51 -05:00
Jennifer Shehane
0273f3ebae Merge branch 'develop' into 9.0-release 2021-11-01 11:58:55 -06:00
Tim Griesser
c0d781d28f refactor: remove Ramda (#18723) 2021-11-01 13:37:33 -04:00
Emily Rohrbough
e396956534 feat: remove windows 32-bit support (#18630)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-10-29 08:54:02 -05:00
Jessica Sachs
a045e4f59a chore: move server e2e tests to system-tests (#16354)
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-10-18 19:53:14 +00:00
Tim Griesser
863e3680bb fix: GH env variable for test other projects (#18147)
* use GH_TOKEN rather than creds var
2021-09-17 15:39:12 -04:00
Chris Breiding
55ef4c3a11 chore: Prevent unnecessary files from being included in the binary (#17957) 2021-09-06 21:00:30 -04:00
Tim Griesser
16516b74b1 fix: copy yarn.lock to packages for deterministic builds (#17218) 2021-07-06 17:51:33 -04:00
Tim Griesser
ca44464521 fix: revert #17132 use hoisted yarn install in build binary (#17215) 2021-07-06 16:30:33 -04:00
Tim Griesser
b2b2a97132 refactor: additional script cleanups 2021-07-06 09:58:29 -04:00
Tim Griesser
1e005644ae refactor: update binary script files to be more procedural 2021-07-06 09:58:29 -04:00
Tim Griesser
00eca92afa refactor: rename binary script files js -> ts 2021-07-06 09:58:28 -04:00
Chris Breiding
97e7a524d4 chore: Ensure binaries are downloadable after release (#16735) 2021-06-02 10:08:11 -04:00
Zach Bloomquist
f6a5d1ea2e feat: change cy.intercept override behavior (#14543) 2021-03-26 18:22:18 +00:00
Zach Bloomquist
e30fe0d387 Merge remote-tracking branch 'origin/develop' into 7.0-release 2021-03-10 13:54:42 -05:00
Jessica Sachs
e69b996891 feat: Runner-CT UI Improvements (#15327)
* feat: initial search input component

* Ugly LeftNav control

* chore: fixing the broken relative url specs

* feat: cleaning up the left nav styles and adding a more interactive spec

* chore: rebase

* wip: nav bar external link fix

* wip: active index

* wip: active index

* wip: more css modules

* wip: dark mode/light mode support devtools

* spwip: split left nav

* wip: runner-ui-changes

* wip: box shadows, borders, and more

* fix: types

* chore: extract component

* chore: extract component for readability

* chore: add checks for width on pane

* chore: refactor to make it more easier to understand what is rendered in panes

* chore: move things around

* chore: move things around

* chore: fix style

* chore: fix shortcuts

* tests: fix a test

* fix: fix screenshots feature

* chore: add placeholder

* chore: rebase

* fix: casing

* chore: build

* chore: old file

* chore: update

* chore: update name

* wip: fixing bugs in UI

* chore: improve resize logic

* chore: improve resize logic

* chore: remove unused code

* chore: styling

* chore: fix screenshotting

* chore: style

* chore: fix lint

* chore: bump bin size

* chore: revert changes in runnables

* fix: remove padding during screenshot

* chore: rebase and reauthor commit

* fix: correctly open spec list when focusing

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-03-09 16:16:43 +10:00
Chris Breiding
77b922472c fix: Improve uncaught error handling (#14826)
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2021-03-01 09:23:14 -05:00
Brian Mann
af26fbebe6 feat: component testing (#14479)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2021-02-04 15:45:16 -05:00
Zach Bloomquist
0abb5efe90 build: use semantic commits to get next version (#14851) 2021-02-04 18:30:27 +00:00
Zach Bloomquist
9c51428382 chore(docs): remove binary-build-linux references 2021-01-11 16:28:54 -05:00
Jennifer Shehane
2b67505d09 Merge pull request #14425 from cypress-io/TR-561-decaffeinate
test: decaffeinate fixtures/projects/e2e (files s-t)
2021-01-08 20:33:55 +06:30
Jennifer Shehane
9ab9995a2b cleanup JS + update snapshots
Cleanup js + update snapshots

Cleanup JS + update snapshots

Cleanup JS + update snapshots
2021-01-08 09:56:29 +06:30
Barthélémy Ledoux
dd559d9862 feat(component-testing): changes to the driver and reporter preparing for runner-ct (#14434)
* chore: update driver with component testing

* feat: bring ct changes in reporter

* test: update script utils test

* fix: type issue

* test: add test for new ct behavior in driver

runScript can now use promises instead of files.
Thi test this new behavior

* tests(ct): tests for the reporter runable store

* fix: remove changes on event handling in driver

* build: augment zip size to avoid zip errors

* test: add renderin tests for reporter multispec

* test: better matcher for runnableHistory

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>

* test: make the runscripts eval tests clearer

* refactor(reporter): main interface instead of type

* fix(reporter): runInAction when specRunId changes

* refactor(driver): remove restartRunner function

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-01-07 19:30:52 -05:00
Zach Panzarino
3eb3bfa487 build: properly use local npm packages for development and binary build (#14182) 2021-01-05 00:34:13 -05:00
Gleb Bahmutov
84d1afd27d feat: print bundled Node and Electron versions in cypress version (#9183) 2020-11-16 13:17:24 -05:00
Zach Bloomquist
fe4e11ec6e feat(cli): install pre-release binaries by computing binary URL from NPM URL (#8483) 2020-09-08 17:44:37 -04:00
Zach Bloomquist
c37896089b feat(net-stubbing): experimental full network mocking support (#4176) 2020-08-31 09:41:47 -04:00
Zach Bloomquist
5a3e7e6143 fix: add patches to package files (#8272) 2020-08-13 14:39:30 -04:00
Brian Mann
c72538d189 Fix lodash dupe dep (#7954)
* blow away yarn.lock

* bump lodash to 4.17.19

* reduce binary size again

* bump @types/node to correct version, fix types

* fix react + react-dom types

* add clean command for .ts conversion to .js files

* fix flaky test
2020-07-11 16:34:23 -04:00
Jennifer Shehane
4b4628ea7a Update regex for matching Cypress version in tests to replace more version types (#7927)
* Update regex for matching Cypress version to replace more version types

* Increase max zip size from 190 to 200
2020-07-09 19:51:57 +06:30
Zach Bloomquist
0e632635cd chore: rm non-test-related coffeescript references 2020-06-10 10:49:31 -04:00
renovate[bot]
fedd30cb36 fix(deps): update dependency jimp to version 0.13.0 🌟 (#7618)
* fix(deps): update jimp to 0.13.0 🌟

* Bump max linux filesize for binary

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-06-09 15:26:17 +06:30
Zach Bloomquist
1875027073 chore: decaffeinate server tests, scripts, other files (#7591) 2020-06-05 15:12:53 -04:00
Gleb Bahmutov
d69c1d184f do not follow symlinks when copying files during build (#7156) 2020-04-27 16:09:51 -04:00
Dmitriy Kovalenko
379a9e7008 feat: improve component based tests approach (#5923)
- new mode that mounts the spec iframe instead of application iframe
2020-04-26 16:25:24 -04:00
Gleb Bahmutov
54586f9e4a rename built folder on Windows (#6860) 2020-03-26 13:30:38 -04:00
Gleb Bahmutov
abf4d85869 switch to electron-builder to code sign and notarize Cypress ap… (#6013)
* electron@7.x

* node12.8.1-chrome78-ff70

* Revert "node12.8.1-chrome78-ff70" for now

This reverts commit db2d521994.

* update sendCommand to log on all sendcommands

* promisification in 6.x

* Revert "Revert "node12.8.1-chrome78-ff70" for now"

This reverts commit 57fe764098.

* fix sendcommand

* fix cdp in electron

* fix desktop-gui test

* skip tests that will be fixed by #4973

* bump MAX_ALLOWED_FILE_SIZE :/

* update electron browser spec

* make new dialog code null-proof

* add failing e2e test for issue 5475

* bump electron packager

* add e2e snapshot

* update deprecated electron getters/setters

https://github.com/electron/electron/blob/7-1-x/docs/api/modernization/property-updates.md

* build and test on Mac

* use electron-builder 20.41.0

that adds an option to use hardened Mac OS, which is necessary
for code notarization later.

See https://github.com/electron-userland/electron-builder/releases/tag/v20.41.0
and https://github.com/electron-userland/electron-builder/pull/3858

* electron-builder and pass hardenedRuntime: true

* uncomment build

* upload built binary on mac

* back to 20.41.0, trying after sign hook without success

* use current electron-builder alias instead of build

* retry smoke test on first failure

* testing

* trying to notarize signed app (that does not have node_modules yet)

* env variable names

* copy node_modules ourselves

* build and bundle binary on mac on circle, inject new context

* enable build steps before electron build

* increase mac build timeout

* update build folder on mac

* uncomment actual electron build command

* set linux target to zip

* set zip as target for all platforms

* updated steps

* put notarization hook back

* tweaks for icons

* remove dist electron before code sign

* icons per platform

* make node_modules copy path platform-specific

* fix linux build unpacked folder

* build mac

* fix lint

* test new mac binary against kitchensink

* working on Linux build

* try building entire thing on Linux

* removing correct electron dist folder

* increase zip size limit for now

* add folder rename on Linux from linux-unpacked to Cypress

* print file sizes before zipping

* move linux-unpacked to build dir function

* try deleting second electron file, but code signing probably would not work

* test windows build [build binary]

* ignore tsc errors

* windows build path

* windows [build binary]

* update windows build folder

* increase binary build timeout on Mac

* no need to pass our dist folder

* adding explicit list of additional binaries to code sign on mac

* yarn lock

* uncomment necessary build steps

* electron dir for Linux

* yarn lock again

* back to execa v3

* use execa v4 in packages launcher

* yarn lock again and again

* updated tests that use execa

* print build folder

* add executable name on Linux

* get rid of execa.shell in build scripts

* remove old and commented out code

* need to test building binary on Windows

* throw error from after sign hook if fails

* use execa to zip

* yarn lock

* fix after merge variable

* update test

* add nohoist ffmpeg installer

* patch

* yarn types pass

* yarn lock has binary

Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2020-03-24 21:34:52 -04:00