This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/main by this push:
new 2bbfd63 Fix an intermittent error when running Playwright tests to
add a file
2bbfd63 is described below
commit 2bbfd63678a935ad487ce0e3abf9538ee06aaf58
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Jan 8 19:06:03 2026 +0000
Fix an intermittent error when running Playwright tests to add a file
---
playwright/test.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/playwright/test.py b/playwright/test.py
index 16cef04..210b797 100755
--- a/playwright/test.py
+++ b/playwright/test.py
@@ -149,10 +149,8 @@ def lifecycle_03_add_file(page: Page, credentials:
Credentials, version_name: st
expect(submit_button_locator).to_be_enabled()
submit_button_locator.click()
- logging.info("Waiting for upload progress UI to appear")
- progress_container = page.locator("#upload-progress-container")
- expect(progress_container).to_be_visible()
-
+ # We used to check here that the #upload-progress-container was visible
+ # But this caused occasional timing issues, so we removed that check
logging.info("Waiting for upload to complete and redirect to compose page")
page.wait_for_url(f"**/compose/{TEST_PROJECT}/{version_name}*",
timeout=30000)
wait_for_path(page, f"/compose/{TEST_PROJECT}/{version_name}")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]