Cypress-file-upload: File lastModified and lastModifiedDate properties are modified

Created on 10 Jul 2020  路  2Comments  路  Source: abramenal/cypress-file-upload

We are using cypress-file-upload to upload .jpg images. The files being uploaded are having their modified dates changed to the current date, it's important for us that this doesn't happen. Is there anyway to do this?

question

All 2 comments

@tabcat Does this behavior exhibit itself when you upload manually, outside of Cypress?

Uploading files through the app keeps the files original modification date. app in question: https://github.com/cypsela/sailplane-web

We changed the tests to not check the upload date so they would pass, which has been fine.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yonigibbs picture yonigibbs  路  5Comments

skjnldsv picture skjnldsv  路  5Comments

JaydenNavarro-at picture JaydenNavarro-at  路  5Comments

warpech picture warpech  路  4Comments

tkeswa picture tkeswa  路  5Comments