* 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>
* 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
* 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: 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>
* fix: UNIFY-1408, warnings should be nested appropriately & clearable
* Add fix / test for UNIFY-1604, UNIFY-1732
* better tests around baseUrl handling, remove unneeded logic
* Fix stub usage, test failure, pingBaseUrl behavior
* fix duplicate test title
* refactor: reduce flake in migration.cy.ts, return null for videoEmbedHtml if migration is not needed
* Fix UNIFY-1740: guard against double submit of mutation
* don't hit the videoHtmlEmbed link more than once
* move withCtx after scaffold
* Stub the on link response, add test for caching behavior
* 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
* add function to detect lang
* update test files
* update pkg.json
* remove concept of lang from wizard
* update tests
* fix tests and add debugging
* update test
* fix test
* add ts to ts project deps
* update assertion
* empty commit to trigger CI
* fix ts
* add debug log
* 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>
* Add failing test
* Get latest data on project
* Logout on 401
* remove unused async
* Update error handling
* Fix TS
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* fix: restart dev-server on config change
* close dev server before cp is spawned
* fix test that is failing... not sure why
* cleanup unsued close events
* remove wait
* add back in close for unit tests
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>