Commit 08ceb647 authored by Sam Saccone's avatar Sam Saccone

tests: Fix incorrect method name

Regression introduced in:
https://github.com/tastejs/todomvc/commit/cdd17df6705a62f5e9116bc0a5a243319af744f8

ref #1545
parent dab9f255
...@@ -36,7 +36,7 @@ function TestOperations(page) { ...@@ -36,7 +36,7 @@ function TestOperations(page) {
}; };
this.assertFocussedElementId = function (expectedId) { this.assertFocussedElementId = function (expectedId) {
page.getFocussedTagName().then(function (id) { page.getFocussedElementName().then(function (id) {
assert.notEqual(id.indexOf(expectedId), -1, 'The focused element did not have the expected id ' + expectedId); assert.notEqual(id.indexOf(expectedId), -1, 'The focused element did not have the expected id ' + expectedId);
}); });
}; };
......
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