[app] PlanetGarden: e2e passes the gardener question, opens the ring, and pours by tilting the can
This commit is contained in:
+2
-1
@@ -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 }) => {
|
||||
|
||||
Reference in New Issue
Block a user