-
Notifications
You must be signed in to change notification settings - Fork 20
Gather default test data values #41
Comments
Updated the above with more information we need. |
So, this shows a bit of what I have in mind here: See in particular |
I've been playing around with @patrickkettner halp? (see above for context - but tl;dr. Microsoft Edge has a non-standard "environment" member, which is kinda a cool idea... we want to us it). |
We decided to take a different approach. We will share autofill data and enable this through a browser flag instead. https://chromium-review.googlesource.com/c/chromium/src/+/661061 |
@marcoscaceres It would be very useful if this didn't use a hard-coded set of values so we could do some i18n testing too with names in non-Western alphabets etc. If we are going to standardize on this as the testing approach it would be great to be able to point at a set of test vectors in a text file (stored with the tests) that can be loaded into all browsers and tested. I appreciate that loading in values may be a big security issue though so keen to discuss. |
@adrianhopebailie, that's the plan 😁... hence me asking @rsolomakhin for: |
environment
member
@adrianhopebailie, just noting that we can't tell Chrome how to implement the test data (it's probably less painful to just hard-code it into c++ to avoid a bunch of IO, as they have done.) - same with Firefox. The "text file", however, can live on web platform tests and we will test against it (but probably won't be a text file either, probably JS Objects that are serialized to JSON as needed). |
@marcoscaceres sure, my concern is internationalization and the ability to add new data as new payment methods emerge.
That sounds good |
@adrianhopebailie and @marcoscaceres, should this be on our FTF meeting agenda? |
Don't think so. It's only a concern to the browser vendors. |
Spec was deprecated. No longer applies. |
Edge currently extends Basic Card with an
environment
member (details here)... it's currently used for testing in Microsoft Wallet, but other implementers would like to also support it for the same reason.Example:
To standardize it, we need to:
cc @molly26dalton, @adrianba
The text was updated successfully, but these errors were encountered: