Show the Watcher's bag only when it holds items and let expeditions bring back Parchemins d'oubli
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
477ce5a141
commit
e55c5c735d
8 changed files with 13 additions and 9 deletions
|
|
@ -1971,7 +1971,9 @@ test("an administrator opens expeditions and a player leaves alone, follows the
|
|||
await expect(partner.getByRole("region", { name: "1. Destination du jour" })).toBeVisible();
|
||||
|
||||
// Pont des Veilleurs, en boutique : 3 poussières pour 1 Éclat ; la fiche de carte montre le niveau, la Puissance et l'expérience gagnée au retour.
|
||||
await expect(partner.getByRole("region", { name: "Sac du Veilleur", exact: true })).toBeVisible();
|
||||
// Le Sac du Veilleur n'apparaît que s'il contient des objets.
|
||||
const bag = partner.getByRole("region", { name: "Sac du Veilleur", exact: true });
|
||||
if (await bag.count()) await expect(bag.getByRole("listitem").first()).toBeVisible();
|
||||
await expect(partner.getByRole("form", { name: "Éclats d’étoile" })).toHaveCount(0);
|
||||
await partner.goto("/#/cards/shop");
|
||||
const bridge = partner.getByRole("form", { name: "Éclats d’étoile" });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue