Conditional Accept @gleb
Conditional Accept  @gleb
Uploaded January 2024 | Updated September 2026, 1 week ago
In this video, I show how I would run one of the two possible testing flows depending on the dialog the application shows (a case of A/B testing). We will use jQuery OR selector and then check which case we hit using jQuery "is(selector)" method. Depending on the match, we can run different Cypress commands. Find the full source code at glebbahmutov.com/cypress-examples
Conditional AcceptCheck Each Image To Have An Alt AttributeDOM Element With ID Becomes Property Of The Window ObjectCypress v15 Release With The New Experimental Studio: First LookPrepare To Spy On A Method Added Dynamicallycy.contains And Regular Expressions ExamplesCypress cy.filter Command Attribute ExamplesSkip Dependent Cypress Tests On FailureCypress vs Playwright Course AnnouncementCheck Console Logscypress-await Sync Mode ExampleEmpty List Items Should Not Exist
gleb bahmutov |

Conditional Accept

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER