checkout-js icon indicating copy to clipboard operation
checkout-js copied to clipboard

feat(checkout): CHECKOUT-0000 New test framework features

Open bc-peng opened this issue 3 years ago • 0 comments

What?

  • Add playwright video recording option in the config. (turned off by default)
  • Add check for essential helper functions usage.
  • Add check for essential env variables.
  • Add checkout.selectPaymentMethod() helper function.
  • Add displays of active API requests when applying presets.
  • Update afterpay, bigpay, googlepay sample tests.

Why?

With better error-prevention mechanisms and helper functions, developers will find it eaiser to use the test framework.

Testing / Proof

CI.

bc-peng avatar Sep 02 '22 02:09 bc-peng