Last active
October 5, 2018 12:42
-
-
Save giltayar/f13c40f3133f43b23aceb276104b5d44 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const countItemsLeft = cy.contains('item left') | |
if (countItemsLeft.innerText === '1 items left') { | |
// do something... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment