-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add a screenshot script #56
Conversation
scripts/screenshot.js
Outdated
(async () => { | ||
await new StepRunner([ | ||
{ step: ScreenshotStep, config: screenshotStepConfig }, | ||
]).run(); | ||
})(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(async () => { | |
await new StepRunner([ | |
{ step: ScreenshotStep, config: screenshotStepConfig }, | |
]).run(); | |
})(); | |
(() => { | |
new StepRunner([ | |
{ step: ScreenshotStep, config: screenshotStepConfig }, | |
]).run(); | |
})(); |
or maybe even
(async () => { | |
await new StepRunner([ | |
{ step: ScreenshotStep, config: screenshotStepConfig }, | |
]).run(); | |
})(); | |
(() => new StepRunner([ | |
{ step: ScreenshotStep, config: screenshotStepConfig }, | |
]).run())(); |
(not sure, too much brightscript on daily basis 😅)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to:
new StepRunner([
{ step: ScreenshotStep, config: screenshotStepConfig },
]).run();
Scan submitted to Checkmarx |
Cx-SAST SummaryTotal of 3 vulnerabilities Checkmarx Scan Summary
Violation SummaryView more details on Checkmarx UI Cx-SAST Details
Cx-SCA SummaryTotal Packages Identified: 357 4 High severity vulnerabilities Cx-SCA vulnerability result overview
|
17f7f31
to
f93fada
Compare
# [1.2.0](v1.1.4...v1.2.0) (2022-01-26) ### Features * add a screenshot script ([#56](#56)) ([54c7244](54c7244))
🎉 This PR is included in version 1.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Screenshot
script that takes a screenshot of the dev app.Screenshots are saved under the screenshotDir path from .kopytkorc or if such field is not provided the default directory is set to
/dist
.The script saves it under filename
Screenshot_<Date as ISOString>.jpg
Requirements:
Todos:
Is this ready for review?: YES
Is it a breaking change?: NO