Skip to content

Commit 43971a0

Browse files
committed
More tolerant intest on github ci
1 parent e69d262 commit 43971a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

smoosense-py/intests/test_custom_server_config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def test_custom_server_folder_browser_functionality(self) -> None:
157157
self.assertEqual(response.status, 200)
158158

159159
# Wait for the page to load completely
160-
self.page.wait_for_load_state("networkidle")
160+
self.page.wait_for_load_state("load")
161161

162162
# Check that the page has loaded some content
163163
body_content = self.page.locator("body").text_content()
@@ -191,7 +191,7 @@ def test_custom_server_folder_browser_functionality(self) -> None:
191191

192192
# Wait for preview to load
193193
time.sleep(3)
194-
self.page.wait_for_load_state("networkidle")
194+
self.page.wait_for_load_state("load")
195195

196196
# Check if preview is displayed correctly with specific elements
197197
logger.info("Checking for specific preview elements...")
@@ -256,7 +256,7 @@ def test_custom_server_folder_browser_functionality(self) -> None:
256256

257257
# Get the new page
258258
new_page = self.context.pages[-1]
259-
new_page.wait_for_load_state("networkidle")
259+
new_page.wait_for_load_state("load")
260260

261261
# Check if the new page URL contains '/Table'
262262
new_url = new_page.url

0 commit comments

Comments
 (0)