fix(desktop): allow public world before account login
This commit is contained in:
parent
b83c575279
commit
466542ac93
6 changed files with 89 additions and 6 deletions
|
|
@ -60,12 +60,27 @@ test('the locked Qoder world template is the running client structure, not a ski
|
|||
const frontend = read('src/main.tsx')
|
||||
assert.equal(contract.state, 'SERVER_LIVE_CLIENT_UI_INTEGRATED')
|
||||
assert.match(contract.ui_template, /official-login-template-v0\.4-locked\+inner-screens-v0\.1/)
|
||||
assert.equal(contract.desktop_install_acceptance.mac_arm64, 'PASS')
|
||||
assert.equal(contract.desktop_install_acceptance.mac_x86_64, 'NOT_BUILT')
|
||||
assert.equal(contract.desktop_install_acceptance.windows, 'NOT_BUILT')
|
||||
assert.equal(contract.desktop_install_acceptance.automatic_update_channel, 'UNPROVISIONED_FAIL_CLOSED')
|
||||
assert.match(frontend, /number-nucleus/)
|
||||
assert.match(frontend, /worldStage === 'domain'/)
|
||||
assert.match(frontend, /worldStage === 'channel'/)
|
||||
assert.match(frontend, /worldStage === 'tool'/)
|
||||
})
|
||||
|
||||
test('the public five-domain world starts before any private account storage is opened', () => {
|
||||
const library = read('src-tauri/src/lib.rs')
|
||||
const broker = read('src-tauri/src/direct_local_broker.rs')
|
||||
const home = read('src-tauri/src/home_status.rs')
|
||||
assert.match(library, /DirectLocalBrokerState::default\(\)/)
|
||||
assert.match(broker, /HOLOLAKE_AUTHENTICATED_ACCOUNT_REQUIRED/)
|
||||
assert.match(broker, /Ok\(false\)/)
|
||||
assert.match(home, /WAITING_FOR_LOGIN/)
|
||||
assert.doesNotMatch(library, /let broker = direct_local_broker::start\(app\.handle\(\)\)\?/)
|
||||
})
|
||||
|
||||
test('enterprise root uses a bounded lighthouse on the current Linux service node', () => {
|
||||
const contract = JSON.parse(read('contracts/domain-number-routing.json'))
|
||||
assert.equal(contract.server_runtime.enterprise_root, 'ENTERPRISE_LIGHTHOUSE_ON_CURRENT_LINUX_SERVICE_NODE')
|
||||
|
|
|
|||
Loading…
Reference in a new issue