This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/sbp by this push:
new bb8d5627 Fix some problems with e2e tests
bb8d5627 is described below
commit bb8d5627351ae5cf7b6caedd9362f7b0b458ce21
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Feb 18 17:01:16 2026 +0000
Fix some problems with e2e tests
---
tests/e2e/compose/test_get.py | 3 +++
tests/run-e2e.sh | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/tests/e2e/compose/test_get.py b/tests/e2e/compose/test_get.py
index e807eb11..5c6c62f1 100644
--- a/tests/e2e/compose/test_get.py
+++ b/tests/e2e/compose/test_get.py
@@ -90,6 +90,9 @@ def test_ongoing_tasks_banner_has_warning_icon(page_compose:
Page) -> None:
with page_compose.expect_navigation():
restart_button.click()
+ banner = page_compose.locator("#ongoing-tasks-banner")
+ expect(banner).to_be_visible(timeout=10000)
+
warning_icon = page_compose.locator("#ongoing-tasks-banner
i.bi-exclamation-triangle")
expect(warning_icon).to_be_visible(timeout=10000)
diff --git a/tests/run-e2e.sh b/tests/run-e2e.sh
index 291cfea6..048f302f 100755
--- a/tests/run-e2e.sh
+++ b/tests/run-e2e.sh
@@ -20,8 +20,10 @@ then
fi
docker compose build e2e-dev
-if ! docker compose run --rm e2e-dev pytest e2e/ -v
+if docker compose run --rm e2e-dev pytest e2e/ -v
then
+ :
+else
exit_code=$?
echo "ERROR: e2e tests failed with exit code ${exit_code}"
echo "View the container logs with 'docker compose logs atr-dev --tail 100'"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]