OLD | NEW |
(Empty) | |
| 1 CONSOLE WARNING: line 248: Cannot yet distinguish credit, debit, and prepaid car
ds. |
| 2 CONSOLE WARNING: line 252: Cannot yet distinguish credit, debit, and prepaid car
ds. |
| 3 This is a testharness.js-based test. |
| 4 Harness Error. harness_status.status = 1 , harness_status.message = 17 duplicate
test names: "Duplicate supported payment method identifiers should not throw.",
"Duplicate supported payment method identifiers in modifiers should not throw."
, "Undefined currency code should throw", "Invalid amount "-" should throw", "In
valid amount "notdigits" should throw", "Invalid amount "ALSONOTDIGITS" should t
hrow", "Invalid amount "10." should throw", "Invalid amount ".99" should throw",
"Invalid amount "-10." should throw", "Invalid amount "-.99" should throw", "In
valid amount "10-" should throw", "Invalid amount "1-0" should throw", "Invalid
amount "1.0.0" should throw", "Invalid amount "1/3" should throw", "Empty amount
should throw", "Null amount should throw", "Undefined amount should throw" |
| 5 PASS Creating a PaymentRequest with empty parameters should not throw or crash. |
| 6 PASS Creating a PaymentRequest with extra parameters should not throw or crash. |
| 7 PASS Creating a PaymentRequest with omitted optional parameters should not throw
or crash. |
| 8 PASS Creating a PaymentRequest with undefined optional parameters should not thr
ow or crash. |
| 9 PASS Creating a PaymentRequest with null optional parameters should not throw or
crash. |
| 10 PASS PaymentRequest should have readonly shippingAddress and shippingOption prop
erties. |
| 11 PASS PaymentRequest should have onShippingAddressChange and onShippingOptionChan
ge events. |
| 12 PASS PaymentRequest should have methods abort() and show(). |
| 13 PASS PaymentRequest.abort() and PaymentRequest.show() should take no parameters.
|
| 14 PASS Valid data causes no errors. |
| 15 PASS Shipping option identifier should be null if shipping request is omitted. |
| 16 PASS Shipping option identifier should be null if shipping is explicitly not req
uested. |
| 17 PASS Shipping option identifier should be null if no shipping options are provid
ed. |
| 18 PASS Shipping option identifier should be null if the single provided option is
not selected. |
| 19 PASS Shipping option identifier should default to the single provided option if
it is selected. |
| 20 PASS Shipping option identifier should be null if multiple unselected shipping o
ptions are provided. |
| 21 PASS Shipping option identifier should default to the selected shipping option. |
| 22 PASS Shipping option identifier should default to the last selected shipping opt
ion, if multiple are selected. |
| 23 PASS No shipping option selected for duplicate shipping option identifiers. |
| 24 PASS Shipping type should be null if shipping is explicitly not requested. |
| 25 PASS Shipping type should be 'shipping' by default if shipping type isn't specif
ied. |
| 26 PASS Shipping type should be null if shipping type is specified but requestShipp
ing is false. |
| 27 PASS Shipping type should be 'shipping' if shipping type is specified as 'shippi
ng'. |
| 28 PASS Shipping type should be 'delivery' if shipping type is specified as 'delive
ry'. |
| 29 PASS Shipping type should be 'pickup' if shipping type is specified as 'pickup'.
|
| 30 PASS Shipping type should be 'shipping' if shipping type is specified as undefin
ed. |
| 31 PASS Undefined display items should not throw. |
| 32 PASS Empty display items should not throw. |
| 33 PASS Non-negative total value should not throw. |
| 34 PASS Negative line item value should not throw. |
| 35 PASS Undefined modifiers should not throw. |
| 36 PASS Non-negative total value in PaymentDetailsModifier should not throw. |
| 37 PASS Duplicate supported payment method identifiers should not throw. |
| 38 PASS Duplicate supported payment method identifiers should not throw. |
| 39 PASS Duplicate supported payment method identifiers in modifiers should not thro
w. |
| 40 PASS Duplicate supported payment method identifiers in modifiers should not thro
w. |
| 41 PASS Android Pay parameters for test environment with gateway token should not t
hrow. |
| 42 PASS Android Pay parameters for produciton environment with network token should
not throw. |
| 43 PASS Basic card parameters should not throw. |
| 44 PASS Empty basic card parameters should not throw. |
| 45 PASS Invalid basic card parameters should not throw when method name is not "bas
ic-card". |
| 46 PASS Invalid basic card parameters should not throw even when method name is "ba
sic-card". |
| 47 PASS Android Pay parameters for network token without environment key should not
throw. |
| 48 PASS Invalid Android Pay parameters should not throw when method name is not "ht
tps://android.com/pay". |
| 49 PASS Invalid Android Pay parameters should not throw even when method name is "h
ttps://android.com/pay". |
| 50 PASS abort() without show() should reject with error |
| 51 PASS PaymentRequest constructor should throw for incorrect parameter types. |
| 52 PASS PaymentRequest constructor should throw for undefined required parameters. |
| 53 PASS PaymentRequest constructor should throw for null required parameter. |
| 54 PASS Empty list of supported payment method identifiers should throw TypeError. |
| 55 PASS Empty supported payment method identifiers should throw TypeError. |
| 56 PASS Absence of total should throw TypeError. |
| 57 PASS Negative total value should throw a TypeError. |
| 58 PASS Negative total value in PaymentDetailsModifier should throw a TypeError. |
| 59 PASS Null supportedMethods in modifiers should throw TypeError. |
| 60 PASS Undefined supportedMethods in modifiers should throw TypeError. |
| 61 PASS Empty supportedMethods in modifiers should throw TypeError. |
| 62 PASS Absence of supportedMethods in modifiers should throw TypeError. |
| 63 PASS Empty modifiers should throw TypeError. |
| 64 PASS Empty details should throw |
| 65 PASS Null items should throw |
| 66 PASS Null shipping options should throw |
| 67 PASS Undefined PaymentShippingType value for shppingType should throw a TypeErro
r |
| 68 PASS Null for shppingType should throw a TypeError |
| 69 PASS Array value for shppingType should throw a TypeError |
| 70 PASS Object value for shppingType should throw a TypeError |
| 71 PASS Numeric value for shppingType should throw a TypeError |
| 72 PASS Array value for payment method specific data parameter should throw |
| 73 PASS String value for payment method specific data parameter should throw |
| 74 PASS Numeric value for payment method specific data parameter should throw |
| 75 PASS Infinite JSON value for one of the payment method specific data pieces shou
ld throw |
| 76 PASS Null for payment method specific data parameter should throw |
| 77 PASS Empty string for payment method specific data parameter should throw |
| 78 PASS If details contains a null value for error, then throw a TypeError |
| 79 PASS If details contains an empty string value for error, then throw a TypeError
|
| 80 PASS If details contains a non-empty string value for error, then throw a TypeEr
ror |
| 81 PASS Undefined currency code should throw |
| 82 PASS Invalid amount "-" should throw |
| 83 PASS Invalid amount "notdigits" should throw |
| 84 PASS Invalid amount "ALSONOTDIGITS" should throw |
| 85 PASS Invalid amount "10." should throw |
| 86 PASS Invalid amount ".99" should throw |
| 87 PASS Invalid amount "-10." should throw |
| 88 PASS Invalid amount "-.99" should throw |
| 89 PASS Invalid amount "10-" should throw |
| 90 PASS Invalid amount "1-0" should throw |
| 91 PASS Invalid amount "1.0.0" should throw |
| 92 PASS Invalid amount "1/3" should throw |
| 93 PASS Empty amount should throw |
| 94 PASS Null amount should throw |
| 95 PASS Undefined amount should throw |
| 96 PASS Undefined currency code should throw |
| 97 PASS Invalid amount "-" should throw |
| 98 PASS Invalid amount "notdigits" should throw |
| 99 PASS Invalid amount "ALSONOTDIGITS" should throw |
| 100 PASS Invalid amount "10." should throw |
| 101 PASS Invalid amount ".99" should throw |
| 102 PASS Invalid amount "-10." should throw |
| 103 PASS Invalid amount "-.99" should throw |
| 104 PASS Invalid amount "10-" should throw |
| 105 PASS Invalid amount "1-0" should throw |
| 106 PASS Invalid amount "1.0.0" should throw |
| 107 PASS Invalid amount "1/3" should throw |
| 108 PASS Empty amount should throw |
| 109 PASS Null amount should throw |
| 110 PASS Undefined amount should throw |
| 111 PASS Undefined currency code should throw |
| 112 PASS Invalid amount "-" should throw |
| 113 PASS Invalid amount "notdigits" should throw |
| 114 PASS Invalid amount "ALSONOTDIGITS" should throw |
| 115 PASS Invalid amount "10." should throw |
| 116 PASS Invalid amount ".99" should throw |
| 117 PASS Invalid amount "-10." should throw |
| 118 PASS Invalid amount "-.99" should throw |
| 119 PASS Invalid amount "10-" should throw |
| 120 PASS Invalid amount "1-0" should throw |
| 121 PASS Invalid amount "1.0.0" should throw |
| 122 PASS Invalid amount "1/3" should throw |
| 123 PASS Empty amount should throw |
| 124 PASS Null amount should throw |
| 125 PASS Undefined amount should throw |
| 126 PASS Undefined currency code should throw |
| 127 PASS Invalid amount "-" should throw |
| 128 PASS Invalid amount "notdigits" should throw |
| 129 PASS Invalid amount "ALSONOTDIGITS" should throw |
| 130 PASS Invalid amount "10." should throw |
| 131 PASS Invalid amount ".99" should throw |
| 132 PASS Invalid amount "-10." should throw |
| 133 PASS Invalid amount "-.99" should throw |
| 134 PASS Invalid amount "10-" should throw |
| 135 PASS Invalid amount "1-0" should throw |
| 136 PASS Invalid amount "1.0.0" should throw |
| 137 PASS Invalid amount "1/3" should throw |
| 138 PASS Empty amount should throw |
| 139 PASS Null amount should throw |
| 140 PASS Undefined amount should throw |
| 141 PASS Undefined currency code should throw |
| 142 PASS Invalid amount "-" should throw |
| 143 PASS Invalid amount "notdigits" should throw |
| 144 PASS Invalid amount "ALSONOTDIGITS" should throw |
| 145 PASS Invalid amount "10." should throw |
| 146 PASS Invalid amount ".99" should throw |
| 147 PASS Invalid amount "-10." should throw |
| 148 PASS Invalid amount "-.99" should throw |
| 149 PASS Invalid amount "10-" should throw |
| 150 PASS Invalid amount "1-0" should throw |
| 151 PASS Invalid amount "1.0.0" should throw |
| 152 PASS Invalid amount "1/3" should throw |
| 153 PASS Empty amount should throw |
| 154 PASS Null amount should throw |
| 155 PASS Undefined amount should throw |
| 156 Harness: the test ran to completion. |
| 157 |
OLD | NEW |