From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../tests/payment-method-basic-card/META.yml | 4 + .../apply_the_modifiers.html | 152 +++++++++++++++++++++ .../billing-address-is-null-manual.https.html | 150 ++++++++++++++++++++ .../empty-data-manual.https.html | 133 ++++++++++++++++++ .../historical.https.html | 25 ++++ ...ayment-request-canmakepayment-method.https.html | 89 ++++++++++++ .../steps_for_selecting_the_payment_handler.html | 110 +++++++++++++++ 7 files changed, 663 insertions(+) create mode 100644 testing/web-platform/tests/payment-method-basic-card/META.yml create mode 100644 testing/web-platform/tests/payment-method-basic-card/apply_the_modifiers.html create mode 100644 testing/web-platform/tests/payment-method-basic-card/billing-address-is-null-manual.https.html create mode 100644 testing/web-platform/tests/payment-method-basic-card/empty-data-manual.https.html create mode 100644 testing/web-platform/tests/payment-method-basic-card/historical.https.html create mode 100644 testing/web-platform/tests/payment-method-basic-card/payment-request-canmakepayment-method.https.html create mode 100644 testing/web-platform/tests/payment-method-basic-card/steps_for_selecting_the_payment_handler.html (limited to 'testing/web-platform/tests/payment-method-basic-card') diff --git a/testing/web-platform/tests/payment-method-basic-card/META.yml b/testing/web-platform/tests/payment-method-basic-card/META.yml new file mode 100644 index 0000000000..ca2a57e752 --- /dev/null +++ b/testing/web-platform/tests/payment-method-basic-card/META.yml @@ -0,0 +1,4 @@ +spec: https://w3c.github.io/payment-method-basic-card/ +suggested_reviewers: + - marcoscaceres + - rsolomakhin diff --git a/testing/web-platform/tests/payment-method-basic-card/apply_the_modifiers.html b/testing/web-platform/tests/payment-method-basic-card/apply_the_modifiers.html new file mode 100644 index 0000000000..f1b59dda4a --- /dev/null +++ b/testing/web-platform/tests/payment-method-basic-card/apply_the_modifiers.html @@ -0,0 +1,152 @@ + + + + Payment Method Basic Card: apply the modifiers + + + + + +

Manual tests

+

+ Note: this test requires that there is at at least one + registered "visa" card. If the payment-sheet total's + label displays "PASS", and the value US$12345, then a test has passed. +

+
    +
  1. + +
  2. +
  3. + +
  4. +
  5. + +
  6. +
  7. + +
  8. +
  9. + +
  10. +
  11. +
diff --git a/testing/web-platform/tests/payment-method-basic-card/billing-address-is-null-manual.https.html b/testing/web-platform/tests/payment-method-basic-card/billing-address-is-null-manual.https.html new file mode 100644 index 0000000000..3250e0a2c5 --- /dev/null +++ b/testing/web-platform/tests/payment-method-basic-card/billing-address-is-null-manual.https.html @@ -0,0 +1,150 @@ + +Test for requesting billing address + + + + + +

Request billing address

+

+ Click on each button in sequence from top to bottom without refreshing the + page. Each button will bring up the Payment Request UI window. +

+

+ When the payment sheet is presented, select a payment method (e.g., a credit + card), and press "Pay". +

+
    +
  1. + +
  2. +
  3. + +
  4. +
  5. +
+ + If you find a buggy test, please + file a bug and + tag one of the + suggested reviewers. + diff --git a/testing/web-platform/tests/payment-method-basic-card/empty-data-manual.https.html b/testing/web-platform/tests/payment-method-basic-card/empty-data-manual.https.html new file mode 100644 index 0000000000..ba881ee236 --- /dev/null +++ b/testing/web-platform/tests/payment-method-basic-card/empty-data-manual.https.html @@ -0,0 +1,133 @@ + + +Payment Method Basic Card - test passing empty BasicCardRequest members + + + +

+ Payment Method Basic Card - test passing empty BasicCardRequest values +

+

+ This test checks that the Basic Card payment handler can accept any card. +

+

+ Click on each button in sequence from top to bottom without refreshing the page. + Each button will bring up the Payment Request UI window. + The test expects the following credit card. +

+
    +
  1. Add card: +
    +
    Cardholder name:
    +
    web platform test
    +
    Card number:
    +
    4111111111111111
    +
    Security code (CVV):
    +
    123
    +
    Expiry month:
    +
    01
    +
    Expiry year:
    +
    2026
    +
    +
  2. +
  3. Add billing address: +
    +
    Recipient:
    +
    web platform test
    +
    Address:
    +
    1 web st
    +
    Post code:
    +
    1234
    +
    Country:
    +
    Afghanistan
    +
    City:
    +
    w3c
    +
    Phone
    +
    +12345678910
    +
    +
  4. +
+
+
    +
  1. + +
  2. +
  3. + +
  4. +
  5. + +
  6. +
+ + + If you find a buggy test, please file a bug + and tag one of the suggested reviewers. + diff --git a/testing/web-platform/tests/payment-method-basic-card/historical.https.html b/testing/web-platform/tests/payment-method-basic-card/historical.https.html new file mode 100644 index 0000000000..e24def172a --- /dev/null +++ b/testing/web-platform/tests/payment-method-basic-card/historical.https.html @@ -0,0 +1,25 @@ + + +Historical Basic Card Changes + + + diff --git a/testing/web-platform/tests/payment-method-basic-card/payment-request-canmakepayment-method.https.html b/testing/web-platform/tests/payment-method-basic-card/payment-request-canmakepayment-method.https.html new file mode 100644 index 0000000000..f1b0c28abb --- /dev/null +++ b/testing/web-platform/tests/payment-method-basic-card/payment-request-canmakepayment-method.https.html @@ -0,0 +1,89 @@ + + + +Payment Method Basic Card: Tests that basic card is a supported method + + + + diff --git a/testing/web-platform/tests/payment-method-basic-card/steps_for_selecting_the_payment_handler.html b/testing/web-platform/tests/payment-method-basic-card/steps_for_selecting_the_payment_handler.html new file mode 100644 index 0000000000..913e784a4a --- /dev/null +++ b/testing/web-platform/tests/payment-method-basic-card/steps_for_selecting_the_payment_handler.html @@ -0,0 +1,110 @@ + + + + Payment Method Basic Card: steps for selecting the payment handler + + + + + +

Manual tests

+
    +
  1. +

    + To pass, this test must show the payment sheet and allow paying with any + card. +

    + +
  2. +
  3. +

    + To pass, this test must show the payment sheet and restrict to "visa" + credit cards. +

    + +
  4. +
  5. +

    + To pass, this test must show the payment sheet and allow paying with any + card. +

    + +
  6. +
  7. +
-- cgit v1.2.3