* 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
* feat: Auto select project when an organization only has one project
* Fix failing e2e test
* Code review changes
* Resolve side effect of adding additional project to gql stub
* Fix issue with selected project not being set
* misc improvements to types
* Revert changes based on product decision
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* chore: patch vite
* remove readJsonSync methods
* rename patch
* fix tests
* reduce flake by using a timeout
* update test
* do not build mac and linux binaries
* 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>
* Adding prototype before-quit handler to handle async teardown.
* Getting binary builds
* Let's try this then
* Working the async changes backwards, hope I got them all. Unit tests will be a disaster currently.
* Actually getting build artifacts for testing
* Moving logic to server interactive/run
* fix: Fix some tests
* fix: Revert changes to circle config
* fix: Fix some tests
* fix: Fix more tests
* fix: Remove dead code comment
* fix: Fix ProjectDataSource tests
* fix: Add comment prefix
* fix: Remove comment and unnecessary async
* fix: Build Mac binary
* Reverting run changes
* Addressing PR comments. Cleaning up a few naming quibbles I had.
* Addressing TODO regarding onLoadError watcher cleanup.
* Correcting catch
* Fighting some unref errors on these catches
* Reverting making this private en lieu of binding
* Should have left these as instances, whoops
* Removing unnecessary test that was previously skipped
* Adding a couple cheap unit tests for the new interactive mode behavior
Co-authored-by: Tyler Biethman <tbiethman@gmail.com>
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
* avoid throwing error if reporter is not found
* make it safe to call `empty` when no element is found
* don't set up reporter without reporter root el
* expose "no command log" in window config object
* set up noCommandLog in runner ui store
* handle noCommandLog in open mode
* handle noCommandLog in Run Mode
* handle noCommandLog in runner styles
* don't clean up reporter if there's no reporter
* remove left 1px border in run mode always, not just for screenshots
* fix missing export
* add run mode test
* add open mode tests
* tweak comment
* minor test updates
* change variable name
* don't render reporter-related elements if hidden
* allow runner to still be cleaned up
* fix resizable panel assertion
* swith back to v-show for panels
* update tests
* fix: Require react-dom as a dependency for React projects
* fix: Update tests
* fix: Add react-dom as required dependency for Nextjs projects
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
* 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: restart server on baseUrl change
* Rework how baseUrl works
* Refactor how we determine if we should ping the base url
* Fix test
* Update packages/launchpad/cypress/e2e/choose-a-browser.cy.ts
* Update packages/launchpad/cypress/e2e/choose-a-browser.cy.ts
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>
* fix: watch only specs matching specPattern
* Fix test for _makeSpecWatcher
* Fixes to accommodate chokidar weirdness, better tests
* Add extra safe to ignore node_modules
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
* fix: Don't include defineConfig in generated config if cypress isn't available from project root
* Add e2e test
* Trying to figure out why test fails in CI
* Fix ts error, more specific timeout
* Once more with feeling
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
* fix: UNIFY-1774, throw error if we do not detect a webpackConfig for the user
* remove dead code, rely on auto-sourcing webpack config
* fix error styles, exit the devServer process when config is missing, guard against empty remoteState
* Add missing webpack for todos project
* Update npm/webpack-dev-server/src/makeWebpackConfig.ts
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>