From b51aadc716c84e0ff6dd7319490caf4fe958f9e7 Mon Sep 17 00:00:00 2001
From: glo80771 <127736464+glo80771@users.noreply.github.com>
Date: Fri, 19 May 2023 19:04:30 +0530
Subject: [PATCH] Pwa 3122 (#4104)
* PWA-3121::system is getting crashed with unexpected error when pressed Retrun button with invalid Gift card number
* PWA-3121::Updated test cases
* PWA-3121::Formatted the code using prettier
* PWA-3122::System does not read displayed error message for accessibil users, if User press Return Button with blank Gift card number
* PWA-3122::Formatted the code using prettier
---------
Co-authored-by: Aanchal Pawar <97873570+glo82145@users.noreply.github.com>
---
.../__snapshots__/giftCards.spec.js.snap | 22 ++++++++++
.../CartPage/GiftCards/giftCards.js | 40 +++++++++++--------
.../CartPage/GiftCards/giftCards.module.css | 4 ++
3 files changed, 49 insertions(+), 17 deletions(-)
diff --git a/packages/venia-ui/lib/components/CartPage/GiftCards/__tests__/__snapshots__/giftCards.spec.js.snap b/packages/venia-ui/lib/components/CartPage/GiftCards/__tests__/__snapshots__/giftCards.spec.js.snap
index 8158b1cabf..8a2fcd7129 100644
--- a/packages/venia-ui/lib/components/CartPage/GiftCards/__tests__/__snapshots__/giftCards.spec.js.snap
+++ b/packages/venia-ui/lib/components/CartPage/GiftCards/__tests__/__snapshots__/giftCards.spec.js.snap
@@ -62,6 +62,17 @@ exports[`it renders correctly when it has cards 1`] = `
className="root"
/>
+
+