bahmutov / bahmutov/cy-api

2.1.2 version- errors with the body format. The cause is in the highlight.js file

Open
#156 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
210
Forks
26
PR merge metrics
No merged PRs in 30d

Description

When the body looks like this : { "forwardTo": " " } , Cypress cy.api returns an error. It works fine with the cy.request and with the previous cy.api version.

Screen Shot 2022-03-07 at 3 14 35 PM

Screen Shot 2022-03-08 at 9 43 29 AM

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with a body shaped like { "forwardTo": " " } in cy.api, then compare it with cy.request and the previous cy.api version. Inspect the highlight.js file identified in the report; done means cy.api accepts this body format without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, typescript
Domain
api, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.