Re: [w3c/payment-request] Consider specifying a testing IDL for a mock payment UI (#799)

@danyao can you describe the minimal required API to make this work? Would it suffice to just instruct the browser to provide mock UI-free payment methods? Would there have to be a callback to the test code when the payment instrument has been used, or could tests just try to make a payment and then look at the result?

I think there are similarities with https://github.com/web-platform-tests/wpt/issues/12046, and possibly something simple like https://w3c.github.io/permissions/#automation could suffice.

This would also allow web developers to test their code, although I don't know if that's a real ask or if they'd just mock out the entire API instead.

CC @LukeZielinski

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/issues/799#issuecomment-462698194

Received on Tuesday, 12 February 2019 10:09:50 UTC