Home cities as a compact stack, the dropdown last; a shorter Sydney line
This commit is contained in:
parent
8b8bfadbaa
commit
51ba71567d
10 changed files with 33 additions and 16 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue