Page MenuHomePhabricator

[MEX] Enable Cypress video recording for browser tests on retry
Closed, DeclinedPublic

Description

Breaking from T416574: [MEX] [M5] [SPIKE] Investigate enabling Cypress video recording for browser tests into a subtask

As a developer
I don't want CI performance to decrease unnecessarily but I want to be able to debug why a test didn't pass
So that I can actually fix the test

A/C

  • Cypress video recording does not run the first time the test happens
  • When a Cypress test is retried, the video recording option is enabled

Notes:

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
ResolvedkarapayneWMDE
ResolvedkarapayneWMDE
ResolvedkarapayneWMDE
ResolvedkarapayneWMDE
ResolvedkarapayneWMDE
ResolvedkarapayneWMDE
ResolvedkarapayneWMDE
ResolvedkarapayneWMDE
ResolvedkarapayneWMDE
ResolvedkarapayneWMDE
DeclinedNone
DeclinedNone
OpenNone
DeclinedNone
Resolvedmahmoud.abdelsattar.wmde
Resolvedmahmoud.abdelsattar.wmde
ResolvedNone
DeclinedNone
DeclinedNone
Resolvedmahmoud.abdelsattar.wmde
Resolvedmahmoud.abdelsattar.wmde

Event Timeline

Story writing notes: the ticket will be declined if the task isn't possible

Had a quick look at the cypress issue tracker, and this seems to be a) a common problem and b) not a problem that cypress are interested in solving:

https://github.com/cypress-io/cypress/issues/16377
https://github.com/cypress-io/cypress/issues/16672
https://github.com/cypress-io/cypress/issues/16681
https://github.com/cypress-io/cypress/issues/27653

The suggested workarounds are to delete the videos for successful runs (which we already do), or use Playwright instead. Declining this task for now as something that cypress simply doesn't make possible.