diff --git a/tools/check_web.py b/tools/check_web.py index 7a7c13b..fc4b236 100644 --- a/tools/check_web.py +++ b/tools/check_web.py @@ -351,7 +351,8 @@ try: nc = len(doc(pg)["objects"]) beasts = pg.evaluate("() => new Set([...document.querySelectorAll('.iso-svg .iso-beast')].map(e => e.closest('[data-obj]')?.dataset.obj)).size") poses = pg.evaluate("() => document.querySelectorAll('.iso-svg .iso-pose2.iso-pose0').length") - check(title(pg) == "isokit country" and nc > 30 and beasts >= 8 and poses >= 12 and pg.evaluate("() => __studio.S.warnings.length") == 0, + # five herds (elephants, deer, boar, fox, rabbits) and two groups of rocks; 3 + 6 + 3 + 1 grazing + check(title(pg) == "isokit country" and nc > 30 and beasts == 7 and poses == 13 and pg.evaluate("() => __studio.S.warnings.length") == 0, f"Country demo opens the countryside ({nc} objects, {beasts} animal and rock groups, {poses} grazing animals, no warnings)") herd = pg.evaluate("() => Object.fromEntries((__studio.view.info('elephants') || {rows: []}).rows)['Herd'] || ''") rot = pg.evaluate("() => __studio.S.doc.objects.find(o => o.id === 'lane-d').rot")