Filter a table and verify results
Hard120 pts~45 min
- Tables
- Filtering
Practice app · People Directory
A sortable, filterable, paginated employee table and a live counter.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Filter the directory to the QA department and verify every remaining row matches.
Your task
- 1Type “QA” into #filter-input.
- 2Wait until #row-count reads “Showing 8 of 8”.
- 3Assert every visible td.col-department reads “QA” and there are exactly 8 rows.
- 4Assert #page-info reads “Page 1 of 1”.
Acceptance criteria
- #filter-input contains “QA”
- #row-count shows “Showing 8 of 8” with 8 rows
- At least 2 assertions pass
Selenium WebDriver 4 · Selenium · Tables & dynamic content