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-release.git
The following commit(s) were added to refs/heads/main by this push:
new 39d82a5 Update the number of license file checks in the browser tests
39d82a5 is described below
commit 39d82a52170a0cbc93bb0169d2f279af8acff99f
Author: Sean B. Palmer <[email protected]>
AuthorDate: Mon Jun 23 14:02:22 2025 +0100
Update the number of license file checks in the browser tests
---
playwright/test.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/playwright/test.py b/playwright/test.py
index c8a2952..371e269 100644
--- a/playwright/test.py
+++ b/playwright/test.py
@@ -578,12 +578,12 @@ def test_checks_02_license_files(page: sync_api.Page,
credentials: Credentials)
logging.info("Verifying License Files check status")
check_row_locator =
page.locator("tr.atr-result-primary:has(th:text-is('License Files'))")
- sync_api.expect(check_row_locator).to_be_visible()
- logging.info("Located License Files check row")
+ sync_api.expect(check_row_locator).to_have_count(2)
+ logging.info("Located 2 License Files check rows")
success_badge_locator = check_row_locator.locator("td
span.badge.bg-success:text-is('Success')")
- sync_api.expect(success_badge_locator).to_be_visible()
- logging.info("License Files check status verified as Success")
+ sync_api.expect(success_badge_locator).to_have_count(2)
+ logging.info("License Files check status verified as Success for 2 rows")
def test_checks_03_license_headers(page: sync_api.Page, credentials:
Credentials) -> None:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]