Commit Graph

16978 Commits

Author SHA1 Message Date
Tyler Biethman 8a9713fc0d Chore: Merge branch 'develop' of https://github.com/cypress-io/cypress into 10.0-release
# Conflicts:
#	npm/vite-dev-server/src/makeCypressPlugin.ts
#	npm/vite-dev-server/src/resolveServerConfig.ts
#	npm/vue/README.md
#	npm/webpack-dev-server/package.json
#	packages/driver/cypress/integration/commands/actions/type_spec.js
#	packages/driver/src/cy/commands/navigation.ts
2022-02-10 12:11:42 -06:00
Ryan Manuel a015397f57 fix: reorder electron launching sequence to eliminate timing issue (#20140)
Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>
2022-02-10 11:36:16 -06:00
Lachlan Miller 2abb54ddcb chore(app): delete old code to lighten webpack bundle (#20069)
* chore: delete old code to lighten webpack bundle

* delete unused code

* update test

* lodash

* remove lodash

* remove lodash
2022-02-10 12:50:35 +10:00
Lachlan Miller 7bc4f16621 chore(app): make runner page load faster (#20082)
* load webpack bundle earlier with a deferred promise

* add p-defer to optimize deps

* remove temp var

Co-authored-by: Mark Noonan <oddlyaromatic@gmail.com>
2022-02-10 11:25:44 +10:00
Zachary Williams fff3c58365 test: fix failing app integration tests (#20130) 2022-02-09 18:17:01 -06:00
Tim Griesser 6a198983b4 feat: Better logging utilities for GraphQL requests & slow fields (#20097)
* feat: Better logging utilities for GraphQL requests & slow fields

* type fixes

* Update packages/graphql/src/makeGraphQLServer.ts

Co-authored-by: Zach Bloomquist <git@chary.us>

* Update packages/graphql/src/schemaTypes/objectTypes/gql-Query.ts

Co-authored-by: Zach Bloomquist <git@chary.us>

Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-02-09 18:32:26 -05:00
Jess 8423a70787 fix: create component spec was broken, FileList style fixes, collapsible animations, etc (#20114) 2022-02-09 16:30:16 -05:00
Ryan Manuel ef96a1d8d0 fix: windows builds due to addition of resource class (#20100)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-02-09 15:29:52 -06:00
Tyler Biethman dd1bff8cab test: Porting runner's reporter error specs to app (#20000)
* Adding remaining reporter error tests.

* Removing existing integration spec file

* Removing existing runner fixtures for error specs

* Fixing ts lint

* Testing with less tests kept in memory

* Testing some cypress-in-cypress settings to improve run-mode performance.

* Reverting changes to doc_url specs

* PR Updates. Inverting default value for 'open in IDE' validation in an attempt to reduce test time.

* Cleaning up ported code

* Update system-tests/projects/runner-e2e-specs/cypress/fixtures/index.html

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

* Trying build workaround

* Bumping up parallelized builds for app integration tests

* Removing suspicious tests to validate CI build

* Removing more suspicious tests to test CI

* Trying to not scaffold every navigation

* Bumping resources for run-app-integration job. Updating reporter.errors specs to appropriately reduce AUT refreshes.

* Couple API tweaks

* Removing unused helper from runner package; cleaning up a few things

* Updating yarn.lock

* Props isn't optional here.

Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>
2022-02-09 09:23:39 -06:00
Jess f318035d43 fix: firefox tooltip styles were broken for wide text (#20112) 2022-02-09 05:19:36 -05:00
Jess 11653ec28e fix: various style issues in launchpad and app (#20111) 2022-02-09 04:08:41 -05:00
Alejandro Estrada f1390f5200 feat: reconfigure project (#20077)
* feat: reconfigure project

* Clear state

* Add tests

* Update with feedback
2022-02-08 18:23:49 -05:00
Mark Noonan 3a83354aa3 feat: Spec Runnner Header updates (#20033)
Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-02-08 17:47:35 -05:00
Lachlan Miller 5619145bb2 chore: use latest kitchensink in example (#20087)
Co-authored-by: Zach Bloomquist <git@chary.us>
2022-02-08 21:57:08 +00:00
Zach Bloomquist 063225ecfc Revert "Switch to 10.0.0 branch"
Accidentally committed this to 10.0-release.

This reverts commit 5d3b24b28f.
2022-02-08 15:18:48 -05:00
Zach Bloomquist 5d3b24b28f Switch to 10.0.0 branch 2022-02-08 15:16:00 -05:00
Zach Bloomquist 79fb237f25 Merge remote-tracking branch 'origin/develop' into 10.0-release 2022-02-08 14:49:57 -05:00
Deisling Eduard 62d109cee2 fix(driver): change request log message (#20009) (#20019)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Zach Bloomquist <github@chary.us>
2022-02-08 17:55:48 +00:00
Jess 4299af8a0c chore: support vite 2.5 (#20084)
* chore: support vite 2.5

* chore: update eslint ignore statements

* chore: ignore jquery type issue

* chore: yarn integrity checks

* chore: use latest commit of branch for kitchensink

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-02-08 12:07:16 -05:00
Snyk bot 52ed6edcf3 chore(deps): Security upgrade shelljs to 0.8.5 (#19685)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com>
2022-02-08 10:38:29 -06:00
Ryan Manuel 655090330f feat: Close and reopen a new tab in between tests to get around a memory leak (#19915) 2022-02-08 10:16:03 -06:00
Lachlan Miller ebb387938c docs: explain data, sources and actions (#20066) 2022-02-08 13:46:36 +10:00
Zachary Williams eaed14a12e chore: design changes for Migration and TestingType switcher (#20053) 2022-02-07 17:25:01 -06:00
Alejandro Estrada 6e803597a3 fix: update scaffold template to use correct path (#20047)
* fix: update scaffold template to use correct path

* Remove support for dynamic import on devServer

* Update scaffold template

* Update config files

* Update with feedback

* Rename cypressConfig to cypressDevServerConfig

* Update devserver link

* Update comment
2022-02-07 16:58:24 -05:00
Zach Bloomquist 589f93b11f test: fix network_error_handling_spec for external contributors (#20075) 2022-02-07 19:27:27 +00:00
Zach Bloomquist 83ffb07a10 test: run app e2e tests in Windows CI (#19979) 2022-02-07 18:33:47 +00:00
Lachlan Miller bb37389157 chore: make error more informative about migration to Cypress 10 (#20007)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-02-07 14:48:18 +10:00
Tim Griesser 703548e16c Merge branch 'develop' into 10.0-release
* develop:
  chore: fix cypress npm package artifact upload path (#20023)
  chore(driver): move cy.within logic into it's own file (#20036)
  chore: update automerge workflows (#19982)
2022-02-06 20:41:57 -05:00
Tim Griesser d3a8744f19 Merge pull request #20004 from cypress-io/219138ca4e-develop-into-10.0-release
chore: merge develop (3987eb3430) into 10.0-release
2022-02-06 20:30:00 -05:00
Tim Griesser 456ebf93e5 fix: remove shelljs in example build script, correct file renames 2022-02-06 19:45:42 -05:00
Barthélémy Ledoux 7f82b36bb4 fix: last step in the ct setup goes back to start (#20030)
* make test pass

* fix the project setup last step

* add a wait to avoid flake

* comment test failing

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-02-04 19:01:43 -06:00
Cesar dcc06de03d fix: typescript default plugin file (#20046) 2022-02-04 14:50:25 -07:00
Emily Rohrbough 17f272e9ee chore: fix cypress npm package artifact upload path (#20023) 2022-02-04 12:00:08 -06:00
Alejandro Estrada 5d52758d82 feat: validate specPattern root level (#19980)
* feat: validate specPattern root level

* Fix/add tests

* Fix test

* Update specExcludePattern

* Fix tests

* Fix/add tests

* Fix/add tests

* Fix tests

* Rename specExcludePattern to excludeSpecPattern

* Fix tests
2022-02-04 10:48:10 -05:00
Emily Rohrbough 1395766822 chore(driver): move cy.within logic into it's own file (#20036) 2022-02-04 08:28:06 -06:00
Shawn Taylor 2856124fde feat(unify): unsupported browsers (#19997)
* Display a generic logo if the browser does not have one

* Display icon and tooltip for unsupported browsers and disable them
2022-02-04 08:59:18 -05:00
Alejandro Estrada 57ffa92e20 feat: persist isSideNavigationOpen (#20026)
* feat: persist isSideNavigationOpen

* Fix TS

* Update with feedback

* Fix test
2022-02-03 15:08:06 -05:00
Zach Bloomquist 74456fe68a chore: update automerge workflows (#19982)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-02-03 19:57:12 +00:00
Alejandro Estrada 321ebd717b feat: add types for urqlCacheKeys (#20027) 2022-02-03 14:33:18 -05:00
Cesar d0b8105c85 fix: rename spec.js to spec.cy.js (#20029) 2022-02-03 09:01:53 -06:00
Barthélémy Ledoux ee08f4ae95 feat: waiting for dependencies to be installed in wizard (#19955) 2022-02-02 14:19:33 -06:00
Zach Bloomquist b694e33d5a Merge remote-tracking branch 'origin/develop' into 219138ca4e-develop-into-10.0-release 2022-02-02 15:08:51 -05:00
Zach Bloomquist 3987eb3430 fix(selectFile): use target window's File/DataTransfer classes (#20003)
Co-authored-by: Blue F <blue@cypress.io>
2022-02-02 17:10:39 +00:00
github-actions[bot] 15885dc20b chore: Update Chrome (stable) to 98.0.4758.80 and Chrome (beta) to 98.0.4758.80 (#19995)
* chore: Update Chrome (beta) to 98.0.4758.80

* chore: Update Chrome (stable) to 98.0.4758.80 and Chrome (beta) to 98.0.4758.80

Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Blue F <blue@cypress.io>
2022-02-02 08:29:47 -08:00
Blue F 2c1ecabf7d fix: Adjust ffmpeg CLI args for performance (#19983)
* Adjust ffmpeg CLI args for performance

* Properly use and clean up metadata file

* Always limit encoder to 1 thread regardless of os.cpu count

* Typo in last commit

* Add comments to ffmpeg args

* Remove threads arg, back to original threading behavior
2022-02-02 07:37:32 -08:00
Cesar b16eb65eb2 fix: migrate config fields to correct the location (#19940)
* testFiles

* ignoreTestFiles

* supportFile

* use utility functions

* remove setupNodeEvents and supportfile from component

* don't throw for supportFiles query

* custom integrationFolder default testFiles

* add default e2e directory to e2e specPattern

* add missing type import

* work on migration project docs

* update docs

* use prettier to run assertion

* add detailed breakdown of expected config and update code to correspond

* remove unused code

* update comment

* update component testing migration expected configurations

* wip: tests for edge cases

* make plugins require relative

* do not add defineConfig if they do not have cypress 10

* edge case of define config

* system test

* do not show supportfile for CT only project

* fix: set correct config file on migration (#19990)

* fix: set correct config file on migration

* add e2e test

* Fix test

Co-authored-by: Cesar Avitia <cesar@cypress.io>

* fix: allow default support file to be TS

* test: with a ts support file

* refactor: duplicate hasTypeScript in migration

* move migration utils files

* rename functions that returns globs with globs

* fix(launchpad): Support migrating projects w/o pluginsFile  (#19993)

* handle case of no plugins file

* fix readme

* style: add comments

* build: fix types

Co-authored-by: ElevateBart <ledouxb@gmail.com>

* fix types

* fix migration unit-tests

* fix: build for unit types

* fix shouldShowSteps unit tests

* fix: typo

* do not import from data-context in frontend test

* remove non-type import

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Alejandro Estrada <estrada9166@gmail.com>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
2022-02-02 10:42:30 +10:00
Zachary Williams 02a669daae feat: relaunch browser when switching testing types from app (#19961)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-02-01 15:45:42 -06:00
Johan Baversjo 219138ca4e build: allow unified to run cypress on Apple Silicon (arm64) (backport #19067 to 9.x) (#19968) 2022-02-01 20:00:21 +00:00
Mark Noonan 4787cc1804 test: final ct-audit tests and component tweaks (#19948)
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
2022-02-01 09:45:22 -06:00
Tim Griesser 7a7ddc3477 Merge pull request #19984 from cypress-io/99f24863a2-develop-into-10.0-release
chore: merge develop (99f24863a2) into 10.0-release
2022-01-31 19:56:59 -05:00