RESOLVED FIXED 190049
[Payment Request] Update web platform tests
https://bugs.webkit.org/show_bug.cgi?id=190049
Summary [Payment Request] Update web platform tests
Andy Estes
Reported 2018-09-27 12:47:25 PDT
[Payment Request] Update web platform tests
Attachments
Patch (32.35 KB, patch)
2018-09-27 12:52 PDT, Andy Estes
no flags
Andy Estes
Comment 1 2018-09-27 12:52:18 PDT
youenn fablet
Comment 2 2018-09-27 13:12:15 PDT
Comment on attachment 350988 [details] Patch r=me once bots are green. View in context: https://bugs.webkit.org/attachment.cgi?id=350988&action=review > LayoutTests/platform/mac-wk2/TestExpectations:863 > +imported/w3c/web-platform-tests/payment-request/payment-response/onpayerdetailchange-attribute-manual.https.html [ Skip ] The importer should by default not import manual tests. Do we need these in WebKit repo?
Andy Estes
Comment 3 2018-09-27 13:18:11 PDT
(In reply to youenn fablet from comment #2) > Comment on attachment 350988 [details] > Patch > > r=me once bots are green. > > View in context: > https://bugs.webkit.org/attachment.cgi?id=350988&action=review > > > LayoutTests/platform/mac-wk2/TestExpectations:863 > > +imported/w3c/web-platform-tests/payment-request/payment-response/onpayerdetailchange-attribute-manual.https.html [ Skip ] > > The importer should by default not import manual tests. > Do we need these in WebKit repo? I feel like I must be doing something wrong, because the importer has been importing manual tests even though I don't specify -a. Maybe the payment-request manual tests don't match the naming format expected by the importer? That said, the manual tests are kinda helpful. Some of them I've converted to automated tests using internals.mockPaymentCoordinator (in http/tests/paymentrequest).
youenn fablet
Comment 4 2018-09-27 13:19:57 PDT
> I feel like I must be doing something wrong, because the importer has been > importing manual tests even though I don't specify -a. Maybe the > payment-request manual tests don't match the naming format expected by the > importer? Or maybe we regressed the importer! > That said, the manual tests are kinda helpful. Some of them I've converted > to automated tests using internals.mockPaymentCoordinator (in > http/tests/paymentrequest). It seems sad that we could not share these internal-based tests in WPT since probably other browsers do something similar. Might be something we should push for upstream.
Andy Estes
Comment 5 2018-09-27 13:41:05 PDT
(In reply to youenn fablet from comment #4) > > I feel like I must be doing something wrong, because the importer has been > > importing manual tests even though I don't specify -a. Maybe the > > payment-request manual tests don't match the naming format expected by the > > importer? > > Or maybe we regressed the importer! I'll investigate. > > > That said, the manual tests are kinda helpful. Some of them I've converted > > to automated tests using internals.mockPaymentCoordinator (in > > http/tests/paymentrequest). > > It seems sad that we could not share these internal-based tests in WPT since > probably other browsers do something similar. Might be something we should > push for upstream. Yeah, we can do better here. I think this would be a good thing to talk about with the Web Payments WG at TPAC.
WebKit Commit Bot
Comment 6 2018-09-27 14:05:09 PDT
Comment on attachment 350988 [details] Patch Clearing flags on attachment: 350988 Committed r236570: <https://trac.webkit.org/changeset/236570>
WebKit Commit Bot
Comment 7 2018-09-27 14:05:10 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8 2018-09-27 14:06:26 PDT
Note You need to log in before you can comment on or make changes to this bug.