Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
todomvc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sven Franck
todomvc
Commits
c42699d6
Commit
c42699d6
authored
Nov 04, 2015
by
Sam Saccone
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1498 from troopjs-university/todo-list-xpath-fix
Make todo-list XPath more permissive
parents
3e8479e9
ae384580
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/page.js
tests/page.js
+1
-1
No files found.
tests/page.js
View file @
c42699d6
...
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment