8000 #97 Added TODOs for whats left for $().filter(); · seleniumQuery/seleniumQuery@14c711b · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 14c711b

Browse files
committed
#97 Added TODOs for whats left for $().filter();
1 parent 106bd86 commit 14c711b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/java/io/github/seleniumquery/functions/jquery/traversing/filtering/FilterFunctionTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import io.github.seleniumquery.SeleniumQueryObject;
2121
import org.junit.Test;
2222
import org.openqa.selenium.WebElement;
23-
import testinfrastructure.testdouble.Stubs;
2423

2524
import static org.hamcrest.CoreMatchers.is;
2625
import static org.hamcrest.collection.IsIterableContainingInAnyOrder.containsInAnyOrder;
@@ -99,4 +98,8 @@ public boolean apply(WebElement webElement) {
9998
assertThat(resultSQO.get(), contains(spanOne, spanTwo));
10099
}
101100

101+
// TODO filter(this, null) --> should return empty ==> CHANGE THIS FOR THE PREDICATE VERSION ALSO, it is returning the original matched set
102+
// TODO filter(this, "") --> should return empty
103+
// TODO filter(this, "selector") --> should keep everyone that matches the isFunction("selector")
104+
102105
}

0 commit comments

Comments
 (0)
0