Source:
public void countFilterTest(){ ListPanel issuePanel = find("#dummy/dummy_col0"); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:2"); push(KeyCode.ENTER); assertEquals(2, issuePanel.getIssueCount()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:7"); push(KeyCode.ENTER); assertEquals(7, issuePanel.getIssueCount()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:15"); push(KeyCode.ENTER); assertEquals(10, issuePanel.getIssueCount()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:0"); push(KeyCode.ENTER); assertEquals(0, issuePanel.getIssueCount()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:6 count:9"); push(KeyCode.ENTER); assertEquals(6, issuePanel.getIssueCount()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:abcd"); push(KeyCode.ENTER); assertEquals(10, issuePanel.getIssueCount()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:abcd"); push(KeyCode.ENTER); assertEquals(10, issuePanel.getIssueCount()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:abc count:8 count:2"); push(KeyCode.ENTER); assertEquals(8, issuePanel.getIssueCount()); assertEquals("Issue 10", issuePanel.getIssueList().get(0).getTitle()); assertEquals("Issue 9", issuePanel.getIssueList().get(1).getTitle()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:8 count:2 sort:unmerged"); push(KeyCode.ENTER); assertEquals(8, issuePanel.getIssueCount()); assertEquals("Issue 1", issuePanel.getIssueList().get(0).getTitle()); assertEquals("Issue 2", issuePanel.getIssueList().get(1).getTitle()); }

Target:
public void countFilterTest(){ ListPanel issuePanel = find("#dummy/dummy_col0"); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:7"); push(KeyCode.ENTER); assertEquals(7, issuePanel.getIssueCount()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:10"); push(KeyCode.ENTER); assertEquals(10, issuePanel.getIssueCount()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:0"); push(KeyCode.ENTER); assertEquals(0, issuePanel.getIssueCount()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:15"); push(KeyCode.ENTER); assertEquals(10, issuePanel.getIssueCount()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:6 count:9"); push(KeyCode.ENTER); assertEquals(10, issuePanel.getIssueCount()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:abcd"); push(KeyCode.ENTER); assertEquals(10, issuePanel.getIssueCount()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:8 sort:unmerged"); push(KeyCode.ENTER); assertEquals(8, issuePanel.getIssueCount()); assertEquals("Issue 1", issuePanel.getIssueList().get(0).getTitle()); assertEquals("Issue 2", issuePanel.getIssueList().get(1).getTitle()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("sort:unmerged count:8"); push(KeyCode.ENTER); assertEquals(8, issuePanel.getIssueCount()); assertEquals("Issue 1", issuePanel.getIssueList().get(0).getTitle()); assertEquals("Issue 2", issuePanel.getIssueList().get(1).getTitle()); click("#dummy/dummy_col0_filterTextField"); selectAll(); type("count:-1"); push(KeyCode.ENTER); assertEquals(10, issuePanel.getIssueCount()); }