Skip to content

test(cypress): add billing descriptor coverage for finix#12314

Open
HS-QUALIBOT wants to merge 2 commits into
mainfrom
qa/QAA-47
Open

test(cypress): add billing descriptor coverage for finix#12314
HS-QUALIBOT wants to merge 2 commits into
mainfrom
qa/QAA-47

Conversation

@HS-QUALIBOT
Copy link
Copy Markdown
Collaborator

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD
  • Tests

Description

This PR adds Cypress test coverage for the billing descriptor feature on the Finix connector. Three test contexts are covered: the happy path with a standard billing descriptor, an edge case where extra billing descriptor fields are silently dropped, and an invalid billing descriptor phone validation scenario. The Finix connector configuration is extended with the necessary request/response definitions for each scenario.

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables
  • cypress-tests/cypress/e2e/spec/Payment/43-BillingDescriptor.cy.js — new spec covering Billing Descriptor happy path + extra-fields edge case + invalid-phone negative case
  • cypress-tests/cypress/e2e/configs/Payment/Finix.js — added PaymentIntentWithBillingDescriptor, PaymentConfirmWithBillingDescriptor, PaymentIntentWithBillingDescriptorExtraFields, PaymentConfirmWithBillingDescriptorExtraFields config entries
  • cypress-tests/cypress/e2e/configs/Payment/Utils.js — registered Finix in CONNECTOR_LISTS.INCLUDE.BILLING_DESCRIPTOR

Motivation and Context

The Finix connector lacked automated regression coverage for billing descriptors. This PR fills that gap so future connector or platform changes affecting billing descriptor passthrough do not silently regress Finix behavior. The tests were generated via the internal QA pipeline (QAA-47) after validation confirmed the feature is in scope for Finix.

Parent pipeline issue: QAA-47

How did you test it?

Full regression suite was executed against the changed connector(s). All RUNNER_RESULT blocks from the QA pipeline are included verbatim below.

Changed-spec verification — finix

RUNNER_RESULT:
  Connector: finix
  SpecFile: cypress/e2e/spec/Payment/43-BillingDescriptor.cy.js
  PrereqsUsed: spec/Payment/01-AccountCreate,02-CustomerCreate,03-ConnectorCreate
  TotalTests: 9
  Passed: 9
  Failed: 0
  Skipped: 0
  OverallStatus: PASS

  Failures: []

  SkippedTests: []

  FlakeyTests: []

  BlockedReasons: []

Summary

Connector Specs Run Passed Failed Skipped Status
finix 9 9 0 0 PASS

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

Linked issues

Closes #12313
Related to QAA-47

- New spec: cypress-tests/cypress/e2e/spec/Payment/43-BillingDescriptor.cy.js
- Config keys: billing_descriptor
- Connectors regressed: Finix
- Parent issue: QAA-47

Co-Authored-By: Paperclip <noreply@paperclip.ing>
@HS-QUALIBOT HS-QUALIBOT requested a review from a team as a code owner May 15, 2026 16:24
@HS-QUALIBOT HS-QUALIBOT added the S-test-ready Status: This PR is ready for cypress-tests label May 15, 2026
@semanticdiff-com
Copy link
Copy Markdown

semanticdiff-com Bot commented May 15, 2026

Review changes with  SemanticDiff

Changed Files
File Status
  cypress-tests/cypress/e2e/configs/Payment/Finix.js  0% smaller
  cypress-tests/cypress/e2e/configs/Payment/Utils.js  0% smaller
  cypress-tests/cypress/e2e/spec/Payment/43-BillingDescriptor.cy.js  0% smaller

@github-actions github-actions Bot removed the S-test-ready Status: This PR is ready for cypress-tests label May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[QA] Add Cypress coverage for Billing Descriptor on Finix

1 participant