Improve stability for a test that crashes intermittently in CI (#8699)

Co-authored-by: NP v/d Spek <github_mail@lumensoft.nl>
This commit is contained in:
DanielVandNP v/d Spek authored and GitHub committed 2025-05-19 10:01:30 +12:00
1 parent dbce54477a
commit 87a9dd18c8
1 file changed
+1
+1
View File
@@ -75,6 +75,7 @@ async def test_devices_page(dashboard: DashboardTestHelper) -> None:
assert response.headers["content-type"] == "application/json"
json_data = json.loads(response.body.decode())
configured_devices = json_data["configured"]
assert len(configured_devices) != 0
first_device = configured_devices[0]
assert first_device["name"] == "pico"
assert first_device["configuration"] == "pico.yaml"