mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-03 21:19:44 -06:00
* update yarn.lock * index on mabel/issue-31677-reporter-redesign:5e2503f339Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign * index on mabel/issue-31677-reporter-redesign:5e2503f339Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign * index on mabel/issue-31677-reporter-redesign:5e2503f339Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign * handle open in ide and new test button shadows/padding/alignment * link issue to TODO * only add pointer-events:none to tests and not suites * fix failing tests * Update cache-version.txt * fix failing test * fix clear sessions width * yarnlock update * remove unused style * remove unused style * add caching when calculating children states in the suite-model * Revert "add caching when calculating children states in the suite-model" This reverts commit3b59a94282. * Remove * css style for reporter box-sizing - I don't see this impacting css styles at all * have css only target languages we support showing in Cypress App * Remove normalize.scss * Remove more global css resets to improve rendering performance * remove running state * memoize components in runnable-and-suite * fix failing test * bump cache * skip failing tests related to active states * add clearSuiteId function * misc: begin work on reporter redesign * remove info icon on failing tests * Add new queued icon to tests * bump react-icon * add some styles for the header * add some styles and icons to describe blocks * display chevron down on describe hover * add css for red-400 * only display collapsible describes if there are tests in the suite * add new test on describe hover * add describe focus styles * add describe focus styles scss * fix add commands to test wand placement * update stats icon with describe and test hover and focus * update test status icons * handles some of the test body styles and states * add ellipsis to runnable title and flex shrink to icons * fix command row stylings * fix session alignment * fix collapsible indicator styles * handle attempt styling * fix failing tests * add back command status borders * fix suites.cy.ts tests and make some styling fixes * fix styles for New test button on focused/hovered suites * fix header test * attempt spacing fixes * fix shortcuts test * add open in ide on header hover * make some styling fixes to errors * make error styling changes * update control icons and styles * fix dotted line for suites * add test dots * fix logic for displaying test dots * use stop circle icon * refactor runnable and suite header icon * only use test children to determine current suite state to display the suite icons * fix suites test * fix suite and test icon alignments * clean up some comments and unused variables * fix failing tests * fix failing studio tests * fix failing tests * fix meta test * fix suite_model test * add more tests for suite-model * fix more tests * fix failing test * fix padding for hook headers * handle font weight, describe aligment and status border widths * fix rounded corners on hover of commands * round status border when test is opened * handle chevron right/down when hovering when collapsible is open/closed * add changelog entry * yarn lock * run on binary * bust circle cache * center align open in ide on command hover * add padding to the bottom of the last suite/test * fix attempt padding and connecting dots * update progress bar color to gray-900 * no jumping when opening test * top align describe/test text when the text wraps to the next line * clean up new test button styles and add the linear gradient * fix dotted line and describe/test padding * round out error border and remove double red border on errors * fix gap for stack trace * only apply margin top to test and suite icons * change opacity of add commands to test wand icon * fix wand opacity test * can we just remove this overflow: scroll? * clean up TODOs * fix error group line alignment * align open IDE tooltip in hooks * fix padding between suites * remove purple border around describe in studio * Add tailwind css so that styles work in e2e tests * fix studio buttons padding * fix stack trace padding * disable clicking for skipped and queued up tests * fix 1px jumping when opening test * handle open in ide and new test button shadows/padding/alignment * circle cache * update yarn.lock * index on mabel/issue-31677-reporter-redesign:5e2503f339Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign * index on mabel/issue-31677-reporter-redesign:5e2503f339Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign * index on mabel/issue-31677-reporter-redesign:5e2503f339Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign * link issue to TODO * only add pointer-events:none to tests and not suites * fix failing tests * Update cache-version.txt * fix failing test * fix clear sessions width * remove unused style * yarnlock update * add caching when calculating children states in the suite-model * Revert "add caching when calculating children states in the suite-model" This reverts commit3b59a94282. * Remove * css style for reporter box-sizing - I don't see this impacting css styles at all * have css only target languages we support showing in Cypress App * Remove normalize.scss * Remove more global css resets to improve rendering performance * remove running state * memoize components in runnable-and-suite * fix failing test * bump cache * skip failing tests related to active states * clean up existing studio UI * refactor duration and openFileInIDEButtn * update workflows file * add single test component * save parentTitle to use in single test mode * add single test component * clean up studio commands * remove adding studio commands as a hook * clean up hook-model from studio commands * use new singleTest component when studio is active and on single test mode * update reporter start to set single studio test active * actually set single test mode * clean up more old studio code * fix styles for header title * fix hooks test * whoops re-add deleted line * fix events.cy.ts test * fix runnables_store test * fix test_model test * fix test_errors test * fix tests test * fix studio-cloud test * update waitForSpecToFinish * fix some studio tests maybe? * fix some tests * add back studio commands hook to tests * add back some of the events i removed that also need to be cleaned up in the cloud * fix some tests * add test for back button and open in ide button in single test mode * add component test for StudioSingleTest component * wait for specs to finish to reduce flake when asserting on aut iframe * add tests back * remove studio instructions modal * remove this branch from mac workflow * try to fix the studio tests * check if aut-iframe is empty * add more checks to make sure aut is ready * add loading tests state to StudioSingleTest * fix single studio test * add more conditions for the studio tests * make a few more changes to the existing tests * fix button styles * add scrollbar to single test * hide studio commands hooks * handle scroll to view in single test mode * show empty test state when test is errored * update name to checkForStats * add useScrollIntoView hook * update waitForSpecToFinish * remove unused props * allow stop button to work when studio is active * clean up StudioTest.scss * remove runnable active and queued checks * fix order of operations in waitForSpecToFinish * call studio:cancel event for back button in studio test mode * remove studio commands check * memoize scrollIntoView callback and add it as a dependency in useEffect * fix ts error * check if single test studio is active when waiting for spec * fix launchStudio new test logic * allow shorcuts to work in studio mode * align test studio icon at the top * refactor spec file name into its own component * update tests with new spec file name classname * add checkForStats and add tests for removing url parameters * remove spacing * fix icon import * fix tests.cy * fix open file in ide test * add style I accidentally removed --------- Co-authored-by: Ryan Manuel <ryanm@cypress.io> Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com> Co-authored-by: Jennifer Shehane <jennifer@cypress.io> Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Runner
This is an old package, deprecated in favor of @packages/app. It has two remaining responsibilities before it can be entirely removed:
- Bundles
@packages/reporterand@packages/drivervia webpack. Once those can be directly imported to@packages/app, we can remove this. - Bundles styles for
@packages/reporter, loaded inmain.scss. Ideally, reporter should import its own styles. - Contains
dom.js, which uses proprietary webpack loaders and cannot easily be imported with Vite (dev server in@packages/app). Oncedom.jsis free of webpack-specific loader code, we should move it to@packages/app. - Contains Cypress Studio Recorder code, which was marked as experimental in Cypress 9.x and won't be part of Cypress 10.x initially. It will return at a later date. Until then, the code will be here. It's not currently used in the app. @see https://github.com/cypress-io/cypress/issues/22870
- Contains Legacy Cypress styles, most of these can likely be removed.
Implicit Dependencies
We have the following implicit dependencies defined in package.json
- @packages/driver
- @packages/config
- @packages/reporter
The source code from these packages are bundled into dist/cypress_runner.js when this package is built. Because of this, we need to specify to Nx that any changes in the source files of the above packages need to invalidate the build cache for this package so that it gets rebuilt.