-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
pkg/driverThis is due to an issue in the packages/driver directoryThis is due to an issue in the packages/driver directorytype: unexpected behaviorUser expected result, but got anotherUser expected result, but got another
Description
Cypress v4.8.0
When mocking clock with cy.clock we can pass "now" argument. But it is silently ignored if it is a Date
cy.clock(new Date()) // nope
cy.clock(+ new Date()) // yep, current date
When passing Date object and clicking on the clock
command
Metadata
Metadata
Assignees
Labels
pkg/driverThis is due to an issue in the packages/driver directoryThis is due to an issue in the packages/driver directorytype: unexpected behaviorUser expected result, but got anotherUser expected result, but got another
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
bahmutov commentedon Jun 23, 2020
Related issue bahmutov/sudoku#10
cypress-bot commentedon Jul 17, 2020
The code for this is done in cypress-io/cypress#7789, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
cypress-bot commentedon Jul 21, 2020
Released in
4.11.0
.This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v4.11.0, please open a new issue.