[app] PlanetGarden: e2e passes the gardener question, opens the ring, and pours by tilting the can

This commit is contained in:
2026-11-17 19:15:24 +01:00
parent 5576af4fac
commit 52d8c0bfd1
7 changed files with 137 additions and 12 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ import { tmpdir } from 'node:os';
import { join } from 'node:path';
import { fileURLToPath } from 'node:url';
import { startStaticServer, type StaticServer } from './static-server.js';
import { pastGardener } from './garden.js';
import { storedCare } from './stored.js';
import fixture from './fixtures/library/fixture.json' with { type: 'json' };
@@ -35,7 +36,7 @@ test.afterEach(async () => {
async function open(page: Page): Promise<void> {
await page.clock.setFixedTime(MORNING);
await page.goto(server.url);
await expect(page.getByRole('button', { name: en.rose.water })).toBeVisible();
await pastGardener(page);
}
test('with the shipped library still empty, she holds no petal and says nothing about one', async ({ page }) => {