Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show date/time set by cy.clock() in command log #19534

Open
verheyenkoen opened this issue Jan 4, 2022 · 2 comments
Open

Show date/time set by cy.clock() in command log #19534

verheyenkoen opened this issue Jan 4, 2022 · 2 comments
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

Comments

@verheyenkoen
Copy link
Contributor

What would you like?

Currently using cy.clock(new Date(.., .., .., .., .., ..).getTime()) displays in the command log just as "clock" without a message:

image

It would be nice to also see the set date (not as epoch time obviously) for better understanding, eg.:

image

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

@sainthkh sainthkh added stage: proposal 💡 No work has been done of this issue pkg/driver This is due to an issue in the packages/driver directory labels Jan 10, 2022
@cypress-app-bot
Copy link
Collaborator

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 cypress-app-bot added the stale no activity on this issue for a long period label May 15, 2023
@verheyenkoen
Copy link
Contributor Author

Issue still occurs.

@nagash77 nagash77 removed the stale no activity on this issue for a long period label May 15, 2023
@nagash77 nagash77 added type: feature New feature that does not currently exist E2E Issue related to end-to-end testing labels May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

5 participants