PDavid commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3926280794
Many thanks Yurii for the improvements. :+1:
When I build the website (`mvn clean install -DskipTests && mvn site
-DskipTests -pl hbase-website`) these playwright e2e tests seems to be flaky -
sometimes they fails, sometimes they are successful (The PDF-s are generated
though successfully):
```
[INFO] > test:e2e
[INFO] > playwright test
[INFO]
[INFO]
[INFO] Running 105 tests using 10 workers
1) [chromium] › e2e-tests/docs.spec.ts:113:3 › Documentation Page -
Search Functionality › can open search dialog by clicking button
[INFO]
[INFO] Error: expect(locator).toBeVisible() failed
[INFO]
[INFO] Locator: getByRole('dialog', { name: /Search/i })
[INFO] Expected: visible
[INFO] Timeout: 5000ms
[INFO] Error: element(s) not found
[INFO]
[INFO] Call log:
[INFO] - Expect "toBeVisible" with timeout 5000ms
[INFO] - waiting for getByRole('dialog', { name: /Search/i })
[INFO]
[INFO]
[INFO] 124 | // Verify dialog opened
[INFO] 125 | const searchDialog = page.getByRole("dialog", { name:
/Search/i });
[INFO] > 126 | await expect(searchDialog).toBeVisible();
[INFO] | ^
[INFO] 127 | });
[INFO] 128 |
[INFO] 129 | test("can type in search input", async ({ page }) => {
[INFO] at
/home/david/projects/upstream/hbase/hbase-website/e2e-tests/docs.spec.ts:126:32
[INFO]
[INFO] Error Context:
test-results/docs-Documentation-Page----2120c-h-dialog-by-clicking-button-chromium/error-context.md
[INFO]
2) [chromium] › e2e-tests/docs.spec.ts:129:3 › Documentation Page -
Search Functionality › can type in search input
[INFO]
[INFO] Error: expect(locator).toBeVisible() failed
[INFO]
[INFO] Locator: getByRole('textbox', { name: /Search/i })
[INFO] Expected: visible
[INFO] Timeout: 5000ms
[INFO] Error: element(s) not found
[INFO]
[INFO] Call log:
[INFO] - Expect "toBeVisible" with timeout 5000ms
[INFO] - waiting for getByRole('textbox', { name: /Search/i })
[INFO]
[INFO]
[INFO] 138 | // Find and type in search input
[INFO] 139 | const searchInput = page.getByRole("textbox", { name:
/Search/i });
[INFO] > 140 | await expect(searchInput).toBeVisible();
[INFO] | ^
[INFO] 141 |
[INFO] 142 | await searchInput.fill("configuration");
[INFO] 143 | await
expect(searchInput).toHaveValue("configuration");
[INFO] at
/home/david/projects/upstream/hbase/hbase-website/e2e-tests/docs.spec.ts:140:31
[INFO]
[INFO] Error Context:
test-results/docs-Documentation-Page----ec9a6-ty-can-type-in-search-input-chromium/error-context.md
[INFO]
3) [chromium] › e2e-tests/docs.spec.ts:146:3 › Documentation Page -
Search Functionality › can close search with ESC key
[INFO]
[INFO] Error: expect(locator).toBeVisible() failed
[INFO]
...
[INFO] ✅ All PDF exports validated successfully!
Light: 921 pages
Dark: 921 pages
3 failed
[INFO] [chromium] › e2e-tests/docs.spec.ts:113:3 › Documentation Page -
Search Functionality › can open search dialog by clicking button
[INFO] [chromium] › e2e-tests/docs.spec.ts:129:3 › Documentation Page -
Search Functionality › can type in search input
[INFO] [chromium] › e2e-tests/docs.spec.ts:146:3 › Documentation Page -
Search Functionality › can close search with ESC key
[INFO] 2 skipped
[INFO] 100 passed (2.4m)
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 06:44 min
[INFO] Finished at: 2026-02-19T11:21:21+01:00
[INFO]
------------------------------------------------------------------------
```
Is there a way to skip the tests in the hbase-website build? Adding
`-DskipTests` does not seems to do that. :thinking:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]