We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a185d4 commit 2c6193bCopy full SHA for 2c6193b
1 file changed
tests/aignostics/bucket/gui_test.py
@@ -5,6 +5,7 @@
5
import string
6
from asyncio import sleep
7
from pathlib import Path
8
+from unittest.mock import patch
9
10
import psutil
11
import pytest
@@ -18,8 +19,10 @@
18
19
@pytest.mark.integration
20
async def test_gui_bucket_shows(user: User) -> None:
21
"""Test that the user sees the dataset page."""
- await user.open("/bucket")
22
- await user.should_see("The bucket is securely hosted on Google Cloud in EU")
+ # Service.find_static can be slow and lead to test timeouts; we patch it to return an empty list.
23
+ with patch("aignostics.bucket._gui.Service.find_static", return_value=[]):
24
+ await user.open("/bucket")
25
+ await user.should_see("The bucket is securely hosted on Google Cloud in EU")
26
27
28
@pytest.mark.e2e
0 commit comments