cypress icon indicating copy to clipboard operation
cypress copied to clipboard

misc: receive afterSpec durations from app capture code, and report them to the Cloud API

Open cacieprins opened this issue 9 months ago • 1 comments

  • Closes

Additional details

Because of the bifurcation of Test Replay capture/upload logic, the durations that are recorded in the afterSpec process will be returned from the protocol capture codebase' afterSpec method. They're collected and reported to the updateInstanceArtifacts Cloud API endpoint.

Steps to test

Verify that, once the related services PR is merged and released, these durations are reported to the update instance artifacts endpoint when recording a spec with Test Replay enabled.

How has the user experience changed?

PR Tasks

cacieprins avatar May 09 '24 19:05 cacieprins

2 flaky tests on run #55746 ↗︎

0 5557 77 0 Flakiness 2

Details:

Merge branch 'develop' into cacie/misc/record-tr-afterspec-timing
Project: cypress Commit: 53448a72d6
Status: Passed Duration: 16:06 💡
Started: Jun 11, 2024 5:15 PM Ended: Jun 11, 2024 5:31 PM
Flakiness  cypress/e2e/commands/waiting.cy.js • 2 flaky tests • 5x-driver-chrome

View Output

Test Artifacts
... > errors > throws when route is never resolved Test Replay
... > errors > throws when waiting for 2nd response to route Test Replay

Review all test suite changes for PR #29500 ↗︎

cypress[bot] avatar May 20 '24 18:05 cypress[bot]

Released in 13.12.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to Cypress v13.12.0, please open a new issue.

cypress-bot[bot] avatar Jun 18 '24 22:06 cypress-bot[bot]