* 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
* error when cypress is not found, or version is mismatching for migration
* add tests
* add defensive try/catch
* Update packages/errors/src/errors.ts
Co-authored-by: Zach Bloomquist <git@chary.us>
* fix error snapshots
* remove usage of resolve-from
* make error more clear around open vs migration
Co-authored-by: Zach Bloomquist <git@chary.us>
* correct indentation
* update formatting
* add comments
* update tsconfig.json
* Update packages/data-context/src/sources/migration/codegen.ts
Co-authored-by: Blue F <blue@cypress.io>
* Update packages/data-context/src/sources/migration/codegen.ts
Co-authored-by: Blue F <blue@cypress.io>
Co-authored-by: Blue F <blue@cypress.io>
* use user shell for git command
* fix: support git status for staged and modified files
* use simple git to get username
* remove test file
* types
* add default statusType
* fix test
* add test
* add e2e test
* remove old code
* fix tests
* set email during tests
* make test less flake
* add logging
* try move test to another file
* use debug instead of console.log
* add wait
* rename spec
* wip: live updates via subscription
* fix bug in spec list stale cache
* types
* fix test
* new git instance per test
* do not show author for locally modified files
* no status for folders
* fix test
* remove old file and fix snapshot
* fix types
* update test stubs
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
* 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>
* getSpecs
* move files
* move specs
* hook up gql and f/e components
* work on migration code
* update gql
* fix logic and update graphql
* wip: types
* connect removing files and write e2e test for it
* support renaming support file
* types
* feat: display migration errors
* fix types
* recursively move files
* fix types
* refactor: use "nextstep" instead of "setStep"
* add function to facilitate live component testing migration
* refactor: make steps filterable
* refactor: make migrationlistitem instead of slots
* test: make sure tests pass
* work on backend for component testing updates
* hook up emitter
* fix types
* types
* remove test
* move isomorphic migration code to separate file
* update imports
* fix test
* more idiomatic usage of gql codegen
* styling
* fix unit tests
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
* better tests
* basic support for open in ide
* extract modal component
* mutation to open file
* remove old code
* add a ton of tests
* update
* lint
* types
* ignore typeless import
* update links
* backwards compat so we do not break all system tests
* add back missing code
* missing code
* fix bug
* add regression test
* ts
* types
* feat: detect framework, guess component glob and query files
* add test for Storybook detection and spec generation
* fix test flake
* chore(app): simplify glob finding logic (#18562)
* rebase, use globby, create new test project
* fix ts and test scaffold
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
- Add `@packages/data-context`
- Add `yarn gulp makePackage` for scaffolding a new server package
- Removes `nexus-decorators` in favor of regular Nexus, creating better separation between data & schema
- Possible to launch project in different browser types
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Cesar <cesaravitia@outlook.com>