Commit cdd17df6 authored by Sam Saccone's avatar Sam Saccone

tests: Update fn name to match id/class plurality

parent 765e6234
...@@ -115,7 +115,7 @@ module.exports = function Page(browser) { ...@@ -115,7 +115,7 @@ module.exports = function Page(browser) {
return this.getActiveElement().getTagName(); return this.getActiveElement().getTagName();
}; };
this.getFocussedElementId = function () { this.getFocussedElementName = function () {
return this.getActiveElement() return this.getActiveElement()
.getAttribute(!idSelectors ? 'id' : 'class'); .getAttribute(!idSelectors ? 'id' : 'class');
}; };
......
...@@ -22,7 +22,7 @@ function TestOperations(page) { ...@@ -22,7 +22,7 @@ function TestOperations(page) {
} }
this.assertNewInputNotFocused = function () { this.assertNewInputNotFocused = function () {
return page.getFocussedElementId() return page.getFocussedElementName()
.then(function(name) { .then(function(name) {
assert.notEqual(name, 'new-todo'); assert.notEqual(name, 'new-todo');
}); });
......
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