Skip to content
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

Cypress: Please add an option whether to include video in the allure report. If the input parameter is false, video should not attach in the allure report #980

Closed
sadhishsk opened this issue May 28, 2024 · 2 comments · Fixed by #1049
Assignees

Comments

@sadhishsk
Copy link

sadhishsk commented May 28, 2024

Is your feature request related to a problem? Please describe.
Currently video is attached for all the executions including Passed scenarios. When we try to artifact the report, its a bulk file. So we want to store only the report with no videos attached to it

Describe the solution you'd like
We would like to have an optional parameter flag that can be passed from the Cypress Config file and based on it, video should be attached to the report.

Describe alternatives you've considered
As of now, I don't have any alternatives.

Additional context
No additional context and I'm requesting for an feature

@sadhishsk sadhishsk changed the title Cypress Allure integration - Please add an option to include video in the allure report. If the input parameter is false, video should not attach in the allure report Cypress: Please add an option whether to include video in the allure report. If the input parameter is false, video should not attach in the allure report May 28, 2024
@epszaw epszaw self-assigned this Jul 1, 2024
@epszaw
Copy link
Member

epszaw commented Jul 2, 2024

If you want to prevent cypress from videos generation, you can pass video: false in the e2e section in your cypress config:

// cypress.config.js
modules.export = {
  e2e: {
    video: false
  }
}

@epszaw
Copy link
Member

epszaw commented Jul 5, 2024

Sorry for misunderstood! I added videoOnFailOnly option for the integration. You can observe the feature delivering process in the linked PR. The feature will be available in the next version.

@baev baev closed this as completed in #1049 Jul 5, 2024
@baev baev closed this as completed in 6132c17 Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants