File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { Given , When , Then } from '@badeball/cypress-cucumber-preprocessor'
2-
3- Given ( 'I access the EngageSphare app having already accepted the cookies banner' , ( ) => {
4- cy . setCookie ( 'cookieConsent' , 'accepted' )
5- cy . visit ( 'https://engage-sphere.vercel.app/' )
6- } )
1+ import { When , Then } from '@badeball/cypress-cucumber-preprocessor'
72
83Then ( 'I see the following greeting: Hi there!' , ( ) => {
94 cy . contains ( 'h2' , 'Hi there!' ) . should ( 'be.visible' )
Original file line number Diff line number Diff line change 1- import { Given , When , Then } from '@badeball/cypress-cucumber-preprocessor'
2-
3- Given ( 'I access the EngageSphare app having already accepted the cookies banner' , ( ) => {
4- cy . setCookie ( 'cookieConsent' , 'accepted' )
5- cy . visit ( 'https://engage-sphere.vercel.app/' )
6- } )
1+ import { When , Then } from '@badeball/cypress-cucumber-preprocessor'
72
83When ( 'I filter by {string} items per page' , numOfItems => {
94 cy . get ( '[aria-label="Pagination limit"]' ) . select ( numOfItems )
Original file line number Diff line number Diff line change 1+ import { Given } from '@badeball/cypress-cucumber-preprocessor'
2+
3+ Given ( 'I access the EngageSphare app having already accepted the cookies banner' , ( ) => {
4+ cy . setCookie ( 'cookieConsent' , 'accepted' )
5+ cy . visit ( 'https://engage-sphere.vercel.app/' )
6+ } )
You can’t perform that action at this time.
0 commit comments