Closed Bug 1671611 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 26141 - (re)move redundant payment tests

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox84 fixed)

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 26141 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/26141
Details from upstream follow.

b'Marcos C\xc3\xa1ceres <marcos@marcosc.com>' wrote:

(re)move redundant payment tests

CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 3 tests and 20 subtests

Status Summary

Firefox

OK : 2[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] 3[GitHub]
FAIL: 24[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] 34[GitHub]

Chrome

OK : 3
PASS: 30
FAIL: 4

Safari

OK : 3
PASS: 17
FAIL: 17

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/payment-request/show-method-optional-promise-rejects.https.html
Rejection of detailsPromise must abort the update with an 'AbortError' DOMException.: FAIL
Total in the update is a string, so converting to IDL must abort the update with a TypeError.: FAIL
Total is recursive, so converting to IDL must abort the update with a TypeError.: FAIL
Updating with a negative total results in a TypeError.: FAIL
Updating with a displayItem with an invalid currency results in RangeError.: FAIL
Updating with duplicate shippingOptions (same IDs) results in a TypeError.: FAIL
Updating with a shippingOption with an invalid currency value results in a RangError.: FAIL
Must throw a RangeError when a modifier's total item has an invalid currency.: FAIL
Must throw a RangeError when a modifier display item has an invalid currency.: FAIL
Must throw as Modifier has a recursive dictionary.: FAIL
/secure-payment-confirmation/secure-payment-confirmation.tenative.https.html
Valid payment method data does not throw exceptions.: FAIL
The action field is optional.: FAIL
The timeout field is optional.: FAIL

New Tests That Don't Pass

/payment-request/show-method-optional-promise-rejects.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
Rejection of detailsPromise must abort the update with an 'AbortError' DOMException.: FAIL (Chrome: PASS, Safari: PASS)
Total in the update is a string, so converting to IDL must abort the update with a TypeError.: FAIL (Chrome: PASS, Safari: PASS)
Total is recursive, so converting to IDL must abort the update with a TypeError.: FAIL (Chrome: PASS, Safari: PASS)
Updating with a negative total results in a TypeError.: FAIL (Chrome: PASS, Safari: PASS)
Updating with a displayItem with an invalid currency results in RangeError.: FAIL (Chrome: PASS, Safari: PASS)
Updating with duplicate shippingOptions (same IDs) results in a TypeError.: FAIL (Chrome: PASS, Safari: PASS)
Updating with a shippingOption with an invalid currency value results in a RangError.: FAIL (Chrome: PASS, Safari: PASS)
Must throw a RangeError when a modifier's total item has an invalid currency.: FAIL (Chrome: PASS, Safari: PASS)
Must throw a RangeError when a modifier display item has an invalid currency.: FAIL (Chrome: PASS, Safari: PASS)
Must throw as Modifier has a recursive dictionary.: FAIL (Chrome: PASS, Safari: PASS)
/merchant-validation/onmerchantvalidation-attribute.https.html
Must have a onmerchantvalidation IDL attribute: FAIL (Chrome: FAIL, Safari: PASS)
onmerchantvalidation attribute is a generic handler for "merchantvalidation": FAIL (Chrome: FAIL, Safari: PASS)
onmerchantvalidation attribute is a handler for MerchantValidationEvent: FAIL (Chrome: FAIL, Safari: PASS)
onmerchantvalidation attribute and listeners both work: FAIL (Chrome: FAIL, Safari: PASS)
/secure-payment-confirmation/secure-payment-confirmation.tenative.https.html
Valid payment method data does not throw exceptions.: FAIL (Chrome: PASS, Safari: PASS)
The action field is optional.: FAIL (Chrome: PASS, Safari: PASS)
The timeout field is optional.: FAIL (Chrome: PASS, Safari: PASS)
Extra payment method not allowed afterward.: FAIL (Chrome: PASS, Safari: FAIL)
Extra payment method not allowed beforehand.: FAIL (Chrome: PASS, Safari: FAIL)
Cannot request shipping information.: FAIL (Chrome: PASS, Safari: FAIL)
Cannot request payer name.: FAIL (Chrome: PASS, Safari: FAIL)
Cannot request payer email.: FAIL (Chrome: PASS, Safari: FAIL)
Cannot request payer phone.: FAIL (Chrome: PASS, Safari: FAIL)
Invalid action parameter throws an exception.: FAIL (Chrome: PASS, Safari: FAIL)
The credentialIds field is required.: FAIL (Chrome: PASS, Safari: FAIL)
The networkData field is required.: FAIL (Chrome: PASS, Safari: FAIL)
The fallbackUrl field is required.: FAIL (Chrome: PASS, Safari: FAIL)
Empty credentialIds field throws exception.: FAIL (Chrome: PASS, Safari: FAIL)
Null networkData field throws exception.: FAIL (Chrome: PASS, Safari: FAIL)
Empty networkData field throws exception.: FAIL (Chrome: PASS, Safari: FAIL)
Timeout longer than 1 hour throws exception.: FAIL (Chrome: PASS, Safari: FAIL)
Large credentialIds value throws exception.: FAIL (Chrome: PASS, Safari: FAIL)
Large networkData value throws exception.: FAIL (Chrome: PASS, Safari: FAIL)
Large fallbackUrl value throws exception.: FAIL (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

/payment-request/show-method-optional-promise-rejects.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba3082da0de2
[wpt PR 26141] - (re)move redundant payment tests, a=testonly
https://hg.mozilla.org/integration/autoland/rev/f6996ded55a2
[wpt PR 26141] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.