Closed Bug 1529717 Opened 10 months ago Closed 9 months ago

[wpt-sync] Sync PR 15424 - [PaymentRequest][WPT] Automate manual tests for show() method.

Categories

(Core :: DOM: Web Payments, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Danyao Wang <danyao@chromium.org> wrote:

[PaymentRequest][WPT] Automate manual tests for show() method.

This patch uses test_driver.bless() to automate manual tests that need
a user activation to trigger .show().

The new automated tests pass on Chrome after this patch.

Bug: 929773
Change-Id: Ic220c89db48c12a594ff9f77d091ff952b0c9abc
Reviewed-on: https://chromium-review.googlesource.com/c/1474708
Reviewed-by: Rouslan Solomakhin \<rouslan@chromium.org>
Commit-Queue: Danyao Wang \<danyao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632789}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → DOM: Web Payments
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests and 5 subtests
OK     : 1
PASS   : 1[linux32-opt,linux64-debug,linux64-opt]
FAIL   : 4[linux32-opt,linux64-debug,linux64-opt], 5[linux32-debug]

New tests that have failures or other problems:
/payment-request/payment-request-show-method.https.html
    Calling show() multiple times always returns a new promise.: FAIL
    Calling show() without being triggered by user interaction throws: FAIL[linux32-debug]
    If payment method consultation produces no supported method of payment, then return a promise rejected with a "NotSupportedError" DOMException.: FAIL
    If the user agent's "payment request is showing" boolean is true, then return a promise rejected with an "AbortError" DOMException.: FAIL
    Throws if the promise [[state]] is not 'created'.: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5724299ed798
[wpt PR 15424] - [PaymentRequest][WPT] Automate manual tests for show() method., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/105008f9f601
[wpt PR 15424] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/799d0957f4cd
[wpt PR 15424] - [PaymentRequest][WPT] Automate manual tests for show() method., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/90a58f096301
[wpt PR 15424] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.