Commit Graph

866 Commits

Author SHA1 Message Date
renovate[bot]
8e3787a083 chore(deps): update dependency mobx to v6.13.6 (#31183)
* chore(deps): update dependency mobx to v6.13.6

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-27 13:15:24 -05:00
Bill Glesias
7ffd5a33c1 chore: release 14.1.0 (#31168) 2025-02-25 12:26:26 -05:00
Bill Glesias
760f60026d chore: update wdio dependencies to latest for firefox [run ci] (#31078) 2025-02-12 09:48:18 -05:00
Bill Glesias
d2be6c05fa chore: release 14.0.3 (#31077) 2025-02-11 13:11:39 -05:00
Bill Glesias
66bf74f5b2 chore: Revert "chore: update wdio dependencies to latest for firefox (#30822)" (#31074)
This reverts commit 33eb6c818e.
2025-02-11 12:57:28 -05:00
renovate[bot]
d733b86a71 dependency: update dependency @cypress/request to ^3.0.7 (#31063)
* fix(deps): update dependency @cypress/request to ^3.0.7

* empty commit

* add dep to changelog

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-11 10:43:10 -05:00
Bill Glesias
33eb6c818e chore: update wdio dependencies to latest for firefox (#30822)
* chore: update wdio dependencies to latest and update patches [run ci]

* chore: update webdriver
2025-02-10 16:27:22 -05:00
Cacie Prins
8ac550482e refactor: use an xml parser for less brittle mocha result verification (#30865)
* refactor: use an xml parser for less brittle mocha result verification

* fix merge
2025-02-06 15:21:59 -05:00
Bill Glesias
fec6912cf9 chore: move browser-versions.json values straight into the workflow yaml (#30989)
* use env variables in yaml [run ci]

* add husky hook to lint-staged to format the circle workflow file on commit when the file changes to keep the diff from the github actions job short

* chore: cut over browser-version scripts from json to yaml to update the workflow file inline

* Update scripts/format-workflow-file.js

Co-authored-by: Matt Schile <mschile@cypress.io>

* move expected yaml keys to const variables

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2025-02-05 13:53:04 -05:00
Bill Glesias
6f067bcab5 chore: release 14.0.2 (#31021) 2025-02-04 18:01:56 -05:00
renovate[bot]
0317d828f6 chore(deps): update dependency lerna to v8.1.9 (#30994)
* chore(deps): update dependency lerna to v8.1.9

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-31 15:39:13 -05:00
renovate[bot]
c1390bffd8 chore(deps): update dependency devtools-protocol to v0.0.1413303 (#30986)
* chore(deps): update dependency devtools-protocol to v0.0.1413303

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-31 12:52:06 -05:00
Bill Glesias
cbc28a6d38 chore: release 14.0.1 (#30963)
* release: 14.0.1

* chore: empty commit to pass the semantic pr job as we cannot amend a protected branch
2025-01-28 11:57:05 -05:00
Jennifer Shehane
92e428a357 chore: add type linting + compilation checks to packages (#30776)
* chore: add type linting + compilation checks to runner package

* empty commit

* A bunch of tslint fixes

* wow it is building

* Fix issue with CT not mounting correctly with comments within it

* Fix net-stubbing.ct.ts failures

* Fix tslint: disable comment

* move target into compilerOptions

* fix tslint disable comment

* update proxy-logging to undo changes

* standardize the tslint:disable comments

* fix comment

* fix the banner content not displaying and write a test for this situation

* fix ct reference

* put target to es2020

* actually set the property with replaced title

* Update packages/reporter/src/hooks/hook-model.ts

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* Fix eslint/tslint settings for system-tests with vue 3

* bump CI cache

* update types/react resolution

* add return

* lint fix

* tslint disable for empty blocks

* exclude dist files from ts linting

* update to exclude all dist folder

* exclude dist file

* change to await

* fix line numbers of stack trace with linting updating vue file

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-01-23 14:55:52 -05:00
Bill Glesias
90b017c1c1 chore: release Cypress 14.0.0 (#30883) 2025-01-16 08:53:56 -05:00
Cacie Prins
0532f92089 chore: Open in IDE button for block and hook definitions in Runner UI (#30859)
* init vitest unit test harness for @packages/driver

* unit tests with stack examples

* drop lines until __cypress/tests rather than just __cypress

* changelog

* changelog

* remove vitest globals (unnecessary) from driver tsconfig

* bump the number of junit reports expected from the unit tests job

* fix ts-check error in scroll.ts

* fix type definition for getInvocationDetails

* rm packageManager key on package.json

* remove junit reporter, as script that verifies result does not recognize it as valid

* change @ts-expect-error to @ts-ignore for .scroll, as this ts check is apparently flaky

* set expected mocha result back to 19

* add ct style stacks for cy in cy ct tests

* re-enable junit reporter, update mocha result verification to be more lenient about the order of xml fields

* persist binaries for this branch

* expect 20 junit reports again

* fix mocha v vitest verification?

* add binary system test to verify correct file paths for codepoints in protocol events

* fix invocation details system test filename

* add required config for binary tests

* build on darwin to fix binary system tests

* build linux-arm64 for this branch

* simplify binary test

* build windows binary

* rm binary system test

* Update cli/CHANGELOG.md
2025-01-14 15:33:33 -05:00
Cacie Prins
2f013105b1 chore: add the packageManager key to package.json generated by corepack (#30860) 2025-01-13 13:44:20 -05:00
Jennifer Shehane
d656afa302 Merge branch 'develop' into release/14.0.0 2024-12-23 09:53:16 -05:00
Matt Schile
a15076fcf9 chore: release 13.17.0 (#30778) 2024-12-17 10:13:58 -07:00
renovate[bot]
3e1d4b9eff chore(deps): update yarn to >=1.22.22 (#30745)
* chore(deps): update yarn to >=1.22.22

* empty commit

* chore: update dependencies to resolve yarn versioning issue

* bump cache

* try to fix build

* try to fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2024-12-11 18:49:24 -06:00
Jennifer Shehane
2e5af1e624 merge develop 2024-12-11 11:09:56 -05:00
Jennifer Shehane
ed1c510ac4 dependency: Bump chai from 4.2.0 to 4.5.0 (#30737)
* Bump chai to 4.5.0

* empty commit

* Add changelog entry
2024-12-10 12:49:54 -05:00
Matt Schile
ffefdb0f09 dependency: electron 33 upgrade (#30716) 2024-12-06 15:24:40 -07:00
Jennifer Shehane
a65e7b546b Merge branch 'develop' into release/14.0.0 2024-12-03 12:05:56 -05:00
Cacie Prins
246b37a8ea chore: release 13.16.1 (#30704) 2024-12-03 11:42:14 -05:00
Jennifer Shehane
636bed9cf7 merge develop 2024-12-02 09:42:47 -05:00
Matt Schile
5c21c4b401 chore: release 13.16.0 (#30650) 2024-11-19 10:19:06 -07:00
Bill Glesias
a6d2b2f6e3 chore: update to react 18 for the reporter from 17.0.2 to 18.3.1 [run ci] (#30567) 2024-11-13 19:45:43 -05:00
AtofStryker
c55bcb1f68 Merge branch 'develop' into chore/merge_develop 2024-11-06 14:30:31 -05:00
Bill Glesias
03af592ca2 chore: update @packages/reporter react from 16.8.6 to 17.0.2 and updates @types/react* packages from 16x to 17x (#30516)
* chore: update @packages/reporter react from 16.8.6  to 17.0.2  and updates @types/react* packages from 16x to 17x [run ci]

* hoist dependencies up due to peer dep issues with react and the runner/reporter needing to locate the same react (this is dumb)

* update react-18 package to reference types delcared in root (kind of goofy but existing pattern) [run ci]

* correctly look up react instance as __reactInternalInstance no longer exists in react17 [run ci]

* fix failing test now that repo is on react 17 [run ci]
2024-11-06 13:27:07 -05:00
Matt Schile
c2596e6a14 chore: release 13.15.2 (#30547) 2024-11-05 14:19:46 -05:00
renovate[bot]
6e8142d408 chore(deps): update dependency stop-only to v3.4.1 (#30538)
* chore(deps): update dependency stop-only to v3.4.1

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-11-05 12:15:44 -05:00
Jennifer Shehane
8220c522b7 dependency: Update jQuery to latest (#30345)
* remove jquery patch

BREAKING: remove the patch that was preventing width/height calculation changes

* changelog entry

* fix issue link

* Update halfScrollPixels to width/height that jQuery returns

* Update scroll tests to properly check for half with no scrollbar

* remove passing variable that doesn't exist in jquery scrollto

* bump to jQuery 3.5.0 + fix invalid DOM in tests

* bump down jquery - got too excited

* Fix the tests to be accurate

* bump jquery

* switch to client, see what breaks

* Repatch jquery and update tests back to old logic

* add dep changelog entry

* remove test that's reliant on deprecated jQuery focus

* update test to follow cypress conventions for chaining

* Update regex to include jQuery stack traces as well as sizzle since jQuery is moving away from sizzle

* update changelog

* update focus link to fix it

* added patch for :focus selector

* Move changelog entry to 4.0

---------

Co-authored-by: Matthew Schile <mschile@cypress.io>
2024-11-04 11:36:09 -05:00
Jennifer Shehane
a3a975fc1c Merge branch 'develop' into release/14.0.0 2024-10-30 17:02:10 -04:00
Jennifer Shehane
0e5b131b46 dependency: bump cypress/request dependency (#30488)
* dependency: bump cypress/request dependency

* changelog entry
2024-10-30 09:08:14 -04:00
Ryan Manuel
9fda261dde chore: upgrade electron to 32.2.0 (#30394)
* chore: upgrade electron to 32.2.0 -- run ci

* fix node versions

* fix build

* fix evil-dns

* various fixes

* fix srcdoc

* various fixes

* update package.json

* update yarn.lock

* various fixes

* fix integrity check

* fix binary verification

* various fixes

* update yarn.lock

* fix typo

* fix lock file

* fix tests

* fix tests

* various fixes

* various fixes

* various fixes

* fix stuff

* fix things

* try to fix errors

* fix

* updates

* add yarn berry

* upgrade electron

* attempt with gcc

* blank

* update arm64 executor

* try to fix the arm64 issue

* fix arm64

* bump cache

* attempt to fix arm64 again

* attempt to fix arm64 again

* fix darwin problems

* merge release/14.0.0

* update yarn.lock

* blank -- run ci

* blank

* blank

* blank

* try something

* try something

* clean up

* blank

* try to fix sessions issue

* fixes

* get more info

* get more info

* try something

* fix

* try something

* try something

* try something

* tweak

* one more thing

* let us see if this works

* blank

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* Apply suggestions from code review

* Apply suggestions from code review

* Update cli/CHANGELOG.md

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* Update cli/CHANGELOG.md

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* Update CHANGELOG.md

* Update cache-version.txt

* fix nx (maybe)

* Update package.json

* try something

* Update packages/app/src/runner/aut-iframe.ts

* bump version

* try to bust cache

* try to invalidate cache

* Update cli/CHANGELOG.md

* suppress benign warnings

* Apply suggestions from code review

* PR comments

* PR comment

* Apply suggestions from code review

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* Update cli/CHANGELOG.md

Co-authored-by: Matt Schile <mschile@cypress.io>

* update debug scenario 4 regex

* Update scripts/binary/trigger-publish-binary-pipeline.js

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Matt Schile <mschile@cypress.io>
2024-10-29 14:55:26 -05:00
Jennifer Shehane
fd8c2a3997 Merge branch 'develop' into release/14.0.0 2024-10-25 13:36:00 -04:00
Jennifer Shehane
59404e7c6f breaking: Remove run-ctand open-ct CLI commands (#30456)
* Remove run-ct and open-ct as CLI commands

BREAKING: Remove run-ct and open-ct as CLI commands

* Add changelog entry

* add CLI to changelog
2024-10-25 11:26:41 -04:00
Bill Glesias
199b1cd580 chore: release 13.15.1 (#30454) 2024-10-24 09:36:10 -05:00
Ryan Manuel
cfed01b3fc chore: attempt to not cache electron build (#30446)
* chore: attempt to not cache electron build

* blank -- run ci

* fix -- run ci

* fix -- run ci

* improvement
2024-10-23 14:42:56 -05:00
Bill Glesias
eed699eb6d chore: update lerna to 8.1.8 from 6.6.2 (#30436)
* fix sync script with updateds npm-packlist

* chore: update lerna from 6.6.2 to 8.1.8 and ran lerna repair

* chore: pin typescript to ~5.4.5 to avoid importsNotUsedAsValues that was removed in 5.5 and edit workflows and scripts to correctly scope learna packages on v8 snapshot tests [run ci]

* fix indentation in comments

* remove console.log reference to print current package directory in sync exported npm with cli script
2024-10-22 14:46:46 -04:00
Bill Glesias
0e316966af misc: implement webdriver on top of geckodriver in order to reduce overhead maintenance and code (#30324)
* misc: implement webdriver npm package as the client for the webdriver specification

* misc: go back to xulstore to save browser preferences [run ci]

* add changelog [run ci]

* chore: fix screenshot resolution [run ci]

* fix check-ts issues [run ci]

* run windows ci [run ci]

* run ci

* add comments [run ci]

* build binaries for webdriver impl [run ci]

* fix Cypress namespace missing issue. see 6d7ba97c25

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* patch edgedriver and preserve dependency paths for webdriver so they are included in the binary [run ci]

* fix issues with firefox profile not being created in open mode when old profile exists from previous cypress versions where they are no longer compatible [run ci]

* address comments that came up in review [run ci]

* see if this fixes extension test [run ci]

* make sure process kill emits the exit event [run ci]

* update geckodriver to include contribution patch to types [run ci]

* fix misapplication of geckodriver package (accidentally deleted) [run ci]

* empty commit to trigger ci [run ci]

* address comments from code review [run ci]

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2024-10-15 11:18:14 -04:00
renovate[bot]
80e70b8988 chore(deps): update dependency @nrwl/nx-cloud to v19 (#30057)
* chore(deps): update dependency @nrwl/nx-cloud to v19

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
2024-09-27 11:19:08 -04:00
Matt Schile
0d2248c96e chore: release 13.15.0 (#30292) 2024-09-25 13:16:19 -04:00
Jennifer Shehane
0a15c8d2cc dependency: bump @cypress/request to ^3.0.4 (#30194)
* empty commit

* dependency: bump cypress/request

* add changelog entry
2024-09-10 12:29:25 -04:00
Gweesin Chan
7337927a74 chore(deps): update dependency rimraf to v5.0.10 (#30155)
* chore(deps): update dependency rimraf to v5.0.10

* fix: fix clean errors caused by rimraf breaking change

* refactor: use promise instead of callback

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2024-09-05 15:32:23 -04:00
renovate[bot]
d067b7ed4b chore(deps): update dependency devtools-protocol to v0.0.1346313 (#30112)
* chore(deps): update dependency devtools-protocol to v0.0.1346313

* empty commit

* patch updated types for our devtools-protocol version

* dev patch

* Revert "dev patch"

This reverts commit 031b00df5f.

* Revert "patch updated types for our devtools-protocol version"

This reverts commit 44b31a3414.

* try to set devtools-protocol resolution

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-09-05 14:06:35 -04:00
Bill Glesias
12d8e0bd6e chore: release 13.14.2 (#30182) 2024-09-04 11:12:09 -04:00
renovate[bot]
c1b95b5589 chore(deps): update dependency mini-css-extract-plugin to v2.9.1 (#30151)
* chore(deps): update dependency mini-css-extract-plugin to v2.9.1

* empty commit

* update other deps and remove types

* update yarn.locks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-09-03 23:12:41 -04:00
renovate[bot]
b83548ade8 chore(deps): update dependency eslint-plugin-cypress to v3 (#30136)
* chore(deps): update dependency eslint-plugin-cypress to v3

* empty commit

* Fix cypress eslint errors in system tests

* Update snapshots after changing protocol tests.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-09-03 14:25:56 -04:00