You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/player-bug-regressions.test.js
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -348,7 +348,7 @@ test('high-traffic UI narration, screen announcements, and inventory stat labels
348
348
349
349
test('service worker updates quickly and keeps navigations network-first',function(){
350
350
constswJs=read('app/sw.js');
351
-
assert.ok(/viz-magic-v56/.test(swJs),'service worker cache version should be bumped');
351
+
assert.ok(/viz-magic-v57/.test(swJs),'service worker cache version should be bumped');
352
352
assert.ok(/self\.skipWaiting\(\)/.test(swJs),'service worker should activate new cache without waiting for all tabs to close');
353
353
assert.ok(/self\.clients\.claim\(\)/.test(swJs),'service worker should claim clients after activation');
354
354
assert.ok(/event\.request\.mode==='navigate'[\s\S]*fetch\(event\.request\)/.test(swJs),'navigation requests should prefer network to avoid stale cached index');
assert.ok(/SoundManager\.setVolume\(sfxVolume\/100\)/.test(read('app/js/ui/screens/settings.js')),'settings should apply stored SFX volume on render');
398
398
assert.ok(/localStorage\.setItem\(STORAGE_PREFIX\+'sfx_volume'/.test(read('app/js/ui/sound.js')),'sound manager should persist SFX volume');
399
399
assert.ok(/varvolume=_getStoredNumber\('sfx_volume',0\.5\)/.test(read('app/js/ui/sound.js')),'sound manager should restore persisted SFX volume');
400
-
assert.ok(/viz-magic-v56/.test(read('app/sw.js')),'service worker cache should be bumped for UI changes');
400
+
assert.ok(/viz-magic-v57/.test(read('app/sw.js')),'service worker cache should be bumped for UI changes');
401
401
});
402
402
403
403
@@ -459,8 +459,8 @@ test('magical weather is labelled and affects hunts', function () {
459
459
assert.ok(/forecast-card-effect/.test(homeJs+mainCss),'forecast effect column needs its own thematic icon/card');
460
460
assert.ok(/functiongetCurrentFestival/.test(worldEventsJs),'magical holidays should sometimes appear in the forecast');
461
461
assert.ok(/festival_today_prefix/.test(homeJs+ruJs+enJs),'forecast holidays should have localized copy');
462
-
assert.ok(/i18n\/ru.js\?v=20260713h/.test(indexHtml),'Russian weather copy must be cache-busted');
463
-
assert.ok(/i18n\/en.js\?v=20260713h/.test(indexHtml),'English weather copy must be cache-busted');
462
+
assert.ok(/i18n\/ru.js\?v=20260713i/.test(indexHtml),'Russian weather copy must be cache-busted');
463
+
assert.ok(/i18n\/en.js\?v=20260713i/.test(indexHtml),'English weather copy must be cache-busted');
464
464
assert.ok(/home.js\?v=20260713f/.test(indexHtml),'home forecast layout must be cache-busted');
465
465
assert.ok(/quests.js\?v=20260712a/.test(indexHtml),'quest-limit UX must be cache-busted');
466
466
assert.ok(/nav.js\?v=20260713a/.test(indexHtml),'bottom tray nav must be cache-busted');
@@ -527,7 +527,7 @@ test('reported mobile UX issues have explicit fixes', function () {
527
527
528
528
test('PWA icon and HP heart use expressive color accents',function(){
529
529
assert.ok(/viz-magic-192\.png\?v=20260713a/.test(indexHtml),'PWA icon link should be cache-busted after plus placement/color update');
530
-
assert.ok(/viz-magic-v56/.test(read('app/manifest.json')),'manifest start URL should change so launchers can refresh icons');
530
+
assert.ok(/viz-magic-v57/.test(read('app/manifest.json')),'manifest start URL should change so launchers can refresh icons');
531
531
assert.ok(/label:'❤️HP'/.test(homeJs),'HP label should use a red heart emoji variant');
0 commit comments