Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@proof-ui/applitools-plugin
Advanced tools
Uses [applitools](https://applitools.com/) Visual Grid to take a snapshot of your story and run a visual regression check. It can be configured to run on may different screen-size and browser combinations. Make sure the `APPLITOOLS_ID` environment variabl
Uses applitools Visual Grid to take a snapshot of your story and run a visual regression check.
It can be configured to run on may different screen-size and browser combinations.
Make sure the APPLITOOLS_ID
environment variable is set, and that you have access to the Visual Grid beta.
yarn add -D @proof-ui/applitools-plugin
// proof.config.js
import ApplitoolsPlugin from '@proof-ui/applitools-plugin';
export default {
plugins: [
new ApplitoolsPlugin({
// Configuration
})
]
};
# Command Line Usage
proof --visual
Optionally set the test batch name
# Easilly track down test results by setting the PR number in the batch-name
proof --visual --visual-batch-name 'PR #112'
Run visual diffs against every story, even if no tests are written for one, requires the add-all-plugin
# Every story will be visually tested
proof --visual --add-all
You can configure the applitools-plugin through some options in it's constructor:
Property | Description | Type | Default |
---|---|---|---|
delay | Time (in ms) to wait before taking a screen-shot. Useful for making sure images are loaded, and animations are complete. | number (ms) | 1000 |
configure | A function used to configure the screen size and browser combinations for use in testing. Accepts a single argument, an instance of an applitools Configuration object | function see Configuration |
To test a 100px
by 200px
screenshot on Edge
:
import ApplitoolsPlugin from '@proff/applitools-plugin';
import { BrowserType } from '@applitools/eyes-selenium';
new ApplitoolsPlugin({
configure(configuration) {
configuration.addBrowser(100, 200, BrowserType.EDGE);
}
});
Any number of browsers or emulated-browsers can be added to the test.
See Configuration
for more details
FAQs
Uses [applitools](https://applitools.com/) Visual Grid to take a snapshot of your story and run a visual regression check. It can be configured to run on may different screen-size and browser combinations. Make sure the `APPLITOOLS_ID` environment variabl
The npm package @proof-ui/applitools-plugin receives a total of 56 weekly downloads. As such, @proof-ui/applitools-plugin popularity was classified as not popular.
We found that @proof-ui/applitools-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.