Commit Graph

17464 Commits

Author SHA1 Message Date
Ryan Manuel 10394b14ae Cleanup watchers 2022-03-26 22:25:19 -05:00
Ryan Manuel a03e700ac7 Fix scaffolding 2022-03-26 20:46:28 -05:00
Ryan Manuel 5e9991d6d8 Fix system tests timing out 2022-03-25 18:50:50 -05:00
Ryan Manuel 32931076a3 Fix spec change tests 2022-03-25 17:19:31 -05:00
Ryan Manuel 7f33d10f58 Fix app tests 2022-03-25 16:42:56 -05:00
Ryan Manuel be59ff1c15 Fix component testing 2022-03-25 13:47:21 -05:00
Ryan Manuel 5ca23b219f Split up setTestingType with setCurrentProject 2022-03-25 13:22:51 -05:00
Ryan Manuel f6cc702aaa Fix system test 2022-03-24 23:22:45 -05:00
Ryan Manuel abf7d0a6dc Fix typescript 2022-03-24 22:45:48 -05:00
Ryan Manuel f4e4689431 Merge remote-tracking branch 'origin/10.0-release' into ryanm/feat/refactor-config-loading
# Conflicts:
#	packages/data-context/src/data/ProjectLifecycleManager.ts
2022-03-24 21:06:17 -05:00
Ryan Manuel 088915cdd2 More refactoring and streamlining 2022-03-24 20:37:19 -05:00
Lachlan Miller f49ad641e6 chore: delete unsed code in runner, runner-shared, runner-ct (#20663)
* chore: delete a lot of old code

* remove unused code

* update test

* remove dep on cypress_runner for non proxied page

* change binary

* revert scss changes

* delete a lot of code

* update sass

* update jsx

* styles

* revert change

* dont destructure from window.mobx anymore

* update readmes

* revert change to mobx store

* Update packages/runner-shared/README.md

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

* remove old code

* remove html webpack and copy webpack plugins from runner

* Apply suggestions from code review

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

Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-03-25 10:24:05 +10:00
Tyler Biethman e3a5fa9af9 chore: Removing usage of __incorrectlyVisitAppWithIntercept (#20764)
* chore: Removing usage of __incorrectlyVisitAppWithIntercept

* openExternal is stubbed by default

* Missed one in sidebar_navigation.cy.ts

* Let's try windows

* showItemInFolder was already stubbed as well

* Fixing types and system test snapshot

* Removing internal logic/gui options enabling gql intercepts

* I'll find all these eventually

* Adding some stuff back, we might want this for debugging
2022-03-24 15:25:21 -05:00
Ryan Manuel bce9bb9cd9 Additional simplification and test fixing 2022-03-24 14:51:49 -05:00
Mark Noonan a1689ef3b5 docs: 10.0 frontend packages orientation (#20735)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Blue F <blue@cypress.io>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-03-24 15:35:58 -04:00
Alejandro Estrada 2bc52dee41 fix: support cjsx extension for migrations (#20755)
* fix: support cjsx extension for migrations

* Update README.md

* Create defaultTestFilesGlob constant
2022-03-24 14:06:16 -05:00
Barthélémy Ledoux 1de1aa5ccc feat: error when updating a 9.X value in 10.X in the pluginsFile (#20521) 2022-03-24 11:52:51 -05:00
Ryan Manuel 60dbbce5ea Fix tests 2022-03-24 11:19:08 -05:00
Zach Bloomquist a5a9d2ec16 Merge pull request #20769 from cypress-io/10.0-release-merge-3-24 2022-03-24 11:05:03 -04:00
Zach Bloomquist 7aafae11fb Merge remote-tracking branch 'origin/develop' into 10.0-release-merge-3-24 2022-03-24 10:18:02 -04:00
Ryan Manuel f41a0c0ec7 Update ProjectConfigManager.ts 2022-03-24 07:44:25 -05:00
Tyler Biethman efc00a11a1 chore: Addressing TODO to load spec files directly for runner e2e tests (#20751)
* chore: Addressing TODO to load spec files directly for runner e2e tests

* Let's try windows too

* Removing old code. Reverting windows CI changes after verifying passing test.
2022-03-24 15:45:32 +10:00
Lachlan Miller 03fbbd7bc7 chore: migrate mochaEvents integration tests from runner to app (#20678)
* mocha-events

* wip

* work on snapshots tests

* update

* lint

* remove unused code

* revert some changes

* remove old code

* migrate retries tests to app

* reduce duplication

* remove old code

* rename method

* use disparity
2022-03-24 15:32:25 +10:00
Lachlan Miller 88556c23c6 Merge pull request #20726 from cypress-io/renovate/npm-nanoid-vulnerability
chore(deps): update dependency nanoid to v3.1.31 [security]
2022-03-24 15:12:47 +10:00
Ryan Manuel a7787cdc36 Simplify state management when loading the config 2022-03-24 00:03:31 -05:00
Ryan Manuel 34d6207de6 Simplify state management when loading the config 2022-03-23 23:28:57 -05:00
Barthélémy Ledoux f898ea7963 fix: allow usage of ts-node in sub-processes (#20762) 2022-03-23 22:17:32 -04:00
Alejandro Estrada 61f7cfc592 fix: scope config to current testing type (#20677)
* fix: scope config to current testing type

* Revert options changes

* Fix some tests

* Fix more tests

* Fix more tests

* Fix more tests

* Update options

* Fix tests

* Fix tests

* Add comments

* Remove un-needed quote

* Fix test

* Fix tests
2022-03-23 19:06:36 -05:00
Alejandro Estrada 3042ef8905 fix: replace specExcludePattern with excludeSpecPattern (#20763) 2022-03-23 18:23:57 -05:00
Zachary Williams 8fd7422d63 Merge pull request #20759 from cypress-io/10.0-release-merge-develop-03-22 2022-03-23 17:42:17 -05:00
ElevateBart 5a7da0a7d3 chore: make line endings ok 2022-03-23 17:11:58 -05:00
Barthélémy Ledoux 814fde9d14 Merge branch '10.0-release' into 10.0-release-merge-develop-03-22 2022-03-23 18:04:20 -04:00
Ryan Manuel 45eb9478f4 Fix tests 2022-03-23 16:22:16 -05:00
Zachary Williams 2b4649a6e6 another await 2022-03-23 16:18:16 -05:00
Zachary Williams 0790e0fb3a await scaffoldProject 2022-03-23 16:11:43 -05:00
Tyler Biethman b4da6e894f chore: Addressing launchpad/frontend-shared TODOs (#20696)
* test: Updating app package TODOs/tests

* Adding ticket cross-references

* Updating more tests

* Reverting failing update

* Removing errant cy

* Renaming index.cy.ts -> specs.cy.ts

* Updating test to validate scaffold output in specs list

* Updating types

* Re-enabling test for modal dismissal on enter button press

* Getting file extension for FileRow from GraphQL

* Updating GlobalPage tests. Updating stubMutationResolver to reset itself properly.

* Updating copy button test to validate mutation

* Linking issue to Select testing TODO

* Fixing windows test. Building windows for branch. Adding issue reference to WarningList TODO.

* More launchpad cleanup

* Don't like that empty string

* Removing one TODO that is no longer necessary

* Windows test changes are g2g

* Addressing PR feedback
2022-03-23 16:06:46 -05:00
Ryan Manuel 1dafb3e8c5 Fix tests 2022-03-23 15:52:51 -05:00
Barthélémy Ledoux c7fa1bd5bf Merge branch '10.0-release' into 10.0-release-merge-develop-03-22 2022-03-23 16:20:14 -04:00
Zachary Williams 0577a52088 chore: update _cySkipYarnInstall and Fixture methods 2022-03-23 15:12:02 -05:00
Alejandro Estrada 2364717c54 feat: Refetch cloud query based on notification (#20598)
* feat: rename __socket.io -> __socket, add __socket-graphql for graphql-ws

* refactor: remove urqlExchangePubsub to expose failing tests that subscriptions will get working again

* Revert "refactor: remove urqlExchangePubsub to expose failing tests that subscriptions will get working again"

This reverts commit 60004021cc.

* fix: remove currentTestingType from Query type

* Fix testing type

* Remove ping subscription, add devChange subscription

* feat: add subscription to refresh when auth state changes

* Update packages/frontend-shared/src/gql-components/HeaderBarContent.vue

* PR review updates, add docs, tests for authChange subscription

* Update graphql-subscriptions.md [ci skip]

* remove login/logout toApp/toLaunchpad calls

* remove login/logout/devChange toApp/toLaunchpad calls

* fix, getCtx lazily to fix proxy performance spec

* Fix, thanks @JessicaSachs

* doc improvements

* feat: Refetch cloud query based on notification

* test fixes, remove flash of missing content in wizard

* Add callCount on remoteGraphQLIntercept

* Update executeRemoteGraphQL

* Fix test

* Update executeRemoteGraphQL and subscription

* fix test

* Update refetch query

* Add debounce fn

* Update with feedback

* Update with feedback

* Include gql port

* Update test

Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Jess <jess@jessicasachs.io>
2022-03-23 13:57:42 -05:00
Ryan Manuel ab47e0b01f Refactor migration and env loading 2022-03-23 13:56:54 -05:00
renovate[bot] d59b7bd009 fix(deps): update dependency minimist to v1.2.6 🌟 (#20756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 11:50:35 -06:00
Alejandro Estrada 30c9c3dc80 feat: create default spec file name based on specPattern (#20654)
* feat: create default spec file name based on specPattern

* Fix TS, add test

* Add tests

* Add more tests / refactor

* Update test

* Update tests
2022-03-23 11:53:38 -05:00
Barthélémy Ledoux 420dc0484c feat: implement new spinner (#20599)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-03-23 10:24:03 -05:00
Daniel Friesen 60781575ff fix(types): invalid type on Cypress.Buffer (#20553)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-03-23 08:36:51 -06:00
Ryan Manuel 459b93cf43 Merge 10.0-release 2022-03-23 09:06:13 -05:00
renovate[bot] 3dc03a30c5 fix(deps): update dependency node-forge to v1.3.0 [security] (#20727)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 09:04:33 -05:00
Ryan Manuel ae7d110e7f Fix errors 2022-03-22 21:10:33 -05:00
Ryan Manuel 34fd85d27a Fix migration 2022-03-22 20:50:08 -05:00
Ryan Manuel 9c43c5542a Fix migration 2022-03-22 20:22:35 -05:00