Commit Graph

683 Commits

Author SHA1 Message Date
Jennifer Shehane 60069bbd60 dependency: bump cross-fetch to 4.1.0 (#31327)
* dependency: bump cross-fetch to 4.1.0

* changelog entry
2025-03-19 13:07:30 -04:00
renovate[bot] bb9f554797 chore(deps): update dependency @testing-library/cypress to v10 (#31310)
* chore(deps): update dependency @testing-library/cypress to v10

* empty commit

* Remove exact args

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-17 16:27:34 -04:00
Jennifer Shehane 40dfaf3f3f chore: bump iconify logos + use caret dep (#31293) 2025-03-17 10:47:27 -04:00
renovate[bot] d0f78c0084 chore(deps): update dependency @faker-js/faker to v9 (#31290)
* chore(deps): update dependency @faker-js/faker to v9

* empty commit

* Use lorem ipsum instead of faker so the percy snapshots don't update.

* use undeprecated username method

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-14 16:43:16 -04:00
Ryan Manuel 0daf7e639f chore: support studio lifecycle in protocol (#31239)
* update url with studio params

* updates

* spec updates

* adding tests

* updating changelog

* skip adding visit log during start

* update url support

* cy origin tests

* fix tests

* updates

* update origin test

* chore: support studio lifecycle in protocol

* merge changes

* fix types

* fix tests

* fix tests

* fix tests

* fix more tests

* fix more tests

* fix more tests

* fix test

* fix bugs

* fix tests

* attempt to fix test

* further fixes

* improve cloud studio enablement

* refactoring

* remove new dom link

* fix last test

* Update packages/app/cypress/e2e/studio/studio.cy.ts

* Update packages/server/lib/project-base.ts

* Update packages/proxy/lib/http/request-middleware.ts

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

* PR comments

* fix build

* fix build

* update

* Update packages/server/lib/project-base.ts

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

* fix unit test

* rework save logic

---------

Co-authored-by: Matthew Schile <mschile@cypress.io>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-13 20:30:29 -05:00
renovate[bot] 34588e9e8d chore(deps): update dependency @vueuse/core to v7.7.1 (#31269)
* chore(deps): update dependency @vueuse/core to v7.7.1

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-13 15:01:56 -04:00
renovate[bot] 88445edbf4 chore(deps): update dependency cypress-real-events to v1.14.0 (#31263)
* chore(deps): update dependency cypress-real-events to v1.14.0

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-12 10:53:13 -04:00
Jennifer Shehane e0fce4301e chore: optimizations around browser dropdown code (#31256)
* chore: optimizations around browser dropdown code

* Write test for overlayZIndex prop, ensuring it takes effect + update styles.

* pass in numbers
2025-03-11 15:48:31 -04:00
Jennifer Shehane 830dacb51c misc: Move browser dropdown within AUT URL bar (#31216)
* misc: Begin code for moving viewport dimensions and removing dropdown

* Update styles for viewport size + scale and handle component testing views

* add changelog

* fix changelog link

* fix issue link again!

* misc: begin reworking the browser dropdown

* Update UIs for dropdowns to work right in both modes

* changelog entry

* remove assertions about browser dropdown being visible in tiny widths

* update changelog entry

* Add zindex of 5 for the aut-panel so it doesn't ever cover the reporter-panel

* Just pass zindex to style - apparently tailwind css option doesn't want to work........

* Update aut height to new height

* Move zindex to input instead of main aut-url container to prevent screenshotting from breaking.

* Add a comment, maybe it will help someone one day

* set z-index back to 51 to be above studio URL panel, but runner to 60 to be above that also

* zindex

* more z index changes!!1

* revert the resizable panel changes - make zindex of input dynamic!

* Fix browser dropdown in AutomationMissing UI
2025-03-11 09:44:20 -04:00
renovate[bot] 10d2a04b79 chore(deps): update dependency autoprefixer to v10.4.20 (#31117)
* chore(deps): update dependency autoprefixer to v10.4.20

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-18 13:36:17 -05:00
Ryan Manuel 2dce6d5831 chore: add logic to dynamically load studio functionality (#31033)
* chore: add logic to dynamically load new studio functionality

* fix types

* fix tests

* fix

* fix tests

* fix tests

* additional changes to lock things down

* clean up code

* Update guides/studio-development.md

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

* Update protocol-development.md

* additional headers

* PR comments

* Update packages/server/lib/cloud/api/get_app_studio.ts

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

* Update packages/app/vite.config.mjs

* update studio/protocol development guides

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Matt Schile <mschile@cypress.io>
2025-02-14 14:54:15 -06:00
Jennifer Shehane f920dcbd0d chore: enforce 'no-implicit-dependencies' on tslint (#31022)
* chore: enforce 'no-implicit-dependencies' on tslint

* downgrade chalk version for errors package
2025-02-06 17:33:05 -05:00
renovate[bot] 4d99002038 chore(deps): update dependency @percy/cypress to ^3.1.3 (#30985)
* chore(deps): update dependency @percy/cypress to ^3.1.3

* 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 11:51:01 -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 5e7982d3d0 chore: automatically infer cypress major version from package.json version and error when no splash page exists for said major version (#30911) 2025-01-22 16:21:57 -05:00
Bill Glesias 49d578c5c7 chore: make sure the constant for the welcome screen is patched (#30893) 2025-01-16 13:43:48 -05:00
Bill Glesias c1a7467d7c chore: update welcome screen for Cypress 14 (#30845) 2025-01-09 15:23:10 -05:00
Bill Glesias ede3833197 chore: cleanup release related items (#30840)
* chore: fix the @cypress/webpack-dev-server changelog after automated released

* chore: correct mistake in unsatified fixture
2025-01-08 13:57:18 -05:00
Jennifer Shehane 9fb270e7f2 merge develop 2025-01-07 11:47:40 -05:00
Cacie Prins 6411c4f5bf refactor: clean up experimentalSkipDomainInjection removal (#30826)
* chore: clean up experimentalSkipDomainInjection removal

* rm corepack yarn line

* update snapshots

* rm dead code, update error message
2025-01-07 11:07:01 -05:00
Matt Schile 558906f2f8 misc: update browser icons (#30790) 2025-01-07 08:46:22 -07:00
Jennifer Shehane d656afa302 Merge branch 'develop' into release/14.0.0 2024-12-23 09:53:16 -05:00
Bill Glesias e59b0160b6 chore: bump @vue/test-utils from 2.3.2 to 2.4.6 [run ci] (#30739) 2024-12-17 21:17:43 -05:00
Matt Schile 0c3c497c1d feat: add support for chrome for testing browser (#30751) 2024-12-16 10:39:06 -07:00
Jennifer Shehane 68c5714f1a chore: Cleanup duplication across tsconfig files in packages (#30764)
* Cleanup duplication across tsconfig files in packages

* empty commit

* Add ts-ignore

* Add ts-ignore
2024-12-16 11:12:40 -05:00
Bill Glesias 15c5761eb6 breaking: make JustInTimeCompile GA from experimentalJustInTimeCompile and default to true (#30641)
* pull support for JIT from vite since it doesn't have an affect for end users or performance (webpack only) [run ci]

rebase this

* remove the experimentalJIT flag and make it GA (default still false) [run ci]

* enable justInTimeCompile by default [run ci]

* chore: bump cache [run ci]
2024-11-21 15:25:59 -05:00
Bill Glesias 37b944f9b4 breaking: remove support for create react app for component testing as it is no longer maintained [run ci] (#30558) 2024-11-07 18:02:04 -05:00
Bill Glesias ccb6e28fe0 breaking: Cypress Component Testing no longer supports vue2 [run ci] (#30502) 2024-11-05 08:55:19 -05:00
Bill Glesias bc39cb1103 breaking: remove nuxt2 support from Cypress Component Testing [run ci] (#30499) 2024-11-03 16:07:41 -05:00
Jennifer Shehane 0aa73c44d5 breaking: remove logic around min supported browsers (#30462)
* remove logic around min supported browsers

BREAKING: remove logic around min supported browsers

* changelog entry

* forgot to save some changed files

* update broken tests

* remove another test testing unsupported browsers

* Add back logic for browser validator

* return if validator is undefined

* update called browser

* fix failing tests

* fix logic of unsupported showing

* add parens
2024-11-01 11:04:00 -04:00
Jennifer Shehane e18e66ae0e breaking: Remove experimentalFetchPolyfill flag (#30466)
* remove experimentalFetchPolyfill

BREAKING: remove experimentalFetchPolyfill

* Add changelog entry
2024-10-28 15:07:25 -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
Emily Rohrbough 45de9ec2fe chore: address some accessibility violations (#30358) 2024-10-07 10:26:50 -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
Raymond Greeley b6b0b490d6 chore(deps): update to @faker-js/faker@8.4.1 (#30161)
* chore(deps): update to @faker-js/faker@8.4.1

* Use up-to-date methods from faker and create new type
2024-09-04 13:28:14 -04:00
Bill Glesias f6e7af954b fix: adds a description for the JIT experiment which was overlooked on initial implementation [run ci] (#30128) 2024-08-28 16:59:45 -04:00
Mike McCready 0480480045 chore(deps): migrate to community @faker-js/faker (#30098)
* chore(deps): migrate to community @faker-js/faker 5.5.3

* revert faker tree-shaking import
2024-08-26 16:50:42 -04:00
Jennifer Shehane e795d12cec chore: replace deprecated color-adjust with print-color-adjust (#29743)
* chore: replace deprecated color-adjust with print-color-adjust

* empty commit

* Update packages/frontend-shared/src/styles/normalize.scss

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

* Update packages/frontend-shared/src/styles/normalize.scss

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

* Update packages/frontend-shared/src/styles/normalize.scss

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

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2024-06-26 08:34:19 -04:00
renovate[bot] 7b07c75b19 chore(deps): update dependency autoprefixer to v10.4.19 (#29724)
* chore(deps): update dependency autoprefixer to v10.4.19

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-06-24 14:00:24 -04:00
Jennifer Shehane 80c2d447b0 chore(deps): add type-fest devDep (#29729)
* chore: add type-fest devDep

* empty commit
2024-06-24 13:59:34 -04:00
Bill Glesias ee3ff8820a chore: update vite to version 5 inside the monorepo (#29617)
* chore: update babel to latest in packages and update vite to version 5, vite related vue plugins to version 5, and svg plugin to v5

update vitejs react to v5

updated vite plugins

updates unplugin-vue-components and unplugin-icons for vite

remove vite-plugin-copmponents as it is the same thing as unplugin-vue-components

update vue-i18n from beta package to released v9

get unplugin-vue-i18n to latest

add @babel/types to no rewrite [run ci]

fix typing errors [run ci]

* update snapshot [run ci]

* coerce type for compiled messages to bridge type compatibility between unplugin-vue-i18n and vue-i18n [run ci]

* chore: update babel to latest in packages and update vite to version … (#29634)

* fix vite

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* update other hard coded @babel/core

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-06-12 16:51:50 -04:00
renovate[bot] ceb11a355a chore(deps): update dependency @antfu/utils to ^0.7.8 (#29571)
* chore(deps): update dependency @antfu/utils to ^0.7.8

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-06-11 12:45:19 -04:00
Bill Glesias f3b67666a5 fix: update cypress to Typescript 5 (#29568)
* fix: update the monorepo to typescript 5

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* run ci to see problems [run ci]

* update vue-tsc and typings that conflict with update

* regen snapshot

* fix typescript errors ui test as stack trace behavior has changed

* fix server unit tests

* update cy.origin() spec based on stack traces and code frames

* update spec to include source map url

* run ci

* fix check-ts

* chore: fix system tests [run ci]

* add preprocessor tests to batteries included to exercise new logic

* run ci

* refactor unit tests to be a bit more dry

* pin typescript to ~5.4 and adjust config to ignroe deprecations but keep importsNotUsedAsValues

* add changelog entry

* add fixme issue to stack trace mismatches inside evaled context

* use import type webpack as webpack as a lib isn't actually invboked in the runner webpack config

* fix system test as adding 4 lines of comments impacts the stack trace line 4 lines (duh)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2024-06-04 19:17:38 -04:00
Bill Glesias 079030bb5f feat: support vite v5 (#29518)
* feat: support vite v5 [run ci]

* make sure to use correct path in windows if no cypress public path is provided [run ci]

* update snapshot [run ci]

* update docs on devServerPublicPathRoute for vite-dev-server

* update comments

* refactor resolveConfig test

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-05-21 12:49:09 -04:00
Jennifer Shehane 1bb5a7301e misc: More accessibility fixes (#29322)
* misc: Add tabindex to shiki code highlights so that it is accessible via the keyboard.

* Add tabindex for code preview in error-header

* Change h3 to h2 to meet a11y guidelines for incremental headers

* Add roles for landmarks

* Move navigation role to correct area

* Update main to have singular role

* update nav in banner to 'div' so there aren't 2 navs

* Have an h1 on the Global page to address a11y violation

* Fix aria-disabled attr to have valid 'true' value instead of 'disabled'

* Add changelog entry

* Fix tests that are looking for aria-disabled to now look for 'true'

* chore: fix test that's failing in npm/react test
2024-05-02 13:00:20 -04:00
Bill Glesias f14a11aecf chore: update eslint from version 7 to version 8 (#29355)
* chore: (for eslint-plugin-dev only is breaking) update eslint-plugin dev minimum to eslint 7. Remove support for coffeescript and reconfigured required peer deps

* correctly configure eslint-plugin-json-format for the monorepo and run linting on all json files (previously was not running)

* properly support no duplicate imports
2024-04-26 14:42:33 -04:00
Cacie Prins 19fe34992f chore: create direct dependency link between frontend-shared and data-context (#29045) 2024-03-04 10:35:09 -05:00
Cacie Prins 3288aa5069 chore(dependency): Upgrade Electron 27 (#28792)
* dependency: upgrades electron from 25 to 26

* bump cache run ci

* fix docker img names

* ref electron upgrade branch

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* debug

* debug

* debug

* update search string for resize observer error swallow

* debug

* update integrity check

* update electron readme with upgrade troubleshooting section

* point to new publish binary workflow branch for electron 27

* update electron readme with locations of chromium & node versions for a given electron version

* update node versions and docker image refs

* update electron version to 27.1.3

* fix db nativeBinding arg

* chore: updating v8 snapshot cache

* install setuptools on mac when updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* run workflows on this branch run ci

* require addon directly and pass to better-sqlite3 init; debug

* rm debug

* try loading better-sqlite with a more dynamic filename

* bump electron version

* bump electron version

* bump electron version -- run ci

* bump electron version -- run ci

* bump electron version -- run ci

* bump electron version -- run ci

* bump electron version -- run ci

* add a step to update workflows.yml to electron upgrade process

* reduce retry limit on issue 1244 test to prevent circle from thinking tests have hanged

* target main branch of binary publish workflow? run ci

* Update .node-version -- run ci

* Update CHANGELOG.md

* Update module_api_spec.ts

* point publish binary back to electron upgrade branch

* Adds some logging re: cachedDataVersion

* use precise electron version for better-sqlite3 for centos7

* Update CHANGELOG.md

* chore: fix issue with bytenode (#28568)

* fix jsc for 27 -- run ci

* Update smoke.js

* fix build

* update electron upgrade steps

* Update packages/electron/README.md

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

* Update cli/CHANGELOG.md

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

* fix DebugEmptyStates component test

* try to fix downstream build -- run ci (#28649)

Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>

* point to consolidated binary publish branch

* revert webpack-preprocessor-awesome-typescript-loader update

* revert certain system tests

* increase padding for module api system test duration window

* account for differing screenshot sizes

* screenshot size differs locally vs ci

* update protocol snapshots

* Update after-pack-hook.js

* fix flaky slideshow

* correct the chromium version in changelog

* use 18.17.1 internal images

* workflow filters

* fix trailing checkbox in electron readme

* add solution to crashing better-sqlite3 in electron readme

* Update packages/electron/README.md

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Update scripts/after-pack-hook.js

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

* Update scripts/after-pack-hook.js

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

* Update scripts/after-pack-hook.js

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

* add branch to setup_should_persist_artifacts

* debug app e2e test

* bump cache

* upgrade browsers-internal to chrome 121

* revert to chrome 118 images

* bump cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* bump cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2024-02-15 10:33:51 -05:00
Jennifer Shehane e74963ebc4 chore: wait for specs page to load before continuing in tests in order to reduce flake (#28855)
* chore: test a theory that waiting for specs list will be less flaky

* empty commit to trigger CI

* Add logic to login command for when we're visiting pages with no specs

* Rework tests to handle different 'no specs' pages

* Update a couple more situations where there is no specs list

* Fix bug where unauthorized login was not being sent at the right time to test the logout

* Move the specs page assertions into their own custom command

* typo fix
2024-02-06 09:38:36 -05:00
Jennifer Shehane 835d493bb1 misc(a11y): Update <ul> and roles to be accurate to their intended purpose in launchpad UI (#28774)
* misc: Display 'div' for listboxoptions so that a ul is not a direct parent of ul

* changelog entry

* update changelog entry

* Update structure of dropdown to be ul -> li -> div

* Wrap final element in listbox with li with role=option

* Fix double misc sections

* Update test to be less brittle and to error with more descriptive error if html changes
2024-02-02 12:02:06 -05:00