Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassMust have a shippingType IDL attribute
Asserts run
Pass
assert_idl_attribute(object "[object PaymentRequest]", "shippingType")
    at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:35:3)
PassIf options.requestShipping is false, then request.shippingType attribute is null.
Asserts run
Pass
assert_equals(null, null, "must be null")
    at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:40:3)
Pass
assert_equals(null, null, "must be null")
    at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:44:3)
Pass
assert_equals(null, null, "must be null")
    at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:50:5)
Pass
assert_equals(null, null, "must be null")
    at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:50:5)
Pass
assert_equals(null, null, "must be null")
    at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:50:5)
PassIf options.requestShipping is true, request.shippingType will be options.shippingType.
Asserts run
Pass
assert_equals("shipping", "shipping", "must be shipping")
    at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:59:3)
Pass
assert_equals("delivery", "delivery", "must be delivery")
    at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:65:5)
Pass
assert_equals("pickup", "pickup", "must be pickup")
    at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:65:5)
Pass
assert_equals("shipping", "shipping", "must be shipping")
    at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:65:5)