cypress icon indicating copy to clipboard operation
cypress copied to clipboard

Cypress video recording cut off a little bit too early

Open Songyu-Wang opened this issue 4 years ago • 15 comments

Current behavior

Let's use https://dashboard.cypress.io/projects/7s5okt/runs/4921/test-results/96046daa-69f6-4960-a226-7de6a161a7c5/video as an example: image

Above is the last frame of the recorded video. As you can see, "login as user" is still showing "in progress".

Technically, we can know for sure everything is tested and passed in CI log

However, it is difficult to share the recorded video with non-technical collaborators and ask them to 100% believe in the videos...

Desired behavior

Record all the way and wait for the test log to collapse

Test code to reproduce

Randomly picked this run as an example: https://dashboard.cypress.io/projects/7s5okt/runs/4921/overview

Cypress Version

N/A

Other

No response

Songyu-Wang avatar Aug 19 '21 00:08 Songyu-Wang

Thanks for opening an issue. I have seen this before but I don't believe an issue has been opened so this will be used to track this situation.

jennifer-shehane avatar Aug 19 '21 13:08 jennifer-shehane

I also encountered this problem, is there a suitable solution now? chrome: 86.0.4240.198-1 cypress: 7.7.0

Ariel-Cheng avatar Sep 18 '21 11:09 Ariel-Cheng

I also encounter this problem very often. Currently, as a workaround, I am adding a cy.wait(2000) at the end of the last test on each file.

How can I help to solve this?

I am currently using Cypress 10.6.0.

papb avatar Oct 21 '22 01:10 papb

This might be related to #9342, #9367, #23824

papb avatar Oct 21 '22 01:10 papb

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

cypress-app-bot avatar May 15 '23 16:05 cypress-app-bot

Still not solved

AlbinoGeek avatar May 24 '23 07:05 AlbinoGeek

Still experiencing this with Cypress 12.7.0 and Cypress 13.2.0.

yurijmikhalevich avatar Sep 22 '23 13:09 yurijmikhalevich

Just keeping this alive :)

vrxj81 avatar Oct 04 '23 15:10 vrxj81

Confirming issue appear on Cypress 12.9.0 🆙

novirael avatar Oct 19 '23 10:10 novirael

Confirming this issue still exists in 13.5.1 😢

jjorgenson-aya avatar Jan 11 '24 17:01 jjorgenson-aya

Still an issue in 13.8.1, would like to see that fixed

lschlesinger avatar Jun 07 '24 10:06 lschlesinger

Likely Test Replay gives a more accurate representation of what happened during the test and is not cut off, just knowing how it works under the hood. I'd recommend reviewing the Test Replay for those of you that are using the Cloud.

jennifer-shehane avatar Jun 07 '24 14:06 jennifer-shehane

Using cypress 12.17.4. We have tests intermittently failing in CI. While the screenshot is able to grab where the error first occurs, we rely on the final error with the stack trace that gets logged at the end of entire test. Videos are cut a few frames too short for us to be able to see it. Using a media player I can see the last stack pop up but its only like 1ms, so impossible to pause the video to see the stack trace.

We do not have access to Cypress Cloud. Looking for a solution for non cypress cloud users

jacklin213 avatar Jun 22 '24 05:06 jacklin213

Switched to Plawright, no more worries/flaky tests

vrxj81 avatar Jun 22 '24 14:06 vrxj81

on Cypress 14.0.0 More than 3 years with no solution for one of the core feature is weird. Indirectly signalling to go for "cloud" bc it can be seen there?

mysticdevx avatar Feb 14 '25 16:02 mysticdevx