From e06df165a02746affe77d5b44bd937c6b0478191 Mon Sep 17 00:00:00 2001 From: Brian Sam-Bodden Date: Mon, 22 Feb 2021 21:18:09 -0700 Subject: [PATCH] test(ui): tdd for 'implement list controls visibility when no Todos' --- src/main/webapp/src/app.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/webapp/src/app.test.js b/src/main/webapp/src/app.test.js index b8b5999..4419755 100644 --- a/src/main/webapp/src/app.test.js +++ b/src/main/webapp/src/app.test.js @@ -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(); }); \ No newline at end of file