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: 137.858619 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 not ok 1 - a listed user with no grant --- duration_ms: 69.429562 type: 'test' location: '/mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:173:13' failureType: 'testCodeFailure' error: |- a listed user with no grant 303 !== 403 code: 'ERR_ASSERTION' name: 'AssertionError' expected: 403 actual: 303 operator: 'strictEqual' stack: |- TestContext. (file:///mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:176:14) process.processTicksAndRejections (node:internal/process/task_queues:104:5) async Test.run (node:internal/test_runner/test:1409:7) async TestContext. (file:///mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:173:5) async Test.run (node:internal/test_runner/test:1409:7) async Test.processPendingSubtests (node:internal/test_runner/test:974:7) ... # Subtest: a grant in another business not ok 2 - a grant in another business --- duration_ms: 49.204153 type: 'test' location: '/mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:173:13' failureType: 'testCodeFailure' error: |- a grant in another business 303 !== 403 code: 'ERR_ASSERTION' name: 'AssertionError' expected: 403 actual: 303 operator: 'strictEqual' stack: |- TestContext. (file:///mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:176:14) process.processTicksAndRejections (node:internal/process/task_queues:104:5) async Test.run (node:internal/test_runner/test:1409:7) async TestContext. (file:///mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:173:5) async Test.run (node:internal/test_runner/test:1409:7) async Test.processPendingSubtests (node:internal/test_runner/test:974:7) ... # Subtest: an expired grant not ok 3 - an expired grant --- duration_ms: 120.517717 type: 'test' location: '/mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:173:13' failureType: 'testCodeFailure' error: |- an expired grant 303 !== 403 code: 'ERR_ASSERTION' name: 'AssertionError' expected: 403 actual: 303 operator: 'strictEqual' stack: |- TestContext. (file:///mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:176:14) process.processTicksAndRejections (node:internal/process/task_queues:104:5) async Test.run (node:internal/test_runner/test:1409:7) async TestContext. (file:///mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:173:5) async Test.run (node:internal/test_runner/test:1409:7) async Test.processPendingSubtests (node:internal/test_runner/test:974:7) ... # Subtest: another user's grant not ok 4 - another user's grant --- duration_ms: 77.385678 type: 'test' location: '/mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:173:13' failureType: 'testCodeFailure' error: |- another user's grant 303 !== 403 code: 'ERR_ASSERTION' name: 'AssertionError' expected: 403 actual: 303 operator: 'strictEqual' stack: |- TestContext. (file:///mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:176:14) process.processTicksAndRejections (node:internal/process/task_queues:104:5) async Test.run (node:internal/test_runner/test:1409:7) async TestContext. (file:///mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:173:5) async Test.run (node:internal/test_runner/test:1409:7) async Test.processPendingSubtests (node:internal/test_runner/test:974:7) ... # Subtest: a sub in no file ok 5 - a sub in no file --- duration_ms: 40.652981 type: 'test' ... # Subtest: a file the loader refuses ok 6 - a file the loader refuses --- duration_ms: 74.92896 type: 'test' ... 1..6 not ok 2 - R6 G2 a subject with no live grant in this business is refused subject-unknown --- duration_ms: 433.064399 type: 'test' location: '/mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:164:1' failureType: 'subtestsFailed' error: '4 subtests failed' code: 'ERR_TEST_FAILURE' ... # Subtest: R6 G3 a revoke counts on the next request: 401 and the session is gone # Subtest: grant removed not ok 1 - grant removed --- duration_ms: 64.630321 type: 'test' location: '/mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:199:13' failureType: 'testCodeFailure' error: |- Expected values to be strictly equal: + actual - expected + 'access-revoked' - 'sign-in required' code: 'ERR_ASSERTION' name: 'AssertionError' expected: 'sign-in required' actual: 'access-revoked' operator: 'strictEqual' stack: |- TestContext. (file:///mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:207:14) process.processTicksAndRejections (node:internal/process/task_queues:104:5) async Test.run (node:internal/test_runner/test:1409:7) async TestContext. (file:///mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:199:5) async Test.run (node:internal/test_runner/test:1409:7) async Test.processPendingSubtests (node:internal/test_runner/test:974:7) ... # Subtest: subject removed ok 2 - subject removed --- duration_ms: 50.619797 type: 'test' ... # Subtest: grant expired not ok 3 - grant expired --- duration_ms: 123.640684 type: 'test' location: '/mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:199:13' failureType: 'testCodeFailure' error: |- Expected values to be strictly equal: + actual - expected + 'access-revoked' - 'sign-in required' code: 'ERR_ASSERTION' name: 'AssertionError' expected: 'sign-in required' actual: 'access-revoked' operator: 'strictEqual' stack: |- TestContext. (file:///mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:207:14) process.processTicksAndRejections (node:internal/process/task_queues:104:5) async Test.run (node:internal/test_runner/test:1409:7) async TestContext. (file:///mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:199:5) async Test.run (node:internal/test_runner/test:1409:7) async Test.processPendingSubtests (node:internal/test_runner/test:974:7) ... # Subtest: file now refused ok 4 - file now refused --- duration_ms: 78.007438 type: 'test' ... 1..4 not ok 3 - R6 G3 a revoke counts on the next request: 401 and the session is gone --- duration_ms: 317.562485 type: 'test' location: '/mnt/storage/scratch/launchpad-r294/wt/packages/webui/tests/granted-user.test.mjs:192:1' failureType: 'subtestsFailed' error: '2 subtests failed' code: 'ERR_TEST_FAILURE' ... # 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: 72.835794 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: 105.145618 type: 'test' ... # Subtest: R6 G9 a user chat sends only the plugins read over the owner transport ok 6 - R6 G9 a user chat sends only the plugins read over the owner transport --- duration_ms: 59.180853 type: 'test' ... # 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: 37.327463 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: 775.474923 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: 39.045355 type: 'test' ... 1..9 # tests 19 # suites 0 # pass 11 # fail 8 # cancelled 0 # skipped 0 # todo 0 # duration_ms 2107.663356 # stderr