Commit c42699d6 authored by Sam Saccone's avatar Sam Saccone

Merge pull request #1498 from troopjs-university/todo-list-xpath-fix

Make todo-list XPath more permissive
parents 3e8479e9 ae384580
......@@ -16,7 +16,7 @@ module.exports = function Page(browser) {
};
this.getTodoListXpath = function () {
return !idSelectors ? '//ul[@id="todo-list"]' : '//ul[@class="todo-list"]';
return !idSelectors ? '//ul[@id="todo-list"]' : '//ul[contains(@class, "todo-list")]';
};
this.getMainSectionXpath = 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