mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(connector): unified errorCode and errorMessage map error reason as errorMessage in Stripe Connector (#1797)
Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in> Co-authored-by: swangi-kumari <swangi.12015941@lpu.in>
This commit is contained in:
@ -54,8 +54,7 @@ async fn should_fail_recurring_payment_due_to_authentication(
|
||||
Event::Assert(Assert::IsPresent("man_")),// mandate id starting with man_
|
||||
Event::Trigger(Trigger::Click(By::Css("#pm-mandate-btn a"))),
|
||||
Event::Trigger(Trigger::Click(By::Id("card-submit-btn"))),
|
||||
Event::Assert(Assert::IsPresent("authentication_required: Your card was declined. This transaction requires authentication.")),
|
||||
|
||||
Event::Assert(Assert::IsPresent("authentication_required: authentication_required")),
|
||||
]).await?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user