Show date/time set by cy.clock() in command log #19534
Labels
E2E
Issue related to end-to-end testing
pkg/driver
This is due to an issue in the packages/driver directory
stage: proposal 💡
No work has been done of this issue
type: feature
New feature that does not currently exist
What would you like?
Currently using
cy.clock(new Date(.., .., .., .., .., ..).getTime())
displays in the command log just as "clock" without a message:It would be nice to also see the set date (not as epoch time obviously) for better understanding, eg.:
Why is this needed?
Sometimes the overridden time set by
cy.clock(...)
is calculated itself to make the test work and not hard coded. The only way to now verify that time is grabbing the epoch time from the debug console properties and converting it somehow to an interpretable string, which isn't even possible if you only have access to screenshots or recording video.Other
No response
The text was updated successfully, but these errors were encountered: