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
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










