I was polishing my codes and I think I deleted something very important, now I can not run my codes, it was running before polishing. I tried to find out on my own but could not. I think I deleted something with cypress installation or etc.
describe("POST method", () => {
it("setup data", () => {
cy.request({
method: "POST",
url: "https:",
headers: {
Authorization: "xxxxx",
"content-type": "application/json",
},
body: {
"test-case": "base",
},
failOnStatusCode: false,
}).then((res) => {
expect(res.status).to.eq(200)
})
})
I do appreciate any help