Skip to content

Commit 08f0994

Browse files
committed
e2e bugfix
1 parent 57fa3d8 commit 08f0994

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

tests/e2e-playwright/tests/conftest.py

+5-7
Original file line numberDiff line numberDiff line change
@@ -458,13 +458,11 @@ def _select_service_version(page: Page, *, version: str) -> None:
458458
# since https://github.com/ITISFoundation/osparc-simcore/pull/7060
459459
with log_context(logging.INFO, msg=f"selecting version {version}"):
460460
page.get_by_test_id("serviceSelectBox").click(timeout=5 * SECOND)
461-
with page.expect_response(
462-
re.compile(r"/catalog/services/[^/]+/(?P<version>.+)"),
463-
timeout=1.5 * 5 * SECOND,
464-
):
465-
page.get_by_test_id(f"serviceVersionItem_{version}").click(
466-
timeout=5 * SECOND
467-
)
461+
page.get_by_test_id(f"serviceVersionItem_{version}").click(
462+
timeout=5 * SECOND
463+
)
464+
# the call is cached so the best is to wait here a bit (sic)
465+
page.wait_for_timeout(2 * SECOND)
468466

469467
except TimeoutError:
470468
# we try the non robust way

0 commit comments

Comments
 (0)