Open PapaMufflon opened 10 years ago
In DalekJS you can assert that an element has a class with
test.assert.attr('#logOutButton', 'class').to.contain('ng-hide')
Unfortunately it is not possible to somehow detect if an element does not have a class. I want to write
test.assert.attr('#logOutButton', 'class').to.not.contain('ng-hide')
Thanks for the hint. Sometimes you do not think about such "easy things" when you´re never needed them.
In DalekJS you can assert that an element has a class with
test.assert.attr('#logOutButton', 'class').to.contain('ng-hide')
Unfortunately it is not possible to somehow detect if an element does not have a class. I want to write
test.assert.attr('#logOutButton', 'class').to.not.contain('ng-hide')