* fix: avoid using Array.isArray when possible
* fix: add one more refactoring
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
* 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>
* refactor: add migration to util
* refactor: better typing for OldCypressConfig
* refactor: move Migration Step to the migration file
* refactor: expose all flags to GQL
* test: make sure e2e test see component testing
* test: improve tests for migration
* test: fix migration tests
* feat: filter explains for configFile
* fix: always get to the Welcome screen
* run init onbefore mount
* re-use the executeQuery
* work on test cases
* custom testfiles test case
* adde readme to project
* typo
* work on filtering steps logic
* add tests for component testing steps
* update tests to reflect correct state
* types
* fix test
* add tests
* remove old code
* refactor: remove double filtering
* fix: open is not referenced
* fix: less key warnings already
* remove the last big key warninng
* fix: remove useless warning
* remove RenameSupport warning
* clean up useless code
* fix: error message fix
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* types
* make check for folders more explicit
* update readme
* update fixtures
* fix tests
* fix types
* add tests for CT
* refactor
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* Adding component testing workflow coverage to specs (index) page.
* Adding e2e tests as well
* Fixing some component tests and types
* Adding test for spec page navigation
* Updating formatting
* Updating tests with flake
* Whoops wrong one
* Trying to hunt down some flakiness
* Still hunting.
* Reverting open IDE button change. Trying different selector for code test
* Skipping flaky code presentation
* Last couple changes
* Importing ref
Co-authored-by: Mark Noonan <oddlyaromatic@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>