Skip to content

[QA] Add Cypress coverage for PayLater flows on adyen connector #12559

@HS-QUALIBOT

Description

@HS-QUALIBOT

Summary

Add Cypress test coverage for PayLater payment methods (Klarna, Affirm, Atome) on the Adyen connector.

Description

This issue tracks the addition of comprehensive PayLater test coverage as part of PR #12410 verification. The changes include:

  • New test flows for Klarna PayLater (Auto Capture, Manual Capture)
  • New test flows for Affirm PayLater (Auto Capture, Manual Capture, Refund)
  • Error case handling for Atome (unsupported Manual Capture scenario)
  • Enhanced connector configurations with proper error assertions
  • New Affirm connector configuration file
  • Updated Utils.js CONNECTOR_LISTS for PayLater method inclusion

Files Changed

  • cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js - New test spec
  • cypress-tests/cypress/e2e/configs/Payment/Adyen.js - PayLater config entries
  • cypress-tests/cypress/e2e/configs/Payment/Affirm.js - New connector config
  • cypress-tests/cypress/e2e/configs/Payment/Utils.js - CONNECTOR_LISTS updates
  • cypress-tests/cypress/e2e/configs/Payment/Commons.js - Common utilities
  • cypress-tests/cypress/support/commands.js - PayLater command support
  • cypress-tests/cypress/support/redirectionHandler.js - Redirection handling

Test Results

All PayLater tests passed on adyen connector (9/9 tests). See PAYAA-22 for detailed runner results.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions