Skip to content

Commit 4e70219

Browse files
committed
Update query list test counts for new saved query fixtures
1 parent 9d29116 commit 4e70219

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/test_playwright.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3962,7 +3962,7 @@ def test_query_list_live_search_keyboard_navigation(page, datasette_server):
39623962
search = page.locator("#query-search")
39633963
expect(search).to_be_focused()
39643964
links = page.locator("[data-homepage-results] .query-row-name")
3965-
expect(links).to_have_count(2)
3965+
expect(links).to_have_count(4)
39663966
active = page.locator("[data-homepage-results] .is-active")
39673967
# Nothing is highlighted until an arrow key is pressed, which works even
39683968
# with an empty search box
@@ -3982,7 +3982,7 @@ def test_query_list_live_search_keyboard_navigation(page, datasette_server):
39823982
# Escape clears the search and shows every query again
39833983
page.keyboard.press("Escape")
39843984
expect(search).to_have_value("")
3985-
expect(links).to_have_count(2)
3985+
expect(links).to_have_count(4)
39863986
# Down moves the highlight, Enter opens it
39873987
page.keyboard.type("project")
39883988
page.wait_for_url("**/-/queries?q=project")

0 commit comments

Comments
 (0)