160 lines
4.3 KiB
Plaintext
160 lines
4.3 KiB
Plaintext
TAP version 13
|
|
# Subtest: R6 G1 a granted user signs in, gets the user page and reaches the broker as itself
|
|
ok 1 - R6 G1 a granted user signs in, gets the user page and reaches the broker as itself
|
|
---
|
|
duration_ms: 102.153087
|
|
type: 'test'
|
|
...
|
|
# Subtest: R6 G2 a subject with no live grant in this business is refused subject-unknown
|
|
# Subtest: a listed user with no grant
|
|
ok 1 - a listed user with no grant
|
|
---
|
|
duration_ms: 41.816765
|
|
type: 'test'
|
|
...
|
|
# Subtest: a grant in another business
|
|
ok 2 - a grant in another business
|
|
---
|
|
duration_ms: 53.103013
|
|
type: 'test'
|
|
...
|
|
# Subtest: an expired grant
|
|
ok 3 - an expired grant
|
|
---
|
|
duration_ms: 66.865735
|
|
type: 'test'
|
|
...
|
|
# Subtest: another user's grant
|
|
ok 4 - another user's grant
|
|
---
|
|
duration_ms: 59.528254
|
|
type: 'test'
|
|
...
|
|
# Subtest: a sub in no file
|
|
ok 5 - a sub in no file
|
|
---
|
|
duration_ms: 77.000699
|
|
type: 'test'
|
|
...
|
|
# Subtest: a file the loader refuses
|
|
ok 6 - a file the loader refuses
|
|
---
|
|
duration_ms: 59.00091
|
|
type: 'test'
|
|
...
|
|
1..6
|
|
ok 2 - R6 G2 a subject with no live grant in this business is refused subject-unknown
|
|
---
|
|
duration_ms: 358.182177
|
|
type: 'test'
|
|
...
|
|
# Subtest: R6 G3 a revoke counts on the next request: 401 and the session is gone
|
|
# Subtest: grant removed
|
|
ok 1 - grant removed
|
|
---
|
|
duration_ms: 43.655065
|
|
type: 'test'
|
|
...
|
|
# Subtest: subject removed
|
|
ok 2 - subject removed
|
|
---
|
|
duration_ms: 82.752965
|
|
type: 'test'
|
|
...
|
|
# Subtest: grant expired
|
|
ok 3 - grant expired
|
|
---
|
|
duration_ms: 75.927345
|
|
type: 'test'
|
|
...
|
|
# Subtest: file now refused
|
|
ok 4 - file now refused
|
|
---
|
|
duration_ms: 52.720211
|
|
type: 'test'
|
|
...
|
|
1..4
|
|
ok 3 - R6 G3 a revoke counts on the next request: 401 and the session is gone
|
|
---
|
|
duration_ms: 255.656191
|
|
type: 'test'
|
|
...
|
|
# Subtest: R6 G4 every owner route answers 403 owner-only before any bus call
|
|
ok 4 - R6 G4 every owner route answers 403 owner-only before any bus call
|
|
---
|
|
duration_ms: 61.988092
|
|
type: 'test'
|
|
...
|
|
# Subtest: R6 G5 the bus refuses every owner verb over the user transport on its own
|
|
ok 5 - R6 G5 the bus refuses every owner verb over the user transport on its own
|
|
---
|
|
duration_ms: 72.391514
|
|
type: 'test'
|
|
...
|
|
# Subtest: R6 G9 a user chat sends only the plugins read over the owner transport
|
|
not ok 6 - R6 G9 a user chat sends only the plugins read over the owner transport
|
|
---
|
|
duration_ms: 100.121943
|
|
type: 'test'
|
|
location: '/mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:279:1'
|
|
failureType: 'testCodeFailure'
|
|
error: |-
|
|
Expected values to be strictly deep-equal:
|
|
+ actual - expected
|
|
|
|
[
|
|
'plugins',
|
|
+ {
|
|
+ name: 'alice work',
|
|
+ project: '6ca7e806-cb2e-432f-8456-32d161a596c5'
|
|
+ }
|
|
- {}
|
|
]
|
|
|
|
code: 'ERR_ASSERTION'
|
|
name: 'AssertionError'
|
|
expected:
|
|
0: 'plugins'
|
|
1:
|
|
actual:
|
|
0: 'plugins'
|
|
1:
|
|
project: '6ca7e806-cb2e-432f-8456-32d161a596c5'
|
|
name: 'alice work'
|
|
operator: 'deepStrictEqual'
|
|
stack: |-
|
|
TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:297:46)
|
|
process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
async Test.run (node:internal/test_runner/test:1409:7)
|
|
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
|
...
|
|
# Subtest: R6 G6 the user page holds the notice word for word
|
|
ok 7 - R6 G6 the user page holds the notice word for word
|
|
---
|
|
duration_ms: 81.778691
|
|
type: 'test'
|
|
...
|
|
# Subtest: R6 G7 the hub label and plain peer links render from config on both pages
|
|
ok 8 - R6 G7 the hub label and plain peer links render from config on both pages
|
|
---
|
|
duration_ms: 736.353706
|
|
type: 'test'
|
|
...
|
|
# Subtest: R6 G8 userCall spawns user-cli directly with the user nonce, no human nonce, and the user request
|
|
ok 9 - R6 G8 userCall spawns user-cli directly with the user nonce, no human nonce, and the user request
|
|
---
|
|
duration_ms: 36.965803
|
|
type: 'test'
|
|
...
|
|
1..9
|
|
# tests 19
|
|
# suites 0
|
|
# pass 18
|
|
# fail 1
|
|
# cancelled 0
|
|
# skipped 0
|
|
# todo 0
|
|
# duration_ms 1931.825146
|
|
|
|
# stderr
|