w3c / payment-request

Payment Request API
https://www.w3.org/TR/payment-request/
Other
489 stars 135 forks source link

Confirm tests and specs align #779

Closed marcoscaceres closed 5 years ago

marcoscaceres commented 5 years ago

We need to make sure that the tests listed in the spec and the actual tests in the test suite align.

We need:

  1. The list of files in WPT's payment request directory.
  2. To be compared to the "data-test" files listed in the spec (example).

Then we can figure out:

@Sylvia23 has offered to help us with this 👋

The tests that are in the payment request directory but not in the spec are:

-The tests that are in the spec but are not present in or are wrongly addressed in the payment directory are:

Line 640:

Line 904:

Line 910:

Sylvia23 commented 5 years ago

Thank you so much @marcoscaceres for writing down this issue. I would love to help with this issue and report back in a while! Thanks!

Sylvia23 commented 5 years ago

@marcoscaceres The part of the issue - "There are tests in the spec but are not present in or are wrongly addressed in the payment directory" has been fixed with #788 . Please review. Thanks!

marcoscaceres commented 5 years ago

@Sylvia23, great work so far. Could you let us know what’s left to be done?

Sylvia23 commented 5 years ago

Thank you so much @marcoscaceres . Now, we are left with adding the extra test suites that are there in the payment request repository but are missing in our spec. So, we need to add those in the spec. I have again checked the test suites allignment after merging #788 . I found that we can now check the boxes for MerchantValidationEvent/complete-method.https.html , payment-request-abort-method.https.html, payment-request-canmakepayment-method.https.html in our checklist because they got resolved automatically by #788 . Rest of the tests still need to be worked upon. I am reading the tests and their attributes to get an idea about what they are about so as to put them in their appropriate position in the spec. Any kind of suggestion is highly welcomed. Thanks!

ianbjacobs commented 5 years ago

@Sylvia23 and @marcoscaceres, thank you very much for work on this!

marcoscaceres commented 5 years ago

Closing as done. Thanks again, @Sylvia23.