Commit Graph

20139 Commits

Author SHA1 Message Date
Ryan Manuel
c30ce10e4c fix cy in cy tests 2023-08-28 13:10:07 -05:00
Bill Glesias
8e03114835 chore: bump cache version 2023-08-28 12:17:44 -04:00
Adam Stone-Lord
e533618ab7 chore: publish packages with the correct branch name in buildInfo (#27682) 2023-08-28 12:08:11 -04:00
Brian Mann
f842e3f502 Merge branch 'fix/config-port-overriding-devserver' of https://github.com/cypress-io/cypress into fix/config-port-overriding-devserver 2023-08-28 05:51:33 -04:00
Brian Mann
e90de0ea85 update snapshots 2023-08-28 05:51:23 -04:00
Lachlan Miller
4c54f20129 changelog 2023-08-28 17:30:46 +10: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
Jennifer Shehane
485d91dc29 Merge branch 'develop' into release/13.0.0 2023-08-27 15:49:53 -04: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
cypresschris
f383ae329f chore: SEC-688 | updates to sca scan action (#27639)
* Chore: SEC-688 | updates to sca scan action

* Chore: SEC-688 | removed push event

* SEC-688 | Updates to SAST scan configs

* SEC-688 | Update SCA scan to include CLI

* chore: empty commit for semantic versioning

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2023-08-25 16:34:59 -05:00
Chris Breiding
c763d85f54 chore: use SKIP_RELEASE_CHANGELOG_VALIDATION env var to skip release-… (#27670) 2023-08-25 16:44:13 -04: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
Bill Glesias
1c6a2e130e BREAKING: add breaking changes/deprecations to cypress dependencies, such as typescript and node that may affect users moving forward on v13 (#27642) 2023-08-25 10:10:02 -04: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
rewento
4288634e0b fix: Properly type Cypress and Chai globals as properties of the global object (#27540)
* Minor modifications to CLI types so that Cypress and Chai globals are correctly declared not only to be in the global scope but also to be in properties of globalThis, which they are. The change allows composers to explicitly access them through globalThis (e.g., 'globalThis.cy.mount', 'globalThis.expect'). The current typing prohibits this by incorrectly declaring that the objects in question are held in local variables of the global scope rather than in properties of globalThis.

* Reverted a change from previous commit

* fix: Properly type Cypress and Chai globals as properties of the global object

* fix: Properly type Cypress and Chai globals as properties of the global object

* fix: Properly type Cypress and Chai globals as properties of the global object

* update changelog

* fix changelog entry

* fix changelog entry

---------

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
2023-08-24 11:22:04 -04: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
cypresschris
9bd124e308 Revert "Chore: SEC-688 | TEsting" (#27626)
This reverts commit 7b18db95d8.
2023-08-22 14:28:42 -05: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
cypresschris
7b18db95d8 Chore: SEC-688 | TEsting 2023-08-22 12:26:08 -05:00
Bill Glesias
5109a74e21 fix: patch enhanced-resolve when installed as production dependency (#27583) 2023-08-22 11:49:45 -04: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
cypresschris
1f1e39e92c chore: SEC-688 | Update to the SCA scan action for Snyk (#27614) 2023-08-21 15:26:17 -05:00
Ryan Manuel
b0df02b8d7 Merge branch 'develop' into release/13.0.0 2023-08-21 13:31:12 -05:00
Adam Stone-Lord
fe6f72f6c7 chore: fix get-published-artifact script (#27610)
* chore: fix get-published-artifact scripts [run ci]

* update unit test, check linux-arm workflow [run ci]

* circle workflow getting cached?
2023-08-21 12:34:56 -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
Lachlan Miller
62bf87da8b fix: try to only add commonjs when running Cypress config (#27484)
* try to only add commonjs when running Cypress config

* chore: add moduleResolution node

* test: update tests to follow new patch

* move module outside of TS_NODE_COMPILER process env

* changelog

* changelog

* changelog

* changelog

* changelog

* regression test

* add tests bck in

---------

Co-authored-by: jordanpowell88 <jordan@jpdesigning.com>
2023-08-21 08:46:28 +10:00
Matt Schile
c1a8004924 chore: added support for --runner-ui and --no-runner-ui cli options (#27582) 2023-08-18 16:32:53 -06:00
Adam Stone-Lord
379619ad48 chore: fix Windows workflow (#27594)
* chore: try bumping Circle cache to fix Windows workflow [run ci]

* try re-installing electron to fix Windows workflow [run ci]
2023-08-18 14:13:45 -04:00
Matt Henkes
e06334d289 Merge branch 'develop' into release/13.0.0 2023-08-18 10:39:40 -05:00
Adam Stone-Lord
24f1460692 chore: revert changes to build process (#27584)
* Revert "chore: remove Typescript dependency from app node_modules in binary (#27577)"

This reverts commit 60d4c8356c.

* Revert "chore: simplify build script (#27547)"

This reverts commit 0a86ec686e.

* Revert "chore: upgrade lerna to 6, cache build step (#26913)"

This reverts commit 9e60aeba8f.

* build everything

* [run ci]
2023-08-18 10:05:29 -04:00
Adam Stone-Lord
60d4c8356c chore: remove Typescript dependency from app node_modules in binary (#27577)
* chore: try removing Nx cache from binary [run ci]

* try removing typescript dep [run ci]
2023-08-17 11:26:34 -04:00