Skip to content

fix(cypress): fix invalid retries#273

Merged
gregberge merged 1 commit intomainfrom
min-retry-number-0
Feb 20, 2026
Merged

fix(cypress): fix invalid retries#273
gregberge merged 1 commit intomainfrom
min-retry-number-0

Conversation

@gregberge
Copy link
Member

No description provided.

@gregberge gregberge requested review from a team, Copilot and jsfez and removed request for a team February 20, 2026 13:54
@vercel
Copy link

vercel bot commented Feb 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
argos-js-sdk-reference Ready Ready Preview, Comment Feb 20, 2026 2:01pm

Request Review

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts how the Cypress SDK reports the test retries value in generated screenshot metadata, aiming to avoid invalid values coming from Cypress internals.

Changes:

  • Add a getRetries() helper to sanitize the cy.state("runnable")._retries value.
  • Use the sanitized value when populating metadata.test.retries.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gregberge gregberge merged commit 28aa0fb into main Feb 20, 2026
22 of 23 checks passed
@gregberge gregberge deleted the min-retry-number-0 branch February 20, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants