From 1d53b9b3d0c9e864ad3567eb2d5fcc3da7100f61 Mon Sep 17 00:00:00 2001 From: MelekTaus Date: Wed, 7 Oct 2026 22:05:01 +0200 Subject: [PATCH] Count the Bus asset type in e2e 04 The suite job has been red since 3a52f22 (#325), in the runs for 3a52f22, daeffe0 and d349251. Each time e2e 04 failed the same two checks: every asset type offered once in the + menu, and every type there with its icon. #325 added the asset type Bus, and the module still expected 30 types. - ASSET_TYPE_COUNT is now 31, one per entry of ASSET_TYPES. The menu itself was right: each type once, each category sorted, every icon there. Tests: - e2e 04 (melektaus-atx): ALL PASSED, 63 checks. Co-Authored-By: Claude Opus 5.5 --- tools/e2e/04-assets.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/e2e/04-assets.mjs b/tools/e2e/04-assets.mjs index 0db7f5a6..c56fff38 100644 --- a/tools/e2e/04-assets.mjs +++ b/tools/e2e/04-assets.mjs @@ -2,7 +2,7 @@ import { colourDistance } from '../lib/harness.mjs'; import { pickAssetType } from './lib/scaffold.mjs'; /** One per entry of `ASSET_TYPES` – a new asset type counts here too. */ -const ASSET_TYPE_COUNT = 30; +const ASSET_TYPE_COUNT = 31; /** The categories of the asset panel and the `+` menu, in their order (`ASSET_CATEGORIES`). */ const CATEGORIES = ['Basics', 'Visuals', 'Logics', 'Physics', 'Audio'];