Review
All checks were successful
CI / Backend tests (push) Successful in 21s
CI / Frontend lint (push) Successful in 34s
CI / Frontend build (push) Successful in 24s
CI / Frontend unit tests (push) Successful in 46s
Docker / build-and-push (push) Successful in 1m17s
CI / Playwright e2e (push) Successful in 1m5s

This commit is contained in:
Andras Schmelczer 2026-06-03 20:39:32 +01:00
parent bf81b8d3df
commit d1732128e2
3 changed files with 11 additions and 7 deletions

View file

@ -197,7 +197,9 @@ test.describe('Life Towers smoke test', () => {
// Open the carousel on a done block deep in the strip (the last square).
const squares = page.locator('lt-block');
await squares.nth(await squares.count() - 1).click();
const squareCount = await squares.count();
expect(squareCount).toBeGreaterThan(0); // sample data must have produced done blocks
await squares.nth(squareCount - 1).click();
await page.waitForSelector('lt-block-edit .carousel');
// Sample scrollLeft immediately and a frame later: an animated scroll would