Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
Remove empty content check from '{element} should be visible' step
Browse files Browse the repository at this point in the history
Visibility shouldn't imply non-empty content, since sometimes the target element will never have content.
  • Loading branch information
mpetrovich committed Jan 5, 2019
1 parent 7f904f3 commit b9a1428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/behaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = {
},

isVisible: function(name) {
cy.getElem(name).should('be.visible').and('not.empty');
cy.getElem(name).should('be.visible');
},

isNotVisible: function(name) {
Expand Down

0 comments on commit b9a1428

Please sign in to comment.