-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ci(Cypress): Add PML test and Dynamic Fields Test for Novalnet #6544
Conversation
Changed Files |
2082bb0
to
e9a3720
Compare
e9a3720
to
a414b1d
Compare
a414b1d
to
1011c8e
Compare
hey, can you resolve the conflicts? |
Hey @cookieg13 |
b83fdbe
to
35b661b
Compare
|
||
// creating payment with currency as USD and no billing email | ||
// billing.email is mandatory for novalnet | ||
it("create-payment-call-test", () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't you added positive test case for novalnet?
Because I can see test case for stripe only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @likhinbopanna I now added one positive case for Novalnet, and one positive case for stripe. Would that be sufficient?
cypress-tests/cypress/e2e/PaymentMethodListTest/00000-PaymentMethodListTests.cy.js
Show resolved
Hide resolved
cypress-tests/cypress/e2e/PaymentMethodListTest/00000-PaymentMethodListTests.cy.js
Outdated
Show resolved
Hide resolved
fixtures.createConnectorBody, | ||
cardCreditEnabledInEur, | ||
globalState, | ||
"novalnet", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are the api keys updated in the creds file? if not, pml tests are bound to fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just checked, no it is not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure checking! I assumed you meant the local creds.json
cypress-tests/cypress/e2e/PaymentMethodListTest/00000-PaymentMethodListTests.cy.js
Show resolved
Hide resolved
// payment method list should only have credit with stripe | ||
it("payment-method-list-call-test", () => { | ||
const data = | ||
getConnectorDetails("stripe")["pm_list"]["PmListResponse"][ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if not asking too much, do you mind renaming the Stripe.js
file to Connector.js
since it is more meaningful and common across all the connectors from my unerstanding?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is done!
916cfd2
to
55741f7
Compare
145dd3c
to
1fb8c40
Compare
…r-verifyurl-in-redirection-handler * 'main' of github.com:juspay/hyperswitch: (30 commits) test(cypress): add test for In Memory Cache (juspay#6961) chore(version): 2025.01.09.1 fix(dummyconnector): add tenant id in dummyconnector requests (juspay#7008) chore(version): 2025.01.09.0 fix(cypress): backup and restore sessions when using user apis (juspay#6978) feat(users): handle edge features for users in tenancy (juspay#6990) chore(dynamic-fields): [Worldpay] update dynamic fields for payments (juspay#7002) chore(version): 2025.01.08.0 fix: consider status of payment method before filtering wallets in list pm (juspay#7004) feat(core): add columns unified error code and error message in refund table (juspay#6933) feat(connector): [Fiuu] Consume transaction id for error cases for Fiuu (juspay#6998) docs(cypress): update cypress documentation (juspay#6956) chore(version): 2025.01.07.0 chore(keymanager): add tenant-id to keymanager requests (juspay#6968) ci(cypress): Add Session Token Testcases (juspay#6683) Ci(Cypress): Add PML test and Dynamic Fields Test for Novalnet (juspay#6544) chore(version): 2025.01.06.0 ci(cypress): fix adyen sofort in cypress (juspay#6984) chore: add migrations for Currency type in DB (juspay#6980) chore(version): 2025.01.03.0 ...
Type of Change
Description
Added PML test for Novalnet
Additional Changes
Motivation and Context
#6463 (comment)
How did you test it?
Ran Cypress Test locally:
PaymentMethodListTests
DynamicFields
Checklist
cargo +nightly fmt --all
cargo clippy