Commit Graph

20797 Commits

Author SHA1 Message Date
Mike McCready 4ff3b2b0db misc: correct CLI help typo for cypress open --global (#30532)
* misc: correct CLI help typo for cypress open --global

* move changelog entry to correct version
2024-11-04 11:18:43 -05:00
Bill Glesias c33ff6a46c chore: remove react dependency from the server as it looks unused [run ci] (#30515) 2024-11-04 10:21:03 -05:00
DevMiner b8a5280fd3 chore: replace is-ci with underlying ci-info package (#30465)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-11-01 10:57:01 -04:00
Jennifer Shehane 41623ed0e5 chore: remove deprecated system test execOptions (#30478)
* chore: remove deprecated system test execOptions

* empty commit
2024-11-01 10:46:39 -04:00
github-actions[bot] 1760b0e31a chore: Update Chrome (beta) to 131.0.6778.24 (#30503)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-11-01 09:44:32 -04:00
github-actions[bot] 018c2fc4a7 chore: Update Chrome (stable) to 130.0.6723.91 (#30496)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-10-30 16:59:49 -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
Emily Rohrbough 00cf0289ee chore: correct reading env (#30476) 2024-10-28 10:22:54 -04:00
github-actions[bot] d5dfac5882 chore: Update Chrome (beta) to 131.0.6778.13 (#30451)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-10-24 11:03:27 -04:00
Bill Glesias 199b1cd580 chore: release 13.15.1 (#30454) v13.15.1 2024-10-24 09:36:10 -05:00
Bill Glesias c8439b2856 chore: disable nx caching and add web extension docs (#30449)
* chore: do not cache the nx functions as it is too difficult to deterministically bust the cache [run ci]

* chore: update extension docs for debugging [run ci]
2024-10-23 17:36:33 -04: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
Ryan Manuel 63937b653c chore: enable nx cache invalidation via the circle version file (#30444) 2024-10-23 09:28:59 -05:00
github-actions[bot] b335e4bb5a chore: Update Chrome (stable) to 130.0.6723.69 (#30442)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-10-23 09:19:15 -04: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
Ryan Manuel 0e28a81202 chore: fix windows job due to ipv6 issues (#30437)
* chore: fix windows job due to ipv6 issues

* Update server-base.ts

* fix

* limit to just windows

* Update packages/network/lib/connect.ts
2024-10-22 08:22:10 -05:00
Ryan Manuel 4ba72c94aa fix: ensure that requests to the same resource will be properly intercepted even if they are sent in rapid succession (#30435)
* fix: ensure that requests to the same resource will be properly intercepted even if they are sent in rapid succession - run ci

* add changelog

* Update packages/net-stubbing/lib/server/middleware/request.ts

* PR comments
2024-10-22 08:21:44 -05:00
Bill Glesias aafac6a610 chore: add graphql schema update and wrap process.kill to swallow esrch error [run ci] (#30434) 2024-10-21 15:26:40 -04:00
github-actions[bot] e0177ffd17 chore: Update Chrome (beta) to 131.0.6778.3 (#30416)
* chore: Update Chrome (beta) to 131.0.6778.3

* fix type test

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Matthew Schile <mschile@cypress.io>
2024-10-21 10:05:10 -04:00
Bill Glesias 05333076c6 chore: gracefully handle CDP address not returning from webdriver capabilities, prompting a browser relaunch (#30393)
* chore: gracefully handle CDP address not returning from webdriver capabilities, prompting a browser relaunch

Update packages/server/lib/browsers/firefox.ts

add inline comment to github comment thread [run ci]

strongly type errors more consistently [run ci]

* add test for firefox cdp error for visual snapshot [run ci]
2024-10-18 23:37:37 -04:00
github-actions[bot] c420d9c6f9 chore: Update Chrome (stable) to 130.0.6723.58 and Chrome (beta) to 130.0.6723.44 (#30396)
* chore: Update Chrome (beta) to 130.0.6723.44

* chore: Update Chrome (stable) to 130.0.6723.58 and Chrome (beta) to 130.0.6723.44

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-10-16 19:51: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 https://github.com/cypress-io/cypress/pull/30331/commits/6d7ba97c2562054e11983e8bfed576f0fa3ee37b

* 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
Matt Schile a3f006edb8 chore: update to use firefox 131 docker images (#30403) 2024-10-11 15:06:19 -06:00
Ryan Manuel 18cf93de00 Revert "chore: updating v8 snapshot cache" (#30391)
This reverts commit 0916ab7eb7.
2024-10-10 10:50:41 -05:00
cypress-bot[bot] 0916ab7eb7 chore: updating v8 snapshot cache 2024-10-10 15:19:20 +00:00
Ryan Manuel 04c1e8c90b fix: ensure that find-process does not error out due to a bad regex (#30380)
* fix: ensure that find-process does not error out due to a bad regex

* add changelog

* fix patch

* add a test

* add comment

* update comment

* blank

* blank
2024-10-10 09:15:40 -05:00
github-actions[bot] 8a8015b774 chore: Update Chrome (stable) to 129.0.6668.100 (#30379)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-10-09 11:11:23 -04:00
Emily Rohrbough 0ed7de8a7c chore: aq results api (#30325)
* empty commit

* new workflow for a11y results

* empty commit

* Update required jobs to be a11y focused

* persist files to workspace

* restore workspace

* yarn

* .

* update

* update

* include context

* .

* translate record key

* .

* add rule check

* re-add all jobs

* cleanup

* add to the contributor pr workflkow

* rename to verify results

* ensure run is completed before fetching a11y results

* flip the logic to only track problematic rules, not passing rules

* speed up install

* ssh

* install locally

* re-add commented out jobs

* Update scripts/verify-accessibility-results.js

* pr feedback

* address pr feedback

* remove rules that were just resolved

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-10-07 12:33:42 -04:00
Emily Rohrbough 45de9ec2fe chore: address some accessibility violations (#30358) 2024-10-07 10:26:50 -05:00
github-actions[bot] c3f5e567fc chore: Update Chrome (beta) to 130.0.6723.31 (#30362)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-10-04 09:16:17 -04:00
Bill Glesias 02be8e5d37 chore: temporarily patch windows build to install dependencies as caching is currently broken (#30350) 2024-10-03 09:36:18 -04:00
renovate[bot] 619a9ab511 dependency: update dependency simple-git to v3.25.0 (#30076)
* empty commit

* fix(deps): update dependency simple-git to v3.25.0

* cli entry

* yarnlock

* mock out simple-git for failing unit tests

* fix yarn lock merge

* changelog

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cacie Prins <cacie@cypress.io>
2024-10-02 10:02:22 -04:00
github-actions[bot] f98810c31b chore: Update Chrome (stable) to 129.0.6668.89 (#30340)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-10-02 09:59:40 -04:00
Ryan Manuel 8cff95661a misc: pass spec to beforeSpec to support better reporting on client side protocol errors (#30316)
* feat: pass spec to beforeSpec to support better reporting on client side protocol errors

* Update packages/types/src/protocol.ts

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

* update changelog

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2024-09-30 16:55:13 -05:00
Bill Glesias 6af696081a chore: bump cache to try and fix windows build [run ci] (#30323) 2024-09-30 16:45:51 -04:00
Bill Glesias af3839d990 misc: replace marionette-client with geckodriver as b2g marionette client is no longer supported (#30250)
* misc: replace marionette-client with geckodriver as b2g marionette client is no longer supported [run ci]

* install pump [run ci]

* refactor to have geckodriver launch the browser and split out webdriver to own class [run ci]

fix other failing tests [run ci]

fix other failing tests [run ci]

pass env variables to firefox

* fix sigkill / treekill issues on windows with firefox binary being a dangling process [run ci]

* fix issue where browser in headed mode was not starting maximized [run ci]

* stub firefox_spec added deps different to get type inference

* add comment to geckodriver patch

* move capabilities to verbose debug statement

* update changelog

* address comments from code review

* add pending for changelog

* update with suggestions from code review

* remove debug enable as the process needs to be bound to stderr and stdout

* add comment on why we need to bind

* add comments from code review

* address comments from code review

* make sure sessionId is set
2024-09-30 12:19:03 -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
github-actions[bot] 83c194aa58 chore: Update Chrome (beta) to 130.0.6723.19 (#30299)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-09-27 09:53:27 -04:00
github-actions[bot] 5afb929473 chore: Update Chrome (stable) to 129.0.6668.70 (#30279)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
v13.15.0
2024-09-25 13:54:37 -04:00
Matt Schile 0d2248c96e chore: release 13.15.0 (#30292) 2024-09-25 13:16:19 -04:00
Jennifer Shehane 8d71cc4526 chore: Update changelog to 'addresses' rather than addressed in (#30275) 2024-09-25 12:53:26 -04:00
Cacie Prins 1d845323d4 feat: Improve UX when Test Replay upload fails due to slow upload (#30235)
* new error message for stream stall upload failures

* new unknown error msg, extract printProtocolUploadError for testing, consolidatd args for stream stall msg

* rename env more appropriately, add sampling interval param to putProtocolArtifact

* default to 5000, override with app capture protocol value, override that with env var

* update snapshots

* fix math in upload stall error msg

* changelog

* update gql schema w/ new error msg, fix protocol tscheck

* update test to use fn for app capture supplied interval

* increase default stream stall interval to 10 seconds

* typos

* snapshots

* rename env var

* do not use user-supplied interval if it parses to NaN

* use the more standard makeErr for unknown/uncategorized upload error in visual snapshots

* rearrange upload stall error message

* fix typo

* changelog

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-09-25 11:39:28 -05:00
Ryan Manuel fbe51fc0ab chore: fix net_stubbing flake (#30276)
* chore: fix net_stubbing flake

* different fix

* fix flake
2024-09-25 09:42:20 -05:00
Jennifer Shehane 88900e79a4 chore: update tests to skip the welcome screen on launchpad tests. (#30240)
* chore: update tests to skip the welcome screen on launchpad tests.

* empty commit

* Fix some tests

* Fix another test
2024-09-23 11:28:17 -04:00
Jennifer Shehane 954cc5043e chore: [Snyk] Security upgrade express from 4.19.2 to 4.21.0 in packages/graphql (#30225)
* fix: packages/graphql/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-BODYPARSER-7926860
- https://snyk.io/vuln/SNYK-JS-EXPRESS-7926867
- https://snyk.io/vuln/SNYK-JS-SEND-7926862
- https://snyk.io/vuln/SNYK-JS-SERVESTATIC-7926865

* yarn lock

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-09-23 11:28:05 -04:00
Jennifer Shehane 3ff88b7d98 chore: Fix double bugfixes headings in changelog (#30268)
* Fix double bugfixes headings in changelog

* empty commit
2024-09-23 10:41:30 -04:00
github-actions[bot] 0bdf49577f chore: Update Chrome (beta) to 130.0.6723.6 (#30256)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-09-19 11:46:52 -04:00
Mike McCready f7946de584 docs: update guides/building-release-artifacts.md (#30257) 2024-09-19 11:27:13 -04:00
Ryan Manuel ce2c52afc0 chore: fix full v8 snapshot (#30255)
* chore: fix full v8 snapshot

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2024-09-18 17:07:52 -05:00
github-actions[bot] 7c23ed71f0 chore: Update Chrome (stable) to 129.0.6668.58 (#30251)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-09-18 12:50:49 -04:00