https://cypress.io logo
It seem that with a stronger timeout, the file see...
# e2e-testing
b
It seem that with a stronger timeout, the file seem to appear on the cypress/download folder but the readFile command doesn’t seem to find the file.
f
ok, so in that case, you just need a mechanism to check for the file before continuing and asserting on it.
readFile()
will fail if the file isn't there, but let me find a doc with an alternative...
b
It seem that it doesn’t wait for the file to be here
It always finish the method before the file is into the folder