-
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
fix(cypress): fix redirectionHandler
from failing to compile
#4846
Conversation
redirectionHandler
from failing to compile
cy.get(".BankSearch_searchInput__uX_9l").type( | ||
"Volksbank Hildesheim{enter}" | ||
); | ||
cy.get(".BankSearch_searchIcon__EcVO7").click(); | ||
cy.get(".BankSearch_bankWrapper__R5fUK").click(); | ||
cy.get("._transactionId__primaryButton__nCa0r").click(); |
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.
Won't these identifiers change over time?
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.
I believe not. Other simpler methods never worked here when I tried. Had to resort to the work that @tsdk02 and @Abhitator216 had done.
8d3deea
* 'main' of github.com:juspay/hyperswitch: feat(cypress): Add service level testing for Payouts (#4744) feat(auth): Create and use `SinglePurposeOrLoginTokenAuth` (#4830) refactor(connector): [Adyen] handle redirection error response (#4862) refactor(api_models): rename Card struct for payouts to avoid overrides in auto generated open API spec (#4861) chore(version): 2024.06.04.1 fix(connector): [Adyen]add required fields for afterpay clearpay (#4858) chore(version): 2024.06.04.0 fix: include client_version and client_source in retried payments (#4826) refactor(users): Changes for Home and Signout APIs for TOTP Redis flows (#4851) feat(users): Create config for TOTP Issuer (#4776) feat(multitenancy): add support for multitenancy and handle the same in router, producer, consumer, drainer and analytics (#4630) feat(connector): [AUTHORIZEDOTNET] Support payment_method_id in recurring mandate payment (#4841) refactor(connector): airwallex convert init payment to preprocessing (#4842) feat(router): send `three_ds_requestor_url` in authentication_response for external 3ds flow (#4828) feat(consolidated-kafka-events): add consolidated kafka payment events (#4798)
7a6e897
Type of Change
Description
It looks like Jenkins expects file names to be case sensitive which is good. However, that led to Cypress tests to fail.
In
commands.js
, we've given the file name to be./redirectionHandler
to be imported while the actual file name is./redirectionhandler
.Execute:
Had to add a normaliser function as on Jenkins, it considers a standard connector name:
Additional Changes
Motivation and Context
NIL
How did you test it?
CI should not cry from now on. But on local, this bug is not reproducible.
Checklist
cargo +nightly fmt --all
cargo clippy