From 6cecd5903a034cce5dbd48fcd86bcd9ca4307dca Mon Sep 17 00:00:00 2001 From: Jonathan Bobel Date: Tue, 6 Aug 2024 10:17:50 -0400 Subject: [PATCH] Small test update --- tests/app/main/views/test_dashboard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/app/main/views/test_dashboard.py b/tests/app/main/views/test_dashboard.py index fe58dec7d..b6ad939e2 100644 --- a/tests/app/main/views/test_dashboard.py +++ b/tests/app/main/views/test_dashboard.py @@ -1808,7 +1808,8 @@ def test_service_dashboard_shows_batched_jobs( page = client_request.get("main.service_dashboard", service_id=SERVICE_ONE_ID) - job_table_body = page.find("table", class_="job-table") + wrapper_div = page.find("div", id="table2") + job_table_body = wrapper_div.find("table", class_="job-table") rows = job_table_body.find_all("tbody")[0].find_all("tr")