@argos-ci/playwright
Advanced tools
Comparing version 1.3.2 to 1.4.0
@@ -14,4 +14,8 @@ import { Page, PageScreenshotOptions, LocatorScreenshotOptions, ElementHandle } from "@playwright/test"; | ||
viewports?: ViewportOption[]; | ||
/** | ||
* Custom CSS evaluated during the screenshot process. | ||
*/ | ||
argosCSS?: string; | ||
} & LocatorOptions & ScreenshotOptions<LocatorScreenshotOptions> & ScreenshotOptions<PageScreenshotOptions>; | ||
declare function argosScreenshot(page: Page, name: string, { element, has, hasText, viewports, ...options }?: ArgosScreenshotOptions): Promise<void>; | ||
declare function argosScreenshot(page: Page, name: string, { element, has, hasText, viewports, argosCSS, ...options }?: ArgosScreenshotOptions): Promise<void>; | ||
export { ArgosScreenshotOptions, argosScreenshot }; |
{ | ||
"name": "@argos-ci/playwright", | ||
"description": "Visual testing solution to avoid visual regression. Playwright commands and utilities for Argos visual testing.", | ||
"version": "1.3.2", | ||
"version": "1.4.0", | ||
"author": "Smooth Code", | ||
@@ -45,3 +45,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@argos-ci/browser": "1.1.1", | ||
"@argos-ci/browser": "1.2.0", | ||
"@argos-ci/core": "1.3.0", | ||
@@ -62,3 +62,3 @@ "@argos-ci/util": "1.1.0" | ||
}, | ||
"gitHead": "27c07b619069353c2a8c8c98203b9c27b4e2bed0" | ||
"gitHead": "ad3ddc6e774f2b6e381259b4bfae72855326246b" | ||
} |
Sorry, the diff of this file is not supported yet
20385
458
+ Added@argos-ci/browser@1.2.0(transitive)
- Removed@argos-ci/browser@1.1.1(transitive)
Updated@argos-ci/browser@1.2.0