Browse Source

Add back beChecked (fix tests)

Caleb Porzio 1 year ago
parent
commit
c1409a8b07
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/cypress/utils.js

+ 2 - 0
tests/cypress/utils.js

@@ -113,6 +113,8 @@ export let beSelected = () => el => expect(el).to.be.selected
 
 
 export let notBeSelected = () => el => expect(el).not.to.be.selected
 export let notBeSelected = () => el => expect(el).not.to.be.selected
 
 
+export let beChecked = () => el => expect(el).to.be.checked
+
 export let notBeChecked = () => el => expect(el).not.to.be.checked
 export let notBeChecked = () => el => expect(el).not.to.be.checked
 
 
 export let beVisible = () => el => expect(el).to.be.visible
 export let beVisible = () => el => expect(el).to.be.visible