Skip to content

Commit

Permalink
test(ui): tdd for 'implement list controls visibility when no Todos'
Browse files Browse the repository at this point in the history
  • Loading branch information
bsbodden committed Feb 23, 2021
1 parent b7c9c37 commit e06df16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/webapp/src/app.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,5 @@ test('should clear items when completed ', async t => {
.expect(page.clearCompletedButton.exists).ok()
.click(page.clearCompletedButton)
.expect(page.itemCount()).eql(0)
.expect(page.clearCompletedButton.exists).notOk()
.expect(page.itemsLeftCounter.innerText).contains('0 items left');
.expect(page.clearCompletedButton.exists).notOk();
});

0 comments on commit e06df16

Please sign in to comment.