[ui] PlanetGarden: Her round planet, the player's gardener, the ring of care, and care by gesture
This commit is contained in:
@@ -69,6 +69,8 @@ describe('two tabs, one garden (two-tabs.md)', () => {
|
||||
it("this tab's own care, still being written, is not lost when another tab's news arrives first", async () => {
|
||||
const w = roseWiring();
|
||||
render(Rose, { wiring: w, timeZone: ZONE });
|
||||
// The ring of care opens on her (planet-garden.md G7); Water is in it.
|
||||
await fireEvent.keyDown(await screen.findByRole('button', { name: en.rose.care }), { key: 'Enter' });
|
||||
const button = await screen.findByRole('button', { name: en.rose.water });
|
||||
vi.useFakeTimers({ toFake: ['setInterval', 'clearInterval'] });
|
||||
await fireEvent.pointerDown(button, { pointerId: 1 });
|
||||
|
||||
Reference in New Issue
Block a user