Settings screen, pause on furious customers, customer happiness overview (1.20.0)
Fixes #13, fixes #14, fixes #15
This commit is contained in:
parent
dfa28506a7
commit
f2379bf72c
7 changed files with 209 additions and 16 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue