Back to Chromium

Test for PaymentRequest shippingOption dynamic updating

third_party/blink/web_tests/external/wpt/payment-request/dynamically-change-shipping-options-manual.https.html

149.0.7827.2968 B
Original Source

PaymentRequest shippingOption attribute

Click on each button in sequence from top to bottom without refreshing the page. Each button (except the 'Done' button) will bring up the Payment Request UI window.

  1. When the payment sheet is presented, view options for Shipping Method. There should only be one: "Default shipping method"
  2. Change your Shipping Address - either update your existing one by changing something (name, address, etc), or select a different Shipping Address, or add a new Shipping Address and select it.
  3. Go back to Shipping Method, and there is now an option called "Dynamically added shipping option". Select it
  4. Click on the 'Done' button
  • When the address is changed, shipping methods can be updated
  • Done

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