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
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:
parent
bf81b8d3df
commit
d1732128e2
3 changed files with 11 additions and 7 deletions
|
|
@ -197,7 +197,9 @@ test.describe('Life Towers smoke test', () => {
|
||||||
|
|
||||||
// Open the carousel on a done block deep in the strip (the last square).
|
// Open the carousel on a done block deep in the strip (the last square).
|
||||||
const squares = page.locator('lt-block');
|
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');
|
await page.waitForSelector('lt-block-edit .carousel');
|
||||||
|
|
||||||
// Sample scrollLeft immediately and a frame later: an animated scroll would
|
// Sample scrollLeft immediately and a frame later: an animated scroll would
|
||||||
|
|
|
||||||
|
|
@ -71,8 +71,10 @@
|
||||||
// Mobile: fixed-width towers with horizontal scroll (1.5-column rhythm).
|
// Mobile: fixed-width towers with horizontal scroll (1.5-column rhythm).
|
||||||
@media (max-width: $mobile-width) {
|
@media (max-width: $mobile-width) {
|
||||||
--mobile-tower-width: calc(66vw - var(--small-padding));
|
--mobile-tower-width: calc(66vw - var(--small-padding));
|
||||||
--mobile-tower-side-padding: max(var(--medium-padding),
|
--mobile-tower-side-padding: max(
|
||||||
calc((100% - var(--mobile-tower-width)) / 2));
|
var(--medium-padding),
|
||||||
|
calc((100% - var(--mobile-tower-width)) / 2)
|
||||||
|
);
|
||||||
|
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue