Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cypress-visual-regression/cypress-visual-regression
/ functions
Functions
33 in github.com/cypress-visual-regression/cypress-visual-regression
⨍
Functions
33
◇
Types & classes
2
↓ 44 callers
Method
compareSnapshot
* Take a screenshot and trigger a visual regression check * If visualRegressionType is set to 'base', create a base screenshot, no comparison t
src/command.ts:38
↓ 10 callers
Function
compareSnapshots
( options: VisualRegressionOptions & { retryAttempt: number } )
src/plugin.ts:85
↓ 5 callers
Function
addCompareSnapshotCommand
Add custom cypress command to compare image snapshots of an element or the window.
src/command.ts:84
↓ 5 callers
Function
configureVisualRegression
(on: Cypress.PluginEvents)
src/plugin.ts:158
↓ 5 callers
Function
format
(colorFormat: ChalkInstance, messages: unknown[])
src/utils/logger.ts:22
↓ 5 callers
Function
printDate
(colorFormat: ChalkInstance)
src/utils/logger.ts:42
↓ 4 callers
Function
adjustCanvas
(image: PNG, width: number, height: number)
src/utils/image.ts:12
↓ 4 callers
Function
logLevel
()
src/utils/logger.ts:15
↓ 2 callers
Function
cypressConfigWithEnv
(expose: Cypress.ConfigOptions['expose'])
tests/integration/cypress.common.config.ts:30
↓ 2 callers
Method
overwrite
* Overwrite compareSnapshot as a dual command. Cypress injects the previous subject * as the first argument when compareSnapshot is chained fro
src/command.ts:47
↓ 2 callers
Function
updateSnapshot
(options: UpdateSnapshotOptions)
src/plugin.ts:70
↓ 1 callers
Function
compareScreenshots
Call the plugin to compare snapshot images and generate a diff
src/command.ts:236
↓ 1 callers
Function
constructCypressError
(log: Cypress.Log, err: Error)
src/command.ts:321
↓ 1 callers
Function
createTempBaseDirectory
(screenshotName: string)
src/plugin.spec.ts:34
↓ 1 callers
Function
getCommandRuntimeEnv
()
src/command.ts:70
↓ 1 callers
Function
getVisual
(images: VisualRegressionImages)
src/command.ts:328
↓ 1 callers
Function
isLogLevel
(level: string)
src/utils/logger.ts:11
↓ 1 callers
Function
prepareOptions
( name: string, screenshotOptions: Partial<Cypress.ScreenshotOptions & PluginOptions>, commandOptions: P
src/command.ts:134
↓ 1 callers
Function
shouldUpdateOnRegressionError
(options: VisualRegressionOptions)
src/plugin.ts:62
↓ 1 callers
Function
takeScreenshot
Take a screenshot and move screenshot to base or actual folder
src/command.ts:213
↓ 1 callers
Function
updateSnapshots
Call the plugin to update base snapshot images
src/command.ts:296
Function
always
(...messages: unknown[])
src/utils/logger.ts:70
Function
debug
(...messages: unknown[])
src/utils/logger.ts:64
Function
error
(...messages: unknown[])
src/utils/logger.ts:46
Function
info
(...messages: unknown[])
src/utils/logger.ts:58
Function
onAfterScreenshot
(_el, props)
src/command.ts:225
Function
onBeforeScreenshot
($el: JQuery)
tests/ts/cypress/support/e2e.ts:15
Function
setupNodeEvents
(on: Cypress.PluginEvents, config: Cypress.PluginConfigOptions)
tests/integration/cypress.common.config.ts:13
Function
setupNodeEvents
(on, config)
tests/esm/cypress.config.js:10
Function
setupNodeEvents
(on, config)
tests/ts/cypress.config.ts:10
Function
setupNodeEvents
(on)
tests/ts-alt/cypress.config.ts:10
Function
setupNodeEvents
(on, config)
tests/cjs/cypress.config.js:10
Function
warn
(...messages: unknown[])
src/utils/logger.ts:52