Skip to content

Commit 54bce71

Browse files
committed
cleanup
1 parent b4c0f2d commit 54bce71

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/pytest-simcore/src/pytest_simcore/helpers/playwright.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,19 +338,19 @@ def __call__(self, message: str) -> bool:
338338
if _current_timestamp - self._last_poll_timestamp > timedelta(seconds=5):
339339
url = f"https://{self.node_id}.services.{self.get_partial_product_url()}"
340340
response = self.api_request_context.get(url, timeout=1000)
341-
self.logger.info(
342-
"Querying the service endpoint from the E2E test. Url: %s Response: %s TIP: %s",
341+
self.logger.debug(
342+
"Querying service endpoint in case we missed some websocket messages. Url: %s Response: '%s' TIP: %s",
343343
url,
344-
f"{response.status}: {response.text}",
344+
f"{response.status}: {response.text()}",
345345
(
346-
"We are emulating the frontend; a 500 response is acceptable if the service is not yet ready."
346+
"We are emulating the frontend; a 5XX response is acceptable if the service is not yet ready."
347347
),
348348
)
349349
if response.status <= 400:
350350
# NOTE: If the response status is less than 400, it means that the backend is ready (There are some services that respond with a 3XX)
351351
if self.got_expected_node_progress_types():
352352
self.logger.warning(
353-
"⚠️ Progress bar didn't receive 100 percent but service is already running: %s ⚠️", # https://github.com/ITISFoundation/osparc-simcore/issues/6449
353+
"⚠️ Progress bar didn't receive 100 percent but service is already running: %s. TIP: we missed some websocket messages! ⚠️", # https://github.com/ITISFoundation/osparc-simcore/issues/6449
354354
self.get_current_progress(),
355355
)
356356
return True

0 commit comments

Comments
 (0)