graphql-ce icon indicating copy to clipboard operation
graphql-ce copied to clipboard

[Test Coverage] PaypalGraphQl API Functional

Open pmclain opened this issue 7 years ago • 3 comments

Description

Queries and Mutations introduced in Magento_PaypalGraphQl lack api functional test coverage. A module for mocking the Paypal API should be introduced dev/tests/api-functional/_files/Magento

pmclain avatar Jul 08 '19 17:07 pmclain

Queries and mutations introduced for the below Paypal variations are covered by integration tests:

  • PaypalExpressCheckout
  • PaypalPayflow_Pro
  • Paypal_payflow_Link

dthampy avatar Jul 09 '19 15:07 dthampy

@naydav There's no clear adapter within Magento_Paypal to rewrite for mocking in api-functional tests similar to what was done in #757 and #392. It also looks like integration tests aren't running on this repo. I haven't executed the tests locally, but I would hope the schema changes introduced in #757 would have caused related integration tests referenced above to fail.

pmclain avatar Jul 10 '19 03:07 pmclain

@TomashKhamlai Please communicate with @pmclain and check the coverage of PayPal functionality Thanks

naydav avatar Jul 12 '19 17:07 naydav