I have a feature File and I have places multiple back grounds for different scenario in a single feature file like this
as there is no support for hooks in Cypress cucumber pre processsor
Feature: To test Login
Background:
Setting up app for the below scenario 1
Scenario: To Check if SVG Icon is present in offer status for an Active offer
GWT statements
Background:
Setting up app for the below scenario 2
Scenario: To check if the plans and services page shows Pending status for the offer in pending state
GWT statements
but Cypress is throwing a error

Where am i going wrong ?
how to deal with scenario level dependencies ?
Any solution to this?
Most helpful comment
Any solution to this?