Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
screener-shots
Advanced tools
Readme
Sync Screenshots for Visual Testing with Screener.io.
$ npm install --save-dev screener-shots
Then add a script to your package.json
:
"scripts": {
"test-screener": "screener-shots --conf screener.config.js"
}
Then add a configuration file to your project root. Here is an example:
screener.config.js
module.exports = {
// full repository name for your project:
projectRepo: 'my-org/my-project-repo',
// this example assumes Environment Variables listed below exist on your system:
apiKey: process.env.SCREENER_API_KEY,
// set base branch to pull baseline from:
baseBranch: 'master',
// array of shots groups that contain application screenshots for a particular platform/resolution.
// `shotsDir` is a local directory that will be traversed for PNG screenshots.
shots: [
{
name: 'Windows 10',
resolution: '1280x1024',
shotsDir: '/path/to/windows-10/screenshots'
},
{
name: 'iPhone 8',
resolution: '375x667',
shotsDir: '/path/to/iphone-8/screenshots'
}
]
};
Sample Directory Structure
screenshots/
├── TextFieldComponent/
│ ├── default.png
│ ├── disabled.png
│ ├── error.png
│ ├── placeholder.png
│ └── Multiline/
│ ├── default.png
│ └── error.png
└── CalendarComponent/
├── default.png
├── with day picker.png
└── multiple day selection.png
Run the following command:
$ npm run test-screener
Note: Screener will automatically set build
, branch
, and commit
options if you are using one of the following CI tools: Jenkins, CircleCI, Travis CI, Visual Studio Team Services, Codeship, GitLab CI, Drone, Bitbucket Pipelines, Semaphore, Buildkite.
includeRules: [
'State name',
/^Component/
]
excludeRules: [
'State name',
/^Component/
]
new
states are found.failureExitCode: 0
vsts: {
instance: 'myproject.visualstudio.com'
}
FAQs
Send Screenshots to Screener.io for Automated Visual Testing
The npm package screener-shots receives a total of 0 weekly downloads. As such, screener-shots popularity was classified as not popular.
We found that screener-shots demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.