Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
Passordering when intercept() handler has sync and async blocks
Asserts run
Pass
assert_equals("string", "string", "Must pass a string for finalExpectedEvent")
    at new Recorder ( /navigation-api/ordering-and-transition/resources/helpers.mjs:22:5)
Pass
assert_array_equals(["navigate", "handler sync", "handler after microtask", "committed fulfilled", "promise microtask", "handler after setTimeout", "navigatesuccess", "finished fulfilled", "transition.finished fulfilled"], ["navigate", "handler sync", "handler after microtask", "committed fulfilled", "promise microtask", "handler after setTimeout", "navigatesuccess", "finished fulfilled", "transition.finished fulfilled"])
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:122:5)
Pass
assert_equals("", "", "event 0 (navigate): location.hash value")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:128:7)
Pass
assert_equals(null, null, "event 0 (navigate): navigation.transition expected to be null")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:135:9)
Pass
assert_equals("#1", "#1", "event 1 (handler sync): location.hash value")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:128:7)
Pass
assert_not_equals(object "[object Object]", null, "event 1 (handler sync): navigation.transition expected not to be null")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:141:9)
Pass
assert_equals(object "[object NavigationHistoryEntry]", object "[object NavigationHistoryEntry]", "event 1 (handler sync): navigation.transition.from")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:146:9)
Pass
assert_equals("push", "push", "event 1 (handler sync): navigation.transition.navigationType")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:151:9)
Pass
assert_equals("#1", "#1", "event 2 (handler after microtask): location.hash value")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:128:7)
Pass
assert_not_equals(object "[object Object]", null, "event 2 (handler after microtask): navigation.transition expected not to be null")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:141:9)
Pass
assert_equals(object "[object NavigationHistoryEntry]", object "[object NavigationHistoryEntry]", "event 2 (handler after microtask): navigation.transition.from")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:146:9)
Pass
assert_equals("push", "push", "event 2 (handler after microtask): navigation.transition.navigationType")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:151:9)
Pass
assert_equals("#1", "#1", "event 3 (committed fulfilled): location.hash value")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:128:7)
Pass
assert_not_equals(object "[object Object]", null, "event 3 (committed fulfilled): navigation.transition expected not to be null")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:141:9)
Pass
assert_equals(object "[object NavigationHistoryEntry]", object "[object NavigationHistoryEntry]", "event 3 (committed fulfilled): navigation.transition.from")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:146:9)
Pass
assert_equals("push", "push", "event 3 (committed fulfilled): navigation.transition.navigationType")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:151:9)
Pass
assert_equals("#1", "#1", "event 4 (promise microtask): location.hash value")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:128:7)
Pass
assert_not_equals(object "[object Object]", null, "event 4 (promise microtask): navigation.transition expected not to be null")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:141:9)
Pass
assert_equals(object "[object NavigationHistoryEntry]", object "[object NavigationHistoryEntry]", "event 4 (promise microtask): navigation.transition.from")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:146:9)
Pass
assert_equals("push", "push", "event 4 (promise microtask): navigation.transition.navigationType")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:151:9)
Pass
assert_equals("#1", "#1", "event 5 (handler after setTimeout): location.hash value")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:128:7)
Pass
assert_not_equals(object "[object Object]", null, "event 5 (handler after setTimeout): navigation.transition expected not to be null")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:141:9)
Pass
assert_equals(object "[object NavigationHistoryEntry]", object "[object NavigationHistoryEntry]", "event 5 (handler after setTimeout): navigation.transition.from")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:146:9)
Pass
assert_equals("push", "push", "event 5 (handler after setTimeout): navigation.transition.navigationType")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:151:9)
Pass
assert_equals("#1", "#1", "event 6 (navigatesuccess): location.hash value")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:128:7)
Pass
assert_not_equals(object "[object Object]", null, "event 6 (navigatesuccess): navigation.transition expected not to be null")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:141:9)
Pass
assert_equals(object "[object NavigationHistoryEntry]", object "[object NavigationHistoryEntry]", "event 6 (navigatesuccess): navigation.transition.from")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:146:9)
Pass
assert_equals("push", "push", "event 6 (navigatesuccess): navigation.transition.navigationType")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:151:9)
Pass
assert_equals("#1", "#1", "event 7 (finished fulfilled): location.hash value")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:128:7)
Pass
assert_equals(null, null, "event 7 (finished fulfilled): navigation.transition expected to be null")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:135:9)
Pass
assert_equals("#1", "#1", "event 8 (transition.finished fulfilled): location.hash value")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:128:7)
Pass
assert_equals(null, null, "event 8 (transition.finished fulfilled): navigation.transition expected to be null")
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:135:9)