Commit 06c24079 authored by Arthur Verschaeve's avatar Arthur Verschaeve

Tests: remove count from the `clear completed` button

parent ae1c00ca
...@@ -262,12 +262,10 @@ module.exports.todoMVCTest = function (frameworkName, baseUrl, speedMode, laxMod ...@@ -262,12 +262,10 @@ module.exports.todoMVCTest = function (frameworkName, baseUrl, speedMode, laxMod
test.describe('Clear completed button', function () { test.describe('Clear completed button', function () {
test.it('should display the number of completed items', function () { test.it('should display the correct text', function () {
createStandardItems(); createStandardItems();
page.toggleItemAtIndex(1); page.toggleItemAtIndex(1);
testOps.assertClearCompleteButtonText('Clear completed (1)'); testOps.assertClearCompleteButtonText('Clear completed');
page.toggleItemAtIndex(2);
testOps.assertClearCompleteButtonText('Clear completed (2)');
}); });
test.it('should remove completed items when clicked', function () { test.it('should remove completed items when clicked', function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment