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
Eugene Shen
todomvc
Commits
1106261b
Commit
1106261b
authored
Jul 08, 2015
by
Arthur Verschaeve
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1367 from samccone/sjs/fix-filter-selector
🐛
Fix test routing selector bug
parents
260d2fd3
4535a320
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
tests/page.js
tests/page.js
+1
-1
tests/test.js
tests/test.js
+0
-1
No files found.
tests/page.js
View file @
1106261b
...
...
@@ -44,7 +44,7 @@ module.exports = function Page(browser) {
};
this
.
getFilterElementsXpath
=
function
()
{
return
!
idSelectors
?
'
//ul[@id="filters"]//a
'
:
'
//ul[contains(@class, "filters")]
'
;
return
!
idSelectors
?
'
//ul[@id="filters"]//a
'
:
'
//ul[contains(@class, "filters")]
//a
'
;
};
this
.
xPathForItemAtIndex
=
function
(
index
)
{
...
...
tests/test.js
View file @
1106261b
...
...
@@ -343,7 +343,6 @@ module.exports.todoMVCTest = function (frameworkName, baseUrl, speedMode, laxMod
});
test
.
it
(
'
should respect the back button
'
,
function
()
{
createStandardItems
();
page
.
toggleItemAtIndex
(
1
);
page
.
filterByActiveItems
();
...
...
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