Can Not read a Json with github actions #26127
Unanswered
JoaqPareja
asked this question in
CI setup
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When running the script from the github actions, it does not read the json file.
Running: Geant/reConstrucProduct/reConstrucProduct.cy.ts (5 of 5)
Re convert products
1) "before each" hook: Bring products for "Convert array"
0 passing (5s)
1 failing
"before each" hook: Bring products for "Convert array":
AssertionError: Timed out retrying after 4000ms:
cy.readFile("../fixtures/datatest.json")
failed because the file does not exist at the following path:/home/runner/work/Scapping/fixtures/datatest.json
https://on.cypress.io/readfile
Because this error occurred during a
before each
hook we are skipping the remaining tests in the current suite:Re convert products
at Context.eval (webpack:///./cypress/e2e/Geant/reConstrucProduct/reConstrucProduct.cy.ts:12:11)
File:
Yaml:
Beta Was this translation helpful? Give feedback.
All reactions