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-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -335,7 +335,7 @@ test('high-traffic UI narration, screen announcements, and inventory stat labels
335
335
336
336
test('service worker updates quickly and keeps navigations network-first',function(){
337
337
constswJs=read('app/sw.js');
338
-
assert.ok(/viz-magic-v29/.test(swJs),'service worker cache version should be bumped');
338
+
assert.ok(/viz-magic-v30/.test(swJs),'service worker cache version should be bumped');
339
339
assert.ok(/self\.skipWaiting\(\)/.test(swJs),'service worker should activate new cache without waiting for all tabs to close');
340
340
assert.ok(/self\.clients\.claim\(\)/.test(swJs),'service worker should claim clients after activation');
341
341
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(/varPRIMARY_HOME_SCREENS=\['home','hunt','map','guild','marketplace','crafting','character','help','leaderboard'\]/.test(homeJs),'home primary grid should mirror bottom nav screens');
375
375
assert.ok(/nav_bazaar/.test(homeJs)&&/nav_crafting/.test(homeJs),'home primary labels should reuse bottom-nav translation keys');
376
376
assert.ok(/actionType==='chronicle_post'[\s\S]*_normalizeDedupeText/.test(chronicleJs),'chronicle post dedupe should ignore temporary block numbers');
377
-
assert.ok(/top:\s*0/.test(mainCss)&&/toast-strip/.test(mainCss),'toast CSS should render as a compact top strip');
377
+
assert.ok(/insertBefore\(container,appMain\)/.test(toastJs),'toast strip should be inserted before app-main so it does not cover headings');
378
+
assert.ok(/#connection-status[\s\S]*position:\s*sticky/.test(mainCss),'connection status should stay in normal flow instead of covering headings');
379
+
assert.ok(/\.quest-tabs[\s\S]*grid-template-columns:\s*repeat\(2,minmax\(0,1fr\)\)/.test(mainCss),'quest tabs should render as a two-column mobile grid');
378
380
assert.ok(/role',type==='error'\?'alert':'status'/.test(toastJs),'only errors should be assertive toast alerts');
379
-
assert.ok(/viz-magic-v29/.test(read('app/sw.js')),'service worker cache should be bumped for UI changes');
381
+
assert.ok(/viz-magic-v30/.test(read('app/sw.js')),'service worker cache should be bumped for UI changes');
0 commit comments