Closed Bug 1526739 Opened 9 months ago Closed 9 months ago

[wpt-sync] Sync PR 15281 - [Payment Request][WPT] Fix canMakePayment() tests.

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 15281 into mozilla-central (this bug is closed when the sync is complete).

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

Rouslan Solomakhin <rouslan@chromium.org> wrote:

[Payment Request][WPT] Fix canMakePayment() tests.

Before this patch, a couple of WPT test cases for canMakePayment() would
fail when attempting to issue an automated click with a user gesture to
to show the payment sheet.

This patch splits the test cases that need user gestures into a manual
test that solicits a real user gesture click to show the payment sheet.

After this patch, the canMakePayment() tests are passing.

Bug: 929773
Change-Id: Ide9a310f39c69957b2b182f00e6db37ea6391e12
Reviewed-on: https://chromium-review.googlesource.com/1459061
WPT-Export-Revision: 3b517acd7842e8bbd8aac16d900f6a6ec84e2285

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 4 subtests
OK     : 1
PASS   : 4
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/270a208a65fa
[wpt PR 15281] - [Payment Request][WPT] Fix canMakePayment() tests., a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b2d1b24dd99b
[wpt PR 15281] - [Payment Request][WPT] Fix canMakePayment() tests., 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.