module.exports = {
'TodoMVC - VanillaJS': function (test) {
test
.open('http://todomvc.com/vanilla-examples/vanillajs/')
.assert.numberOfElements('#todo-list li', 0, 'There should be no todos')
.done();
}
};
Command line output:
RUNNING TEST - "TodoMVC - VanillaJS"
▶ OPEN http://todomvc.com/vanilla-examples/vanillajs/
✔ 0 Assertions run
✔ TEST - "TodoMVC - VanillaJS" SUCCEEDED
Test:
Command line output: