Back to Chromium

Manual tests for PaymentRequest.hasEnrolledInstrument() method

third_party/blink/web_tests/external/wpt/payment-request/payment-request-hasenrolledinstrument-method-manual.tentative.https.html

149.0.7827.2945 B
Original Source

Manual tests for hasEnrolledInstrument() method

Follow the instructions from top to bottom. Click on each button in sequence without refreshing the page. Some of the tests will bring up the Payment Request UI and close them automatically. If a payment sheet stays open, the test has failed.

  1. Follow browser-specific instructions to remove all cards from the test profile.
  2. hasEnrolledInstrument() resolves to false when user has no enrolled instrument.
  3. Add a test Visa card to your test profile, e.g. 4012888888881881.
  4. hasEnrolledInstrument() resolves to true when user has an enrolled instrument.
  5. hasEnrolledInstrument() can be called multiple times if the payment method details are identical.
  6. Done!

If you find a buggy test, please file a bug and tag one of the suggested reviewers.