* feat: migrate to new webpack-dev-server public api
* fix: extract version check, and disallow minor releases matching `/3\./` with a starts with req.
* feat: support webpack-dev-server v4
* fix webpack warning causing overlay and types
* pin test dependency
* fix tests that were using incorrect wewbpack configuration
Co-authored-by: Ollie Relph <ollie@relph.me>
* chore: use import type across repo
* chore: use import type across repo
* chore: use import type across repo
* chore: use import type across repo
* update exports
* update test
* update import type
* update types
* use import type in driver
* correctly export function
* revert test
* remove unrelated code
* revert code
* improve type imports
* override for reporter
* move spec list to shared package
* render and hydrate spec list
* share base store
* deps
* set current spec
* render spec list in e2e runner
* lint
* add design system import
* add deps
* wip: layout
* use dynamic spec list width
* remove debugging code
* feature flag
* fix tests
* do not emit event when feature flag is OFF
* revert CSS
* revert more changes
* whitelist specListWidth
* add test selector
* update feature flag
* improve feature flag
* add tests for inline spec list
* allow using real onSpecWindow in runner integration tests
* update tests
* improve tests
* make feature flag more explicit
* move specs store to server
* customize spec directory in store
* share plugins via project base
* shared updated config
* share spec finding logic
* fix test
* share spec store code
* remove comment
* try fixing test
* move code around
* move more code
* share sendSpecList
* comment out line
* comments
* logs
* stub chokidar
* remove stub
* move spec watcher to later in the lifecycle
* refactor watcher
* stub out chikidar
* remove old code
* refactor
* update server-ct
* fix implementation
* fix implementation
* fix test
* update types
* add back check for config
* add comment
* make server base abstract
* fix type
* export interface
* move routes to TS
* update types
* types
* fix types
* correctly pass specs store in test
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
* chore: switch fonts to use @fontsource rather than local version
* Use fontsource for fira instead of custom repo
* Update font weights in reporter
* Update runner ct for fonts
* Fix some issues with runner header
* Update non proxied image
* Try that
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* fix: encodeURI to correctly load specs with white space
* fix the tests
* allow refresh page when spaes are in the path
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
* Implement no specs found message
* Take care of config.projectRoot
* Update packages/runner-ct/src/app/RunnerCt.tsx
* Remove useless code
Co-authored-by: Adam Gastineau <adamg@cypress.io>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* fix(component-testing): Align headers correctly
* fix(component-testing): Correctly exit process in run mode for compilation errors
* Revert "fix(component-testing): Correctly exit process in run mode for compilation errors"
This reverts commit 45f8e72101.
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* fix: Devtools unpredictable resets
* Remove cleaning up from webpack-dev-server
* Fix lint errors
* Get back observer
* fix: bring back cleanup (#15634)
* fix: wait for fw teardown to do html teardown
* fix: port responsibility of teardown to frameworks
* chore: add comments
* fix: typings
* fix: react unmount cannot be called in the right hook
* run dtslint
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
* Added more strict JSX rules
* Improved CT lint rules and fixed react-hooks
* Updated code to match linting rules in CT
* Added new linting rules to design-system
* Fixed funky text formatting within JSX
* Fixed missed text issue
* Added optional chaining to Babel config
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>