Commit Graph

777 Commits

Author SHA1 Message Date
Zachary Williams
2f337dbfa2 fix: angular 14.2 mount compilation error (#23593) 2022-08-29 13:40:43 -05:00
Zachary Williams
f6eaad40e1 feat: adding svelte component testing support (#23553)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Rocky <25568640+rockindahizzy@users.noreply.github.com>
2022-08-26 12:36:05 -05:00
Zachary Williams
7ddcc96388 chore: update typescript (#23523)
* chore: update typescript

* use String()

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* use String()

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* use String()

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-08-25 09:31:02 +10:00
Blue F
7b5e74cd5a chore: fix for regression from last refactor (#23520) 2022-08-24 08:45:01 -07:00
Rachel
ab23d7797b chore: skip or fix flaky tests II (#23386)
* fix leftover percy network-idle-timeout

* Skip another instance of 23153

* fix 23147

* Revert fix 23147

* try percy upgrade again

* Update yarn.lock

* skip 23404

* bring in emilys override version change for percy ui

* skip 23406

* skip 23407

* downgrade percy to 1.2.0

* fix percy diff

* fix percy diff

* update comment

* restore lock file

* Update yarn.lock

* Update yarn.lock

* percy fixes

* possible fix

* fix verison flake??

* Revert "fix percy diff"

This reverts commit e4c4e2e990.

* Revert "Revert "fix percy diff""

This reverts commit 94284e4694.

* Remove version assertion

* Trigger Build

* ignore spec duration in percy snapshots

* use .each to preserve order of execution

* add comment

* fix comment

* try new logic for header wait

* Revert "try new logic for header wait"

This reverts commit bfed31edce.

* add timeout to choose a browser

* Trigger Build

* try without promise.all; revert timeout to choose a browser tests

* ignore spec-duration in percy in runner

* clean up .thens

* clean up diffs

* move around .thens

* wait for tooltip to take snapshot, skip flakers

* try hiding spec duration

* Revert: try hiding spec duration

* Bring back duration mock

* Add another duration mock

* try cy.contains with tooltip, comment out removeGlobalStyles

* skip 23417

* skip choose a browser failures

* skip 23419

* skip 23414

* bring back // removeGlobalStyles()

* skip 23422

* skip 23423

* skip 23424

* set version to empty string to make percy happy

* Remove duration mock

* Do not display top-nav-cypress-version-current-link, skip 23433?

* skip 23434, clean up diffs

* clean up diffs, skip percy flake

* skip 23434

* skip 23437

* fix 23156

* fix 23250 and similar

* fix 23157

* skip more percies

* skip 23443

* skip more tooltip snapshots

* Update net_stubbing.cy.ts

* Update cookies.cy.js

* Update e2e_cookies.cy.js

* add missing github issue

* Update circle.yml

* Skip all of network stubbing

* Skip 23158

* Skip 23448

* remove unnecessary async, add skip for 23444

* more skips for 23444

* skip 23451

* More skips 23436

* More skips 23444

* skip 23455

* more skips 23444

* skip 23457

* more skips 23444

* mroe skip 23455

* Trigger Build

* skip set cookie 23444

* skip 21300

* skip 23417

* Trigger Build

* potential fix for 23308

* skip 23472

* skip snapshot

* skip 23474

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* skip more 23245

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* skip 23480,23481

* skip 23307

* Trigger Build

* addtl skip 23481

* skip 23484

* try cy.origin stability fix on nav commands issue

* Revert: try cy.origin stability fix on nav commands issue

* skip more 23452

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* skip 23493

* Trigger Build
2022-08-22 10:50:12 -07:00
Zach Bloomquist
4580330763 chore: WebKit support (development-only) (#15533) 2022-08-15 22:53:37 +00:00
Bill Glesias
17f430768b Merge branch 'master' into develop 2022-08-15 12:29:07 -04:00
Rachel
c40a120aa7 chore: skip or fix flaky tests (#23167) 2022-08-15 08:50:34 -07:00
Kukhyeon Heo
0aa89fa5b3 chore: add check-ts command to pkg/driver (#22912)
Co-authored-by: Blue F <blue@everblue.info>
Co-authored-by: Rachel <Raquel.rudermano@gmail.com>
Co-authored-by: Rachel <rachel@cypress.io>
2022-08-15 09:46:24 -05:00
Kukhyeon Heo
2d119ad46a chore: Intregrate runner packages. (#23028)
* chore: Intregrate runner packages.

* Remove unnecessary Studio react files.

* Remove unnecessary gif

* runner-shared to runner-ct.

* fix path.

* fix package.json

* Remove scss files from runner-ct

* Remove runner-ct

* Remove runner-shared and runner-ct comments.

* Feedback

* chore: reduce parallelism for reporter-componen-tests

* chore: reduce paralelleism

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-08-11 14:07:10 +10:00
Zachary Williams
20f89bfa32 fix: remove dependency causing semantic-release to fail (#23142) 2022-08-05 15:54:44 -05:00
Adam Murray
915859c1a7 fix(cypress/schematic): add --e2e option. ensure binary is installed in Angular 14 (#22922)
Co-authored-by: Zachary Williams <zachjw34@gmail.com>
2022-08-04 10:45:51 -05:00
Barthélémy Ledoux
581b158742 refactor: use Cypress design system icons in the SideBar (#22807)
* update alert icons

* update icons package

* use updated icons

* update icon package

* fix sidebar navigation icons

* remove old windi package

* fix test on NavigationRow

* update design system

* make clearer that iconColor is not a class

* update tsc

* rollback package updates

* fix types

* remove all changes from alert (another PR)

* fix: apply suggestions from code review

stylistic changes I can't argue with.

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>

* remove icons that are not used anymore

* avoid installing unused packages

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-07-27 23:11:14 -05:00
Lachlan Miller
6adba462ea feat: update to Vite 3 (#22915)
* chore: do not rely on transitive dep. from npm/react

* chore: bump to vite 3.0.2

* revert

* target es6

* remove unused code

* update styles

* remove ts-ignore

* bump to vite 3.0.3
2022-07-28 10:00:31 +10:00
Jordan
4131b1fa84 feat(angular): angular mount (#22858)
Co-authored-by: Zachary Williams <zachjw34@gmail.com>
2022-07-26 17:44:44 -05:00
Lachlan Miller
8e2e727047 chore: bump vue/test-utils version (#22928) 2022-07-26 09:24:55 -05:00
renovate[bot]
7c3a4f8bb6 chore(deps): update dependency nock to v13.2.9 🌟 (#22854)
* chore(deps): update dependency nock to v13.2.9 🌟

* chore: update nock api from v12 to v13 by changing socketDelay to delayConnection. See https://github.com/nock/nock/releases/tag/v13.0.0 for more details

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-07-25 15:17:32 -04:00
Bill Glesias
5ff15046e2 feat: add experimentalModifyObstructiveThirdPartyCode flag for regex rewriter (#22568) 2022-07-22 08:30:20 -06:00
Lachlan Miller
f0d3a48679 feat: React 18 support (#22876)
* update cli exports

* add additional react adapters

* update system test infra to better cover react versions

* use idiomatic cy.mount and cy.unmount

* add additional test projects

* update tests

* add new modules

* remove dead code, organize code more

* add react 16 project

* update webpack to resolve react correctly

* add test for react 16

* update snaps

* add react adapters

* ignore cli/react files

* use official rollup plugin to bundle npm/react

* update yarn lock for webpack dev server tests

* update vite dev server projects

* update config

* remove console.log

* update tsconfig

* fix tests

* fix another test

* update snaps

* update snaps

* fix build

* remove react{16,17}, update tests

* update build

* add missing export

* update test

* fixing tests

* fixing tests

* update snaps

* update snaps again

* build artifacts on circle

* dont try to update rollup plugin

* update circle

* update

* add missing build step

* update deps, remove old code

* revert circle changes

* do not hoist deps from react18

* remove deps
2022-07-22 11:35:09 +10:00
Tyler Biethman
c94fbb6321 chore(deps): Updating to electron@19.0.8 (#22775)
* Trying out electron 19.0.4

* nvm-for-windows 1.1.7 is busted for node-16.14.2

* Went a bit overboard with the exit I think

* Stepping this back

* Breaking out yarn install

* Print runtime data

* log more data points

* well i'm confused. seeing what happens after these steps

* Lets see if powershell picks up the new PATH

* Maybe shell is refreshed between jobs?

* Installing nvm-1.1.9 manually

* Cleaning up circle.yml and a few other node references.

* Yeah that ain't gonna work

* Trying bash implementation

* Urgh yaml

* Bumping to latest patch version

* Getting a full build + artifacts

* Sourcing node in build step

* More node sourcing

* Run against updated recipes repo

* I'll find all these eventually

* Trigger new build after cache busting

* Let's slim this down to test recipes for a bit

* Good ol' working_directory

* Fixing bad syntax

* Not quite sure where all this is necessary at this point

* Using recipes PR branch

* This isn't necessary here

* Re-enabling jobs

* More node sourcing

* Running kitchensink tests against PR branch

* Moving nvm-windows update to script

* Even more node sourcing

* Removing CI config for merged kitchensink/recipes PRs
2022-07-21 13:02:46 -05:00
renovate[bot]
169ec99ef5 chore(deps): update dependency got to v11.8.5 [security] (#22434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
2022-07-01 10:54:45 -05:00
Muaz Othman
4726ea90a9 feat: Display Cypress Dashboard metrics in the Specs Explorer (#21250)
Co-authored-by: Muaz Othman <muazweb@gmail.com>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
Co-authored-by: Mike Plummer <mikep@cypress.io>
Co-authored-by: Peter Stakoun <peter@stakoun.com>
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-06-27 17:37:36 -05:00
renovate[bot]
fac83fd451 chore(deps): update dependency semantic-release to v19 [security] (#22238)
* chore(deps): update dependency semantic-release to v19 [security]

* chore: try moving to semantic-release 18

* chore: update jasmine-core to 3.8.0

* chore: update semantic version 19.0.3

* fix: update test to deal with npm obscuring internal error code

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2022-06-27 12:35:58 +10:00
Barthélémy Ledoux
a8f5e59b7d refactor: use design system windicss config (#21503)
* chore: use design system windi config

* fix: windi config should have colors in the right place

* fix: remove direct dependencies to old windi

* upgrade css plugin for types

* update windi plugin

* refactor: update without the safelist

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-06-22 10:35:55 -05:00
Zach Bloomquist
61f19c0450 feat: build Cypress for linux-arm64 (#22252) 2022-06-15 16:22:10 +00:00
Zach Bloomquist
e18b0d567e feat: build Cypress for darwin-arm64 (#20686) 2022-06-15 15:24:50 +00:00
Bill Glesias
e18819d6a0 chore: remove old runIsolated in the runner, as well as clean up old runner related dependencies (#21638) 2022-06-06 11:16:15 -04:00
Zach Bloomquist
2af1ad03bb chore(deps): bump cypress-example-kitchensink to latest 10.0.0 (#21661) 2022-05-27 21:26:07 +00:00
renovate[bot]
7366add49a chore(deps): update dependency eventsource to v2 [security] (#21639)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-26 16:28:44 +00:00
Zachary Williams
e4873649c1 Merge remote-tracking branch 'origin/develop' into zachw/merge-develop-10.0 2022-05-24 10:30:14 -05:00
Zachary Williams
d6502cafdc Merge remote-tracking branch 'origin/develop' into zachw/merge-develop-10.0 2022-05-23 22:08:39 -05:00
mjhenkes
86c205b7d7 Merge branch 'master' into develop 2022-05-23 09:08:41 -05:00
Zach Bloomquist
3055c79822 chore: remove unused find_system_node util (#21529)
* chore: remove unused find_system_node util

* bump
2022-05-17 15:08:55 +00:00
Tyler Biethman
e437649204 Merge branch '10.0-release' of https://github.com/cypress-io/cypress into tbiethman/develop-into-10-with-electron 2022-05-16 17:09:05 -05:00
Rachel
6492d6cdda fix: Unify 1232 the keyboard shortcuts button is not keyboard accessible (#21409) 2022-05-16 14:06:13 -03:00
Tyler Biethman
07159e8664 Merge branch '10.0-release' of https://github.com/cypress-io/cypress into tbiethman/develop-into-10-with-electron
# Conflicts:
#	circle.yml
2022-05-13 11:20:51 -05:00
Zachary Williams
0f786ab893 fix: ct testing support for node 17+ (#21430) 2022-05-13 11:01:30 -05:00
Tyler Biethman
74fa12ab11 Merge branch 'develop' of https://github.com/cypress-io/cypress into tbiethman/develop-into-10-with-electron
# Conflicts:
#	circle.yml
#	packages/driver/cypress/integration/commands/actions/trigger_spec.js
#	packages/driver/cypress/integration/commands/actions/type_spec.js
#	packages/driver/cypress/integration/commands/files_spec.js
#	packages/electron/package.json
#	packages/launcher/lib/darwin/util.ts
#	packages/launcher/package.json
#	packages/server/__snapshots__/args_spec.js
#	packages/server/__snapshots__/cypress_spec.js
#	system-tests/projects/non-proxied/cypress/fixtures/cy-non-proxied.png
#	yarn.lock
2022-05-12 12:51:59 -05:00
Tyler Biethman
8311cf15ff chore(deps): Updating electron to v18 + node v16.13.2 (#21418)
* chore: Updating electron to v18 + node v16.13.2

* Updating origin test, it needs to be fixed a different way

* Removing origin workaround for config_env specs, it should not be necessary.

* Removing now-unused semver dependency
2022-05-12 12:06:30 -05:00
Bill Glesias
de8dee7c0d Merge branch '10.0-release' into merge-develop-into-10.0 2022-05-12 10:12:45 -04:00
Tim Griesser
383bdb1d3d fix: UNIFY-1625 Runs tab not updating in real time (#21370)
* feat: improved CloudDataSource caching & tests

* feat: pushFragment subscription, for updating the client with remote data (#21408)

* refactor: add pushFragment utility for pushing remote data into the client

* fix: UNIFY-1625 Runs tab not updating in real time (#21412)

* allow returning a Response object in the remoteGraphQLIntercept, handle 401
2022-05-12 09:06:12 -04:00
Lachlan Miller
796ac005ed chore: change to yarn registry 2022-05-12 11:23:52 +10:00
Adam Murray
8de7594446 feat(cypress/schematic): add headed option and other fixes (#21415) 2022-05-11 13:16:17 -05:00
Bill Glesias
346bf458b0 Merge branch 'develop' into merge-develop-into-10.0 2022-05-10 12:46:29 -04:00
Bill Glesias
d9aa8eec39 update yarn.lock file 2022-05-06 15:55:22 -04:00
Bill Glesias
04dc2e3130 Merge branch '10.0-release' of github.com:cypress-io/cypress into md-10.0-merge 2022-05-06 10:07:06 -04:00
Zach Bloomquist
c336d7da5c chore: remove unused parts of design-system, move SCSS to runner-ct (#21345) 2022-05-05 23:02:43 +00:00
Bill Glesias
1d7615268a Merge branch '10.0-release' into md-10.0-merge 2022-05-05 16:52:04 -04:00
Zachary Williams
c79c50a262 fix: align 10.x selector playground tooltips with 9.x (#21334) 2022-05-05 12:44:00 -05:00
Zach Bloomquist
05ef83a87e fix(launcher): support Firefox as a snap (#21328) 2022-05-05 16:32:00 +00:00