Summary

Harness status: OK

Found 6 tests

Details

ResultTest NameMessage
PassMust have a .shippingOption IDL attribute.
Asserts run
Pass
assert_idl_attribute(object "[object PaymentRequest]", "shippingOption")
    at Test.<anonymous> ( /payment-request/payment-request-shippingOption-attribute.https.html:30:3)
Pass.shippingOption attribute must default to null.
Asserts run
Pass
assert_equals(null, null, "expected null")
    at Test.<anonymous> ( /payment-request/payment-request-shippingOption-attribute.https.html:35:3)
PassIf there is a single shipping option, but selected is false, then .shippingOption must be null.
Asserts run
Pass
assert_equals(null, null, "expected null")
    at Test.<anonymous> ( /payment-request/payment-request-shippingOption-attribute.https.html:47:3)
PassIf there are multiple shipping options all with `selected` set to false, then .shippingOption is null.
Asserts run
Pass
assert_equals(null, null, "expected null")
    at Test.<anonymous> ( /payment-request/payment-request-shippingOption-attribute.https.html:62:3)
PassGiven multiple shipping options, it must use the selected shipping option for .shippingOption value.
Asserts run
Pass
assert_equals("pass", "pass", "expected 'pass'")
    at Test.<anonymous> ( /payment-request/payment-request-shippingOption-attribute.https.html:78:3)
PassIf there are multiple of the shipping options with selected true, then .shippingOption is the last selected shipping option in order.
Asserts run
Pass
assert_equals("pass", "pass", "expected 'pass'")
    at Test.<anonymous> ( /payment-request/payment-request-shippingOption-attribute.https.html:98:3)