mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-31 11:59:04 -06:00
* create directory path from screenshot name * fix screenshot e2e specs * ensure unique file paths for non-named screenshots * append failure screenshots with ‘— failure’ * fix snapshot differences caused by slow computer * fix driver specs * fix minutes/seconds e2e snapshot replacer * fix minutes/seconds e2e snapshot replacer again * fix e2e specs failing due to screenshot path differences * more snapshot fixes * more snapshot fixes * more snapshot fixes * fix reporter showing wrong path for nested spec when no tests * nest non-named screenshots in path based on spec path * fix specs * fix snapshot * test that server + project state is reset between specs in cypress run mode * rename spec.path to spec.relative. pass around the spec object instead of a string path - store state on the project for current spec + browsers - simplify how desktop gui passes around spec object - fixes #1921 - make all specs a real spec model - rename ‘Run all tests’ to ‘Run all specs’ * remove pretty-error dependency * fixes #1919 and #1918, add Cypress.spec and Cypress.browser * fixes all the failing tests * fixes failing tests * types: Cypress.spec * add types for Cypress.browser * fixes more failing tests * enable null for spec props when running "All Specs" * read comments per PR https://github.com/cypress-io/cypress/pull/1858#issuecomment-396121876 * fixes failing tests * fix linting * fix types assertion * fixes failing tests * fixes failing tests, update from -- failed to (failed) * ugh regexp * fixes more tests * add name, specName, and testFailure to the afterScreenshot props * fix failing tests. append (failed) for failed screenshots - use { testFailure: true } to indicate a failing test screenshot for use in props