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
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -343,7 +343,7 @@ test('high-traffic UI narration, screen announcements, and inventory stat labels
343
343
344
344
test('service worker updates quickly and keeps navigations network-first',function(){
345
345
constswJs=read('app/sw.js');
346
-
assert.ok(/viz-magic-v44/.test(swJs),'service worker cache version should be bumped');
346
+
assert.ok(/viz-magic-v45/.test(swJs),'service worker cache version should be bumped');
347
347
assert.ok(/self\.skipWaiting\(\)/.test(swJs),'service worker should activate new cache without waiting for all tabs to close');
348
348
assert.ok(/self\.clients\.claim\(\)/.test(swJs),'service worker should claim clients after activation');
349
349
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');
393
393
assert.ok(/localStorage\.setItem\(STORAGE_PREFIX\+'sfx_volume'/.test(read('app/js/ui/sound.js')),'sound manager should persist SFX volume');
394
394
assert.ok(/varvolume=_getStoredNumber\('sfx_volume',0\.5\)/.test(read('app/js/ui/sound.js')),'sound manager should restore persisted SFX volume');
395
-
assert.ok(/viz-magic-v44/.test(read('app/sw.js')),'service worker cache should be bumped for UI changes');
395
+
assert.ok(/viz-magic-v45/.test(read('app/sw.js')),'service worker cache should be bumped for UI changes');
396
396
});
397
397
398
398
@@ -454,7 +454,7 @@ test('magical weather is labelled and affects hunts', function () {
454
454
assert.ok(/i18n\/en.js\?v=20260712k/.test(indexHtml),'English weather copy must be cache-busted');
455
455
assert.ok(/home.js\?v=20260712h/.test(indexHtml),'home forecast layout must be cache-busted');
456
456
assert.ok(/quests.js\?v=20260712a/.test(indexHtml),'quest-limit UX must be cache-busted');
457
-
assert.ok(/nav.js\?v=20260712a/.test(indexHtml),'bottom tray nav must be cache-busted');
457
+
assert.ok(/nav.js\?v=20260712b/.test(indexHtml),'bottom tray nav must be cache-busted');
458
458
assert.ok(/leaderboard.js\?v=20260712c/.test(indexHtml),'leaderboard narrator fix must be cache-busted');
459
459
assert.ok(/world-events.js\?v=20260712h/.test(indexHtml),'world events forecast pool must be cache-busted');
460
460
assert.ok(/main.css\?v=20260712j/.test(indexHtml),'forecast grid CSS must be cache-busted');
0 commit comments