Currently if you upload the same file fixture twice it will create two uploads with a different lastModified and lastModifiedAt` data on the file uploads. This makes it impossible to create a test that tests what happens if the same file(with the same metadata) is uploaded twice
Current behavior:
Currently if you upload the same file fixture twice it will create two uploads with a different
lastModified
and lastModifiedAt` data on the file uploads. This makes it impossible to create a test that tests what happens if the same file(with the same metadata) is uploaded twiceEach upload will have a different
lastModified
andlastModifiedAt
The same is true if you use the following
Desired behavior:
If you upload the same file twice both uploads should reflect the files actual lastModifiedAt value.
Steps to reproduce: (app code and test code)
Versions
cypress 6.7.1 cypress-file-upload 5.0.2