Commit Graph

6380 Commits

Author SHA1 Message Date
Bill Glesias b85dd752f2 dependency: update to electron 25 and node 18 (#27715)
* feat: update to electron 25 and bump node dependencies. need to remove
custom docker image

* chore: update node versions to 18+ [run ci]

* chore: bump @types/node from v16 to v18 and bump the typescript supported CLI version from 3.9 to 4.4

* update mock-fs to 5.2.0 to fix BigInt issue (see https://github.com/tschaub/mock-fs/releases/tag/v5.1.4) [run ci]

* chore: update electron integrity check to pass create binary job

* chore: fix issues with achrinza/node-ipc not yet having node 18 engine support (only up to 17 by patching from 9.2.2 to 9.2.5 as seen in https://github.com/achrinza/node-ipc/pull/38. vue/cli-service is not maintained and we should migrate these over to vue create at some point in the near future to get rid of these resolutions

* allow for TLSv1 tests to work with node 18 as the express server running node 18 with tlsv1 needs to allow legacy ciphers

* chore: update snyk workflows to use node 18

* chore: add changelog

* update timeout

* more cleanup during binary build

* bump cache and run ci. include ignore engines for rwa and get rid of
16.16 image references

* chore: update FF tests to 115 as serialization now works with errors and click events do not get fired on buttons being typed into

* chore: don't error when symlink already exists

* chore: fix serialization test for newer versions of firefox

* chore: fix CI config

* chore: fix chrome system tests to work with chrome 114. updates mostly caused by bugs in screen height in chrome. see https://bugs.chromium.org/p/chromium/issues/detail?id=1416398

* chore: test binary against vite update in RWA

* remove wait for RWA as it shouldnt be needed for vite. link example recipes update to node 18

chore: remove commented out code

* chore: print message when DISABLE_SNAPSHOT_REQUIRE is set

* chore: clean out unneeded dependencies always

* chore: remove trailing space

* fix: propagate click events for enter and typing on firefox 106 or later

* chore: fix changelog failures

* fix: correctly simulate click events for buttons on keyup and space type  in Firefox versions greater than 91 and simulate click for buttons on enter in Firefox versions greater than or equal to 106

* chore: add documentation to type to clarify firefox synthetic events

* chore: update protocol snapshot as order or log messages seems to have changed

* update comments

* sort commandLogChanged events for protocol

* chore: remove PR ids from CRA and CER as the PRs are merged into develop

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
2023-09-07 15:26:09 -04:00
Evan Liu 07b1c3bb49 chore: make indent consistent (#27757) 2023-09-06 12:23:18 -04:00
Ryan Manuel d8b48211c0 fix: ensure that fatal protocol errors are only limited to the spec they occurred on (#27720) 2023-08-31 11:01:50 -05:00
renovate[bot] 0396b9b17e fix(deps): update dependency plist to v3.1.0 🌟 (#27710)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ben M <benm@cypress.io>
2023-08-31 09:25:50 -04:00
Bill Glesias f1a1c97fcf fix: fix release date to be august 29th and not august 30th (#27711) 2023-08-30 17:35:05 -05:00
Ryan Manuel 7072f3c168 fix: make CDP errors non fatal (#27709) 2023-08-30 14:47:11 -05:00
Chris Breiding cbf266c05e fix: Include run.stats.skipped in results (#27695)
Co-authored-by: Matt Schile <mschile@cypress.io>
2023-08-30 15:30:23 -04:00
Dave Kasper 05afa1eaa5 feat: Add status icon to Sidebar Runs Page (#27672)
* basic structure and stubs for tests

* think this works, needs validation and icon

* partially working, needs i18n cleanup for failure count

* working with tests and i18n

* update to latest status icon

* fix debug integration tests

* removing ts-expect-error for isWindows util to match 13 branch

* add change log

* whatever

* speculate on release

* fix typo in template
2023-08-29 18:38:17 -05:00
Ryan Manuel 0a0eebd67d Merge branch 'develop' into fix/config-port-overriding-devserver 2023-08-28 20:32:23 -05:00
Ryan Manuel ca7bad2e16 fix last flake 2023-08-28 19:48:06 -05:00
Ryan Manuel 9a0481f745 fix last flake 2023-08-28 19:33:23 -05:00
Matt Schile 1c7b17813e chore: exclude null highlight elements from protocol snapshot (#27685) 2023-08-28 18:29:12 -05:00
Ryan Manuel 35523a2303 fix tests 2023-08-28 17:49:03 -05:00
Ryan Manuel 8322f14d6b fix cy in cy test 2023-08-28 17:19:02 -05:00
Ryan Manuel 5b621def3b fix additional cy in cy tests 2023-08-28 17:16:20 -05:00
Ryan Manuel b6f8794df7 fix tests 2023-08-28 16:41:11 -05:00
Ryan Manuel 37dd857d13 fix additional tests 2023-08-28 16:09:20 -05:00
Chris Breiding cc45c67a36 chore: update/fix v13 changelog (#27680) 2023-08-28 16:25:53 -04:00
Ryan Manuel 837a19c457 fix launchpad tests 2023-08-28 14:28:27 -05:00
Ryan Manuel fbd86e1bfb additional fixes 2023-08-28 14:05:07 -05:00
Ryan Manuel ee912fafcb fix tests 2023-08-28 13:45:44 -05:00
Ryan Manuel c30ce10e4c fix cy in cy tests 2023-08-28 13:10:07 -05:00
Brian Mann f82fdf026e fix: allow cypress config.port to override devServer.port for proxying assets 2023-08-28 03:01:35 -04:00
Ryan Manuel d75dab107e chore: remove prerequests on request failed events (#27674)
* chore: remove prerequests on request failed events

* fix test
2023-08-27 21:44:29 -05:00
Ryan Manuel 5e39da7698 chore: better efficiency with acks 2023-08-26 15:49:03 -05:00
Ryan Manuel 228a117e82 feat: swap websocket transport with cdp add binding/evaluate (#27592)
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2023-08-25 21:05:33 -05:00
Matt Schile 5fe94731dc chore: support experimentalSingleTabRunMode in protocol (#27659) 2023-08-25 15:48:55 -06:00
Cacie Prins dc5ebd1738 chore: fixes url validation error on artifact report (#27671) 2023-08-25 16:41:26 -04:00
Bill Glesias f3f7aaaa40 chore: better test getVideoEmbedHtml code in e2e test (#27667) 2023-08-25 14:31:30 -05:00
Ryan Manuel 9a5a899180 fix TS 2023-08-25 11:21:02 -05:00
Ryan Manuel af12aa01e0 fix merge 2023-08-25 10:19:35 -05:00
Ryan Manuel 1cbe947de0 fix merge 2023-08-25 09:42:54 -05:00
Matt Schile 2c3e1ac072 chore: updating log to use createdAtTimestamp and updatedAtTimestamp (#27660) 2023-08-25 08:31:34 -06:00
Ryan Manuel bb7b7c0657 Merge branch 'develop' into release/13.0.0 2023-08-25 09:02:04 -05:00
Cacie Prins 626550e9f6 chore: add mountVersion to props passed to protocol setup (#27645)
* add mountVersion to metadata passed to set up protocol capture

* chore: pass mount version to protocol setup

* update tests
2023-08-25 09:30:15 -04:00
Bill Glesias 150b04cbe5 chore: add v13 welcome page content (#27549)
* feat: add v13 splash page content (wip)

chore: add video link for v13 inside graphql context and root resolver. add migration tests outside of migration manager and update component tests to test aspects

chore: update copy to most recent. Needs onlink deployments

chore: opt for named slot in major version welcome as we still want to show the changes whether or not the video is present

chore: fix video margin by shrinking the margin for a more appealing loadout

chore: update onlinks for what is expected in deploy

chore: adjust margins around video, move video up, and reduce margin on major welcome title

chore: bump release date to 8/29

chore: update stubbed query to reference actual video

* Update packages/launchpad/src/migration/MajorVersionWelcome.vue

Co-authored-by: Mark Noonan <mark@cypress.io>

* Update packages/launchpad/src/migration/MajorVersionWelcome.vue

Co-authored-by: Mark Noonan <mark@cypress.io>

* chore: update code elements to be inlinecodefragments

* chore: update utm links to reflect correct nomenclature

* stub migration src in  network performance launchpad test on video as abortcontroller is difficult to test with current ctx setup

---------

Co-authored-by: Mark Noonan <mark@cypress.io>
2023-08-24 19:36:24 -04:00
Lachlan Miller 65cb16f900 refactor: shared routing for E2E and CT (#27618)
* remove server e2e

* missing functions

* fixing tests

* minimize server-ct

* linting

* trying to fix

* remove unused file

* routes

* update usage

* remove routes

* remove ct specific route

* revert code
2023-08-25 07:47:42 +10:00
Chris Breiding 2c8337a913 chore: upgrade @cypress/request-promise to 5.0.0 (#27655) 2023-08-24 11:14:18 -04:00
Chris Breiding 7f45375439 breaking: Upgrade @cypress/request to 3.0.0 (#27495) 2023-08-23 15:16:27 -04:00
Bill Glesias 8b5c551890 fix: resolve process/browser to process/browser.js to resolve correctly in ESM packages where .mjs or .js files exist where process is being used and globally imported. [run ci] (#27611)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2023-08-22 14:11:14 -05:00
Matt Schile f9df6874ce test: fixing clock test that was not passing params in test:before:after:run:async (#27597) 2023-08-22 09:48:55 -06:00
Adam Stone-Lord 0f638ecdfd chore: skip flaky component test for selector playground (#27609)
Co-authored-by: Jordan <jordan@jpdesigning.com>
2023-08-22 11:48:16 -04:00
Matt Schile f427514683 test: update proxy-logging test to support log:changed (#27600) 2023-08-22 09:46:31 -06:00
Ryan Manuel 43821bf53d feat: handle empty response bodies by communicating them to the protocol from the proxy (#27606) 2023-08-21 19:31:40 -05:00
Lachlan Miller c284bd4c9d fix: clarify svelte 4 is supported (#27473)
* chore: update svelte deps

resolves https://github.com/cypress-io/cypress/issues/27465

* Update packages/scaffold-config/src/dependencies.ts

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>

* changelog

* update changleog

* log

* log

---------

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
Co-authored-by: Jordan <jordan@jpdesigning.com>
Co-authored-by: Adam Stone-Lord <adams@cypress.io>
2023-08-22 10:18:14 +10:00
Cacie Prins b7b95e922d chore: fix artifact report schema (#27596)
* ensure fatal error reports for protocol include a url entry, even if not applicable

* inconsequential debug msg change to alleviate semantic commit check warning
2023-08-21 19:03:29 -04:00
Dave Kasper e420cf4551 chore: add demo fixtures for a11y testing (#27598)
* intro work, need build to verify anything

* functional with basic button color

* finish styles and clicks

* add checkbox

* fix errors

* partial inputs, need final test validation

* working input tests, next slider

* working slider, need cleanup

* basic interaction

* remove unneeded code

* remove segment number
2023-08-22 07:32:55 +10:00
Cacie Prins dc931d2dbe chore: syncing log (#27579)
* flush log change event during test after run

* tests for new flush logic for log change events

* whitespace

* comments

* initialize flag

* comment new protocol flush to verify failing ci test

* comment out test that will fail with commented flush logic, verifying test failure elsewhere

* re-enable flush logic
2023-08-21 16:41:07 -04:00
Ryan Manuel b0df02b8d7 Merge branch 'develop' into release/13.0.0 2023-08-21 13:31:12 -05:00
Adam Stone-Lord be2f828d64 chore: skip running ct mount hover test against angular-14 project (#27585) 2023-08-21 09:50:17 -04:00