From 8ffdc22d2532be93c4237541e55492486a8df38d Mon Sep 17 00:00:00 2001
From: Yoan VALLET <ext.sopra.yvallet@grandlyon.com>
Date: Wed, 31 Mar 2021 10:31:59 +0200
Subject: [PATCH] feat: updates tests

---
 src/components/Duel/__snapshots__/DuelError.spec.tsx.snap     | 3 ++-
 .../LegalNotice/__snapshots__/LegalNoticeLink.spec.tsx.snap   | 4 ++--
 .../Splash/__snapshots__/SplashScreenError.spec.tsx.snap      | 4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/components/Duel/__snapshots__/DuelError.spec.tsx.snap b/src/components/Duel/__snapshots__/DuelError.spec.tsx.snap
index ea6a54b86..da5276067 100644
--- a/src/components/Duel/__snapshots__/DuelError.spec.tsx.snap
+++ b/src/components/Duel/__snapshots__/DuelError.spec.tsx.snap
@@ -13,6 +13,7 @@ exports[`DuelError component should be rendered correctly 1`] = `
     className="duel-error-button"
   >
     <ForwardRef(WithStyles)
+      aria-label="duel.accessibility.button_go_back"
       classes={
         Object {
           "label": "text-16-normal",
@@ -21,7 +22,7 @@ exports[`DuelError component should be rendered correctly 1`] = `
       }
       onClick={[Function]}
     >
-      duel.error_go_back
+      duel.button_go_back
     </ForwardRef(WithStyles)>
   </div>
 </div>
diff --git a/src/components/LegalNotice/__snapshots__/LegalNoticeLink.spec.tsx.snap b/src/components/LegalNotice/__snapshots__/LegalNoticeLink.spec.tsx.snap
index b46e53af7..da2b40ba7 100644
--- a/src/components/LegalNotice/__snapshots__/LegalNoticeLink.spec.tsx.snap
+++ b/src/components/LegalNotice/__snapshots__/LegalNoticeLink.spec.tsx.snap
@@ -10,7 +10,7 @@ exports[`LegalNoticeView component should be rendered correctly 1`] = `
     <div
       className="legal-notice-header text-16-normal-uppercase"
     >
-      LEGAL.TITLE_LEGAL
+      legal.title_legal
     </div>
     <ForwardRef
       className="legal-notice-card-link"
@@ -31,7 +31,7 @@ exports[`LegalNoticeView component should be rendered correctly 1`] = `
             <div
               className="legal-notice-card-content-title"
             >
-              LEGAL.READ_LEGAL
+              legal.read_legal
             </div>
           </div>
         </div>
diff --git a/src/components/Splash/__snapshots__/SplashScreenError.spec.tsx.snap b/src/components/Splash/__snapshots__/SplashScreenError.spec.tsx.snap
index c1ccca247..ef8e9b896 100644
--- a/src/components/Splash/__snapshots__/SplashScreenError.spec.tsx.snap
+++ b/src/components/Splash/__snapshots__/SplashScreenError.spec.tsx.snap
@@ -4237,7 +4237,7 @@ exports[`SplashScreenError component should be rendered correctly 1`] = `
     <div
       className="splash-footer-error-text text-16-normal"
     >
-      LOADING.ERROR_LOADING
+      splashscreen.error_loading
     </div>
     <ForwardRef(WithStyles)
       className="splash-footer-button"
@@ -4249,7 +4249,7 @@ exports[`SplashScreenError component should be rendered correctly 1`] = `
       }
       onClick={[Function]}
     >
-      LOADING.RELOAD
+      splashscreen.button_reload
     </ForwardRef(WithStyles)>
   </div>
 </React.Fragment>
-- 
GitLab