106 lines
3.9 KiB
Plaintext
106 lines
3.9 KiB
Plaintext
TAP version 13
|
|
# Subtest: a signed-in same-origin revert reaches exactly one library.revert and returns the new commit
|
|
ok 1 - a signed-in same-origin revert reaches exactly one library.revert and returns the new commit
|
|
---
|
|
duration_ms: 16.128237
|
|
type: 'test'
|
|
...
|
|
# Subtest: a revert needs send, the named Host, the user, the exact Origin and same-origin Fetch Metadata
|
|
ok 2 - a revert needs send, the named Host, the user, the exact Origin and same-origin Fetch Metadata
|
|
---
|
|
duration_ms: 5.987607
|
|
type: 'test'
|
|
...
|
|
# Subtest: a revert takes a project and a 40-hex commit, nothing else, before the bus is asked
|
|
not ok 3 - a revert takes a project and a 40-hex commit, nothing else, before the bus is asked
|
|
---
|
|
duration_ms: 4.805637
|
|
type: 'test'
|
|
location: '/mnt/storage/scratch/tmp/fethry-row225-KEmw8wQ2/mosaic-row225-mutants-e6t705gk/M5-commit-input/packages/webui/tests/library-routes.test.mjs:64:1'
|
|
failureType: 'testCodeFailure'
|
|
error: |-
|
|
{"project":"books","commit":"abc"}
|
|
|
|
200 !== 400
|
|
|
|
code: 'ERR_ASSERTION'
|
|
name: 'AssertionError'
|
|
expected: 400
|
|
actual: 200
|
|
operator: 'strictEqual'
|
|
stack: |-
|
|
TestContext.<anonymous> (file:///mnt/storage/scratch/tmp/fethry-row225-KEmw8wQ2/mosaic-row225-mutants-e6t705gk/M5-commit-input/packages/webui/tests/library-routes.test.mjs:69:12)
|
|
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: a bus refusal is reported as not reverted with its code; before C2-02 that is the verb refusal
|
|
ok 4 - a bus refusal is reported as not reverted with its code; before C2-02 that is the verb refusal
|
|
---
|
|
duration_ms: 6.383811
|
|
type: 'test'
|
|
...
|
|
# Subtest: a revert whose answer is lost or unusable is reported unknown and is never retried
|
|
ok 5 - a revert whose answer is lost or unusable is reported unknown and is never retried
|
|
---
|
|
duration_ms: 4.000988
|
|
type: 'test'
|
|
...
|
|
# Subtest: the status read takes one project query and answers the bus result for that project
|
|
ok 6 - the status read takes one project query and answers the bus result for that project
|
|
---
|
|
duration_ms: 2.487122
|
|
type: 'test'
|
|
...
|
|
# Subtest: a status answer for another project or of the wrong shape is refused; a refusal keeps its status
|
|
ok 7 - a status answer for another project or of the wrong shape is refused; a refusal keeps its status
|
|
---
|
|
duration_ms: 4.9292
|
|
type: 'test'
|
|
...
|
|
# Subtest: the status read needs no send; a read-only Console still has no revert
|
|
ok 8 - the status read needs no send; a read-only Console still has no revert
|
|
---
|
|
duration_ms: 1.266317
|
|
type: 'test'
|
|
...
|
|
# Subtest: library routes are the owner's: a granted user is refused them, and the tester never reverts
|
|
ok 9 - library routes are the owner's: a granted user is refused them, and the tester never reverts
|
|
---
|
|
duration_ms: 0.443059
|
|
type: 'test'
|
|
...
|
|
# Subtest: the page gets the one library renderer, byte for byte, as a JavaScript module
|
|
ok 10 - the page gets the one library renderer, byte for byte, as a JavaScript module
|
|
---
|
|
duration_ms: 1.048018
|
|
type: 'test'
|
|
...
|
|
# Subtest: a revert receipt for another project is unknown and is never retried
|
|
ok 11 - a revert receipt for another project is unknown and is never retried
|
|
---
|
|
duration_ms: 0.864934
|
|
type: 'test'
|
|
...
|
|
# Subtest: a granted-user HTTP session cannot reach owner library callbacks
|
|
ok 12 - a granted-user HTTP session cannot reach owner library callbacks
|
|
---
|
|
duration_ms: 1.064626
|
|
type: 'test'
|
|
...
|
|
# Subtest: a configured revert callback remains unreachable when send is off
|
|
ok 13 - a configured revert callback remains unreachable when send is off
|
|
---
|
|
duration_ms: 0.803048
|
|
type: 'test'
|
|
...
|
|
1..13
|
|
# tests 13
|
|
# suites 0
|
|
# pass 12
|
|
# fail 1
|
|
# cancelled 0
|
|
# skipped 0
|
|
# todo 0
|
|
# duration_ms 153.3549
|