German: test the translated How the Internet Works card
This commit is contained in:
parent
1f28654069
commit
77e906fe6f
1 changed files with 2 additions and 0 deletions
|
|
@ -155,6 +155,8 @@ for (const lang of ['en', 'it', 'pt', 'fr', 'es', 'de']) {
|
|||
}
|
||||
if (lang === 'de') {
|
||||
assert.match(ev("document.getElementById('modalCard').textContent"), /Spielanleitung/);
|
||||
// the link card to the real "How the Internet Works" site used to be hard-coded English
|
||||
assert.match(ev("document.getElementById('modalCard').textContent"), /Wie funktioniert das Internet\?/);
|
||||
assert.equal(ev("document.querySelector('#hud [data-act=bank] .lbl').textContent"), 'Kasse · Bank');
|
||||
// networking jargon stays English in German (Peering, Dark Fiber); plain "fiber" is Glasfaser
|
||||
assert.equal(ev("tr('common.peering')"), 'Peering');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue