* revive logic to run CT in a single tab
* add feature flag: experimentalSingleTabRunMode
* remove log
* reset browser state between tests
* document single tab run mode experiment;
* add system test for experimental run mode
* fix snapshots
* use more simple project for testing
* additional guard;
* fix test
* Apply suggestions from code review
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* destroy aut after each spec
* update snapshot
* fix types
* add experiment flag error
* add warning when using experimental flag with e2e
* build binaries for experimentalSingleTabRunMode feature
* build binaries take 2
* make error message more open ended
* destroy AUT later in run mode lifecycle
* add additional assertion around experimental flag
* simplify error
* remove test code from production code
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* fix: remove working directory from glob patterns
* Adding a few specs to FileDataSource
* Cleaning up leaky stubs
* Adding little system test
* Get mac binary too
* fix(react18): unmount component with react18 API
* Add null check and explicit typing per code review
* update snapshots and make code more concise
Co-authored-by: Zachary Williams <zachjw34@gmail.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* wip: basic implementation
* update dependencies to have maxVersion
* handle promises correctly
* fix test
* update test project and styling
* only check for CT deps in CT
* install required deps
* revert
* rework detection and extend tests
* remove unused code
* remove more code
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
* fix: Throw error when custom config file does not return expected value
* Improve test to avoid false positive
* Code review changes
* remove old code
* remove unused yarn.lock
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* 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
* 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>
* 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
* fix(config): allow "additionalIgnorePattern" to be an array of string
Also set default value to "[]", to prevent issue when running E2E tests.
* chore(test): set "additionalIgnorePattern: undefined" for Cypress-in-Cypress config
* chore: update snapshots
* chore: update types for additionalIgnorePattern
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* add regression tests
* attempt to fix screenshot blacks basing blackouted element around container instead of body dimensions
* move blackout test to screenshot viewport suite and update snapshot
* add github issue to test
* test: Bumping timeout on breadcrumb state checks for Windows
* todos project was missing component index but has component testing configured
* Adding key to links to ensure attrs are cleaned up/reset
* Coercing boolean keys to strings to match vue key types
* chore: Un-skip some tests
* chore: Unskip more tests
* chore: Use exec rather than spawn
* chore: Fix test
* chore: Remove events_spec tests
* chore: Add defaultValue for specPattern option
* chore: Remove default value
* chore: Use os to determine system arch and platform during testing
* chore: Add comment for specPattern defaultValue
* chore: Remove comment
* fix: use graceful-fs always, warn in development on sync calls
* skip prop linting in some dirs
* eslint rules
* use AST-based lint rule instead
* comment
* ignore existsSync
* run without nextTick
* remove dev warning code
* fix order
* register TS first
* fix tests
* fix test
* cover new call site
* fix new test
* fix: Don't glob project path in supportFile lookup
* Updating unit tests around supportFile 'isFolder'
* Adding unit test to validate the projectRoot isn't globbed
* Adding system test to validate successful run
* This is more accurate
* Updating snapshot to reflect now missing absolute path from the supportFile value
* Adding e2 launchpad test
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
* fix: properly run multiple specs in run and headed mode on linux and windows
* fix: properly run multiple specs in run and headed mode on linux and windows
* Update test
* Update test
* Fix issue with running headed in linux and windows
* Improve test
* Update packages/server/lib/browsers/browser-cri-client.ts
* PR comments
* PR comments
* Fix test failure due to refactor
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
* fix: support ESM projects using TypeScript with ts-node/esm
* better error handling
* fix test
* indentation
* register ts-node via --require hook
* be less aggressive with erroring
* update fix system tests
* remove obsolete test
* handle case of not using typescript
* replicate 9.x behavior for legacy plugins w/ ts-node
* make test project valid and adjust tests accordingly
* use ts-node/esm transpile only
* dummy
* extract util function
* merge in refactor using projectFixtureDirectory
* fix test
* feat: show better error message if testing type is not configured
* Add tests
* Update tests
* Fix some tests
* Fix some tests
* Fix test
* Fix tests
* Update packages/errors/src/errors.ts
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* Update with code review
* Fix test
* Add on link
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>