feat: Playback Validation using screenshot#519
Conversation
|
Invalid PR title. It must start with feat: or fix: or BREAKING CHANGE: or feat(): or fix(): or BREAKING CHANGE():. Please see our Contributing-Guide. |
There was a problem hiding this comment.
Pull request overview
This PR extends the Cypress screenshot capture flow to support “playback” validation by tagging screenshots with a type and capturing a screenshot during the “3rd party app is …” validation step.
Changes:
- Capture a screenshot for the
3rd party '<app>' app is '<validation>'validation step, tagging it asPLAYBACK. - Extend
UTILS.captureScreenshot()to accept an additionalscreenshotTypeparameter and include it in the request params.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| cypress/support/step_definitions/validations.js | Captures a screenshot (typed as playback) before running the validation object flow. |
| cypress/support/cypress-support/src/utils.js | Updates screenshot utility API to accept and forward screenshotType in the screenshot request. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Adds support for categorizing screenshots taken during Cypress validation steps, enabling playback-specific screenshot validation flows.
Changes:
- Pass a
playbackscreenshot type when capturing a screenshot for the “3rd party app is …” validation step. - Extend
UTILS.captureScreenshot()to accept an optionalscreenshotTypeand include it in the screenshot request payload.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| cypress/support/step_definitions/validations.js | Captures a screenshot with OCR processing enabled and labels it as playback for the relevant validation step. |
| cypress/support/cypress-support/src/utils.js | Updates the screenshot utility to accept and forward an optional screenshotType field in the platform request. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🎉 This PR is included in version 1.23.0-dev.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.