Closed Bug 1528711 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 15386 - [PaymentRequest][WPT] Automate manual tests that need user click.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Danyao Wang <danyao@chromium.org> wrote:

[PaymentRequest][WPT] Automate manual tests that need user click.

Before this patch, test cases that need a user click were implemented as
manual tests. This patch automates them using testdriver.bless() API,
which simulates a user click action using WebDriver.

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

PR 15386 applied with additional changes from upstream: ba78e657cbc2648e1540216e5a7973bc91f221f0, 7d5d8b89aba590b018d7ac402c233df89b42dcbd, a7498ddcfeeca02e7b62ab9e9b359fcaa5764c62
Component: web-platform-tests → DOM: Web Payments
Product: Testing → Core
Ran 3 tests and 13 subtests
OK     : 3
PASS   : 6
FAIL   : 7

New tests that have failures or other problems:
/payment-request/payment-request-hasenrolledinstrument-method.https.html
    If request.[[state]] is "closed", then return a promise rejected with an "InvalidStateError" DOMException.: FAIL
    If request.[[state]] is "interactive", then return a promise rejected with an "InvalidStateError" DOMException.: FAIL
    hasEnrolledInstrument() resolves to false for unsupported payment methods.: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e63c62898033
[wpt PR 15386] - [PaymentRequest][WPT] Automate manual tests that need user click., a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/51e1957476b2
[wpt PR 15386] - [PaymentRequest][WPT] Automate manual tests that need user click., a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.