fix: complete ordinary channel runtime paths
This commit is contained in:
parent
40501233ef
commit
2e48b7d768
12 changed files with 158 additions and 40 deletions
|
|
@ -57,6 +57,24 @@ test('the authenticated world return control remains clickable above the non-int
|
|||
assert.match(rule, /pointer-events:auto/)
|
||||
})
|
||||
|
||||
test('switching UI families enters the selected real home instead of retaining the other family inner stage', () => {
|
||||
const app = read('src/main.tsx')
|
||||
const chooser = app.match(/const chooseSurface = \(next:[\s\S]*?window\.localStorage\.setItem\('hololake-surface', next\)\n \}/)?.[0]
|
||||
assert.ok(chooser)
|
||||
assert.match(chooser, /setWorldStage\('domain'\)/)
|
||||
assert.match(chooser, /setView\('overview'\)/)
|
||||
assert.match(chooser, /setPublicDomain\(null\)/)
|
||||
})
|
||||
|
||||
test('language-world themes alter the whole scene through semantic optical tokens', () => {
|
||||
const styles = read('src/modules/qoder-surface/starlake-surface.css')
|
||||
assert.match(styles, /background:linear-gradient\(180deg, var\(--surface-sky\)/)
|
||||
assert.match(styles, /opacity:var\(--primitive-scene-opacity\)/)
|
||||
assert.match(styles, /background:var\(--accent-light\)/)
|
||||
assert.match(styles, /color:var\(--content-primary\)/)
|
||||
assert.match(styles, /color:var\(--content-secondary\)/)
|
||||
})
|
||||
|
||||
test('zero-sense and fifth-domain boundaries remain explicit', () => {
|
||||
const app = read('src/main.tsx')
|
||||
const portal = read('src/modules/public-domain/PublicDomainPortal.tsx')
|
||||
|
|
|
|||
Loading…
Reference in a new issue