Settings screen, pause on furious customers, customer happiness overview (1.20.0)

Fixes #13, fixes #14, fixes #15
This commit is contained in:
Frederic Jung 2026-10-25 10:29:49 +01:00
parent dfa28506a7
commit f2379bf72c
No known key found for this signature in database
7 changed files with 209 additions and 16 deletions

View file

@ -106,6 +106,8 @@ test('the guided tutorial walks through the first steps and can be skipped', ()
test('animations can be switched off, on or follow the system, and the choice sticks', () => {
const { ev, errors } = load();
ev("ACT.start({});ACT.menu()");
assert.match(ev("document.getElementById('modalCard').textContent"), /Settings/);
ev("ACT.settings()");
assert.match(ev("document.getElementById('modalCard').textContent"), /Animations/);
ev("ACT.animSet({v:'off'})");
assert.equal(ev("document.documentElement.classList.contains('no-anim')"), true);