* Adding remaining reporter error tests.
* Removing existing integration spec file
* Removing existing runner fixtures for error specs
* Fixing ts lint
* Testing with less tests kept in memory
* Testing some cypress-in-cypress settings to improve run-mode performance.
* Reverting changes to doc_url specs
* PR Updates. Inverting default value for 'open in IDE' validation in an attempt to reduce test time.
* Cleaning up ported code
* Update system-tests/projects/runner-e2e-specs/cypress/fixtures/index.html
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* Trying build workaround
* Bumping up parallelized builds for app integration tests
* Removing suspicious tests to validate CI build
* Removing more suspicious tests to test CI
* Trying to not scaffold every navigation
* Bumping resources for run-app-integration job. Updating reporter.errors specs to appropriately reduce AUT refreshes.
* Couple API tweaks
* test: Migrating runner hooks specs to app
* Removing unused helper from runner package; cleaning up a few things
* Updating yarn.lock
* fix: Migrating runner sessions ui tests to app
* test: Migrating runner's runner.ui tests to app
* test: Migrating runner retries ui tests to app
* Cleaning up a few things for consistency
* Fixing ts errors
* Removing tests for runner header that have existing coverage in app
* Working around detached elements in CI
* Still working around detached elements in CI
* Updating sessions.ui test to click more carefully. Adding bit more coverage around runner header and snapshot pinning.
* Update packages/app/cypress/e2e/runner/retries.ui.cy.ts
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* Migrating issue specs. Updating TODOs. Hopefully addressing some flake.
* Stopping icon spin animation for percy snapshots
* WIP
* customPercyCommand.ts
* WIP: working on custom percy snapshots for hiding elements other than the reporter [skip ci]
* WIP: Adding naive mutation observer for reseting DOM mutations after snapshots [skip ci]
Got tired of tripping over types, I can add them when we're feature complete
* Implementing scoped snapshots throughout app/runner tests, let's see how percy output looks
* Adding more snapshots to runner tests.
* Using spec link as click target
* Stop taking snapshots of failed tests
* Scoping selector playground snapshots (though they're still unstyled)
* Addressing flake in virtualized spec list
* Drying up runner snapshotting
* Logging single percy snapshot that reflects proper viewport and overrides
* Updating describes to better match previous snapshot names
* Removing added snapshots to get more accurate better diff presentation in Percy
* Removing new runner.ui snapshots as well
* Adding a few PR recommendations. Updating one last spec name that was corrected for grammar and no longer matched. Updating/removing relevant TODOs.
* Updating to use anticipated default width for reporter
* Updating tests for consistency with previous snapshots
* Tying original command into promise chain
* Let's try that again
* Making percy command enqueuing explicit to test result
* Scoping down on some variables. Using defaults for sessions tests.
* Updating some overrides to see if visibility is handled inconsistently
* Whitespace vanquished, working session test updates back in for long command logs
* Viewport height is not reflected in snapshots, let's try forcing the height on the panel
* Forcing the height issue
* Let's try a minHeight on the percy command
* Cleaning up alterations made during percy exploration
* Trying to get a cleaner percy diff after merge
* Fix Percy to use 10.0-release branch as baseline image comparison
* add comments about temporary percy env vars
* Adding some doc for changes made to customPercyCommand
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com>
* better tests
* basic support for open in ide
* extract modal component
* mutation to open file
* remove old code
* add a ton of tests
* update
* lint
* types
* ignore typeless import
* update links
* backwards compat so we do not break all system tests
* add back missing code
* missing code
* fix bug
* add regression test
* ts
* types
* develop: (52 commits)
feat: use hoisted yarn install in binary build (#17285)
fix: compile npm packages for node 12 (#18989)
fix: show call count even if `cy.stub().log(false)`. (#18907)
chore: Update TypeScript to 4.4.4 (#18930)
fix: wrap playground selectors in double quotes if not included (#18442)
fix: flaky settings_spec test (#18979)
chore: Update Chrome (stable) to 96.0.4664.45 (#18931)
fix: Loading of specs with % in the filename (#18877)
chore: refactor `create` into class `$Cy` (#18715)
chore: Update Chrome (beta) to 96.0.4664.45 (#18891)
fix: flaky `system-tests-firefox` job (#18848)
chore: release @cypress/webpack-preprocessor-v5.10.0
chore: release @cypress/vue-v3.0.5
chore: release @cypress/schematic-v1.6.0
chore: release create-cypress-tests-v1.2.0
release 9.0.0
feat: ensure major release
have conduit app wait on localhost:3000
fix install-required-node
use --legacy-peer-deps
...
* editors
* update openerId to binary
* types
* work- around
* refactor
* wip
* rejig actions
* update gql fragments on front-end
* update test
* remove old code
* lint
* remove old test
* wip
* use i18n
* use live mutation
* save editor in same format as other preferences
* update editor opening api
* wip: types
* types
* lint
* types
* simplify types
* implement prox ysettings
* types
* old code
* old import
* update test code
* remove old code
* allow using custom editor
* add tests
* 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>
* add retries e2e test
* restore runner/test/eslintrc
* use mocha pass event, move runner.spec to runner package
* fix .eslintignore
* remove npmInstall logic in helper/e2e script, force custom reporters to use our mocha
* temp 04/09/20 [skip ci]
* add retries output to server/reporter, fix mocha pass event order, cleanup
* e2e tests - dont run electron tests in other browsers
* Update readme to reflect how to start server for cypress tests
* fix after merge
* fix .coffee -> .js after merge
* fix attempt.tsx
* fix runnable titles emitted to terminal reporters
* fix more tests: update snapshots, fix 7_record_spec, 8_reporters_spec
* remove styling for 'attempt-error-region' so it's not indented
- This was the older styling before error improvements and is no longer
necessary.
* try 2: fix rerun before/after hooks
* fix runner with only, runner snapshots, lint fixes
* temp 04/29/20 [skip ci]
* backport changes from test-retries
* change logic to rerun before hooks after top navigation
* fix windowSize for browser e2e test
* fix windowSize for xvfb chrome in e2e test
* ok fine, just disable screenshots
* fix after merge: decaffed navigation.js
* update server/unit test snapshots
* fix after merge: decaffed aliases.js
* fix usage of cypress --parallel flag in circle.yml
* fix circle.yml integration-tests jobs
* fix decaf related typo
* fix circle.yml separate command for runner-integration-tests
* update runner/integration tests + snapshot after error improvements
* fix runner/integration snapshots for chrome/ff stacktrace differences
* rerun ci
* fix passing --parallel to runner-integration tests
* perf: faster lookup for hooks without runnables
* fix afterAll hook switch logic
* simplify mocha prototype patches
* fix decaf utils.coffee after merge
* backport to before/after fix
* backport to before/after fix 2
* cleanup from decaf, fix ui/package.json
* update helpers, simplify runner.spec
* fix lint-types errors, flaky spec
* fix noExit passed to e2e test inline options
* cleanup snapshot utility - refactor to use util file
* remove before/after changes
* make cy obj a class instance
* cleanup/unmerge before/after fixes PR...
* more cleanup
* add comment
* fix runner.spec
* cleanup snapshot utility more, cleanup reporter.spec
* fix after merge
* minor rename variable
* fix after merge: decaffed files
* fix specName in reporterHeader, spec_helper require
* replace reporter specPath usages with spec object from config
* cleanup, fix specs, fix types tests
* fix config spec paths in isolated runner, fix snapshot plugin button
* combine runner.spec.js and runner_spec.js
* fix incorrect merge
* minor minor cleanup
* rename driver/test/cypress to driver/test
* use yarn workspace over lerna for individual package commands
* add error message to driver start
* remove usage of wait-on
* update <reference types/>, import string
* fix driver/readme
* fix readmes after regex replace
* revert wait-on changes
* Revert "revert wait-on changes"
This reverts commit 6de684cf34.
* update yarn.lock
* fix broken path in spec
* fix broken paths in specs with @packages/driver
* move runner/test/cypress into runner/cypress
* start server in pluginsFile in runner/cypress tests
* fix more broken spec paths
* fix broken paths after runner/cypress folder move
* move type definition loading for driver/cypress into dedicated file
* move internal-types to "types" folder, fix driver/index.d.ts
* fix type-check in packages/runner. not exactly sure why
* fix runner type-check by excluding test folder in tsconfig
* bump timeout on e2e/8_error_ui_spec
* update snapshot utility, rename tests in runner/runner.spec, fix README yarn commands
* delete old spec
* fix snapshot naming, remove redundant test in reporter_spec
* fix file renames after merge
* rename runner/ snapshot
* update server/unit/reporter_spec snapshot
* update runner/runner_spec snapshot
* rename runner snapshot file
* address feedback: move server reporter snapshot specs out
* address feedback: add comment about exposing globals
* fix test-retries after merging isolated-runner
* fix runner/test helper, update snapshot
* address feedback: split out runner/retries spec, move reporter/ui tests to runner/ui spec (mostly done), various cleanup
* fix scrolling, attempt opening, update snapshots
* fix e2e support file
* fix 5_spec_isolation
* fix mislabeling attempt screenshots
* only add test results prevAttempts if exists
* fix reporter/unit tests, server/unit tests
* remove dead code, fix test isOpen
* update snapshots for retries.mochaEvents, fix snapshot error in state hydration test, remove dead snapshots
* new moduleAPI schema using attempts array, fix wrapping errors from hook retries, update snapshots
* add displayError, null out fields in moduleAPI schema
* change default retries to {runMode:2, openMode:0}
* fix reporter type-check
* upgrade json-schemas, update snapshots
* reformat error.stack to be only stacktrace, update snapshots
* fix stacktrace replacing in 5_spec_isolation
* fix navigation error causing infinite reloading, bump timeout on e2e/8_error_ui
* fix server/unit tests for new schema
* fix reporter/unit tests
* fix reporting duplicate screenshots using cy.screenshot during test retry
* update snapshot for 6_uncaught_support_file_spec
* bump x-route-version: 3
* fix test.tsx collapsible content, css, fix e2e/8_error_ui, e2e projects excluding retries
* fix css, fix padding in runnable-instruments, fix runner/integration tests
* fixup after merge
* fix reporter/runner to work with split hooks
* update api tests, runner/cypress tests, reporter
* fix 5_spec_isolation snapshots, fix runner/cypress errors.spec, fix null reference in test.tsx
* fix e2e/non_root spec, fix type_check, fix reporter/unit tests
* setup percy snapshots in runner/cypress, fix driver/runner test:after:run event, add tests for only,skip in runner/cypress, fix retried css
* add customPercySnapshot
* fix circle.yml
* fix circle.yml 2
* fix circle.yml 3
* add warning for incompatible retries plugin
* add more percy snapshots
* fix firefox screenshot resolution in e2e test
* Fix testConfigOverrides not affecting viewport (#8006)
* finish adding percy snapshots to runner/cypress retries spec, update error msgs, add tests to be fixed
* remove .only
* fixing missing repo argument
* fix testConfigOverrides usage with retries, fix test
* fix issues from previous merge
* add script that can query CircleCI workflow status
* add circleci job to poll
* add retries
* try yarn lock
* retry, percy finalize
* check for current running job
* do not swallow request error
* better print
* use job name from circle environment
* use debug instead
* renamed circle polling script
* refactor circle to conditionally run percy-finalize when env var is available
- pass job-names to wait on as an argument
* use multi-line strings and quote --job-names
- rename —circle-jobs to —job-names
* add comment
* only poll until the jobs to wait for are blocked or running
* fix running hooks at correct depth after attempt fails from hook and will retry, update e2e snapshots
* fix reporter/unit tests, remove unused toggleOpen code
* move custom percy command into @packages/ui-components and apply them to desktop-gui
* halt percy finalize job if env variable is not set
* if only I could code
* update runner/cypress mochaEvent snapshots, fix e2e firefox resolution
* fix css for attempt border-left, fix attempt-tag open/close icon, add color to attempt collapsible dot
* try percy set viewport width
* set default retries back to {runMode:0, openMode:0}
* formatting: add backticks to warning message
* write explicit test for screenshot overwriting behavior, fix snapshots after changing retries defaults
* fix e2e.it.only`
* cleanup whitespace
* update snapshots
* fix cypress module API types for new result schema
* build and upload binary for test-retries branch too (linux)
* add pre-release PR comment
* fix pre-release commit comment
* rename runner/cypress test
* update retries.ui.spec test titles
* fix after merge: use most recent attempt for before/after hooks
* add suite title to hook error in runner/cypress tests
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>