Closed gskachkov closed 9 years ago
Implemention of the following feature https://github.com/dalekjs/dalek/issues/123 - Custom assertions via callback
Examples of using
test .open('http://dalekjs.com/index.html') .assert.evaluate(function () { return document.getElementsByClassName('grid').length; }).is(2, 'Count of grid on page is equal 2');
Finally found some time to get this in, sorry for the delay & thanks for the contribution :)
Implemention of the following feature https://github.com/dalekjs/dalek/issues/123 - Custom assertions via callback
Examples of using