You can also not use the cy.readfile. I will give...
# help
m
You can also not use the cy.readfile. I will give you an example how i use json files
Copy code
js
import * as myJson from '../../fixtures/example.json'

describe('Actions', () => {

  it("json file reading", ()=> {
    cy.log(myJson.name)
    cy.log(myJson.email)
  })

})