Home cities as a compact stack, the dropdown last; a shorter Sydney line

This commit is contained in:
Frederic Jung 2026-10-28 09:25:47 +01:00
parent 8b8bfadbaa
commit 51ba71567d
No known key found for this signature in database
10 changed files with 33 additions and 16 deletions

View file

@ -23,9 +23,11 @@ test('picking any city starts the network there, and the tiles follow the choice
choose(ev, 'lis');
assert.equal(ev('UI.startCity'), 'lis');
assert.deepEqual(onTiles(ev), ['own'], 'the sixth tile lights up');
assert.equal(ev("document.getElementById('homeWhat').textContent"), 'Lisbon · ' + ev("REG[CITY.lis.reg]"), 'and names the city in full');
ev("document.querySelector('.start[data-city=nyc]').click()");
assert.deepEqual(onTiles(ev), ['nyc'], 'a suggested tile takes over again');
assert.equal(ev("document.getElementById('homeSel').value"), '', 'and the dropdown resets');
assert.match(ev("document.getElementById('homeWhat').textContent"), /more cities/);
choose(ev, 'akl');
ev("ACT.start({});if(UI.pendGame)ACT.pitchSkip()");
assert.equal(ev('S.home'), 'akl');