mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-13 18:50:18 -06:00
* server: handle undefined values from plugins
* server: have plugins process inherit stdio
so console.logs and such from plugins file come through
* add cy.task()
* server: fix config spec
* driver: fix task spec
* server: change ‘task’ to ‘task:requested’
* server: have ‘task’ event take object literal instead of function
* server: document how to run individual integration and e2e tests
* fix cy.task specs
* server: fix task e2e spec
* add Cypress.Screenshot.defaults, implement most options
* accept new options in cy.screenshot()
* add jsconfig files for vscode’s sake
* only open test when capturing runner
* use dom to hide runner ui instead of react
* screenshot capture “all” -> “runner”
* fix specs
* refactor pausing timers
* implement before/after screenshot callbacks
* fix lint error
* enforce order of captures
* fix spec
* refactor app.jsx screenshot handling
* wait two ticks for repaint to occur before/after screenshots
* use special pixels to ensure cypress ui is hidden when taking app screenshot
* crop non-app from app screenshots
* add e2e test for pathological case where app has pixels that match rendering helper pixels
* fix screenshot app capture snapshot
* add unit tests for lib/automation/screenshot
* use blackout in app capture spec to ensure it renders
* fix task e2e spec
* fix driver screenshot spec
* use Promise.map {concurrency: 1} instead of utils.runSerially
* normalize minute durations in e2e test snapshots
* increase timeout for screenshot app capture e2e test
* correct app capture snapshot
* always run screenshot afterAll step
* call timer functions with context set
* simplify screenshot capture option to just be a string
* clone screenshot config to prevent mutation
* always capture runner w/o blackout on failures
* refactor and add more tests for screenshot events
* default to app capture
* try/catch screenshot dom modifications in case the iframe is cross-origin
* don’t blackout on runner captures
* update e2e test with latest screenshot api
* fix screenshots e2e test now that app capture is default
* refactor server/screenshots
* implement fullPage screenshot capture
* use capture: ‘fullpage’ instead of fullPage: true
* remove unnecessary try/catches
* add e2e tests for fullpage captures
* fix unit tests
* refactor full page screenshots
* rename/refactor from fullpage to multipart
* implement element captures
* split up screenshot e2e tests
* expose clip as screenshot option
* take devicePixelRatio into account for screenshot cropping
* some formatting and fun with retina offscreen images
* determine device pixel ratio server-side
window.devicePixelRatio can’t be trusted, because in headless electron it returns 1 even on a retina screen. Instead, we determine it server-side by dividing the screenshot resolution by the viewport size.
* refactor screenshot buffer handling
* add support for cy.within
* make fullpage the default capture
* only allow one element to be screenshotted
* coerce capture into ‘app’ for element captures
* fix specs broken by fixture change
* make top-left screenshot helper pixel less noticeable
* add some code comments
* refactor runner screenshots handling
* clean up before/after screenshot code
* ensure cleanup if test restarts in middle of screenshot
* skip pixel-checking on failure screenshots to reduce latency
* add types for new screenshot api
* fix typescript linting issues
* @sandbox -> sinon
* fix screenshots spec
* fix e2e spec
* fix specs
* fix specs
6 lines
66 B
JSON
6 lines
66 B
JSON
{
|
|
"compilerOptions": {
|
|
"experimentalDecorators": true
|
|
}
|
|
}
|