From a98a97a0276daf68575a42c2d311160630df3b37 Mon Sep 17 00:00:00 2001 From: habib islam Date: Wed, 27 Dec 2023 17:42:11 +0800 Subject: [PATCH] chore: update data cy for social icons --- src/features/components/templates/footer/data.tsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/features/components/templates/footer/data.tsx b/src/features/components/templates/footer/data.tsx index e4e7c14f825..6c42905d7ea 100644 --- a/src/features/components/templates/footer/data.tsx +++ b/src/features/components/templates/footer/data.tsx @@ -491,22 +491,27 @@ export const socialButtonsROW = [ { icon: , href: 'https://www.facebook.com/derivdotcom', + 'data-cy': 'facebook', }, { icon: , href: 'https://www.instagram.com/deriv_official', + 'data-cy': 'instagram', }, { icon: , href: 'https://twitter.com/derivdotcom/', + 'data-cy': 'twitter', }, { icon: , href: 'https://www.youtube.com/@deriv', + 'data-cy': 'youtube', }, { icon: , href: 'https://www.linkedin.com/company/derivdotcom/', + 'data-cy': 'linkedin', }, ] @@ -514,22 +519,27 @@ export const socialButtonsEU = [ { icon: , href: 'https://www.facebook.com/DerivEU', + 'data-cy': 'facebook', }, { icon: , - href: 'https://www.instagram.com/deriv_eu/', + href: 'https://www.facebook.com/deriv_eu/', + 'data-cy': 'facebook', }, { icon: , href: 'https://twitter.com/deriv_eu/', + 'data-cy': 'twitter', }, { icon: , href: 'https://www.youtube.com/@deriv', + 'data-cy': 'youtube', }, { icon: , href: 'https://www.linkedin.com/company/derivdotcom/', + 'data-cy': 'linkedin', }, ] @@ -537,13 +547,16 @@ export const socialButtonsCareers = [ { icon: , href: 'https://www.facebook.com/derivcareers', + 'data-cy': 'facebook', }, { icon: , href: 'https://www.instagram.com/derivcareers/', + 'data-cy': 'instagram', }, { icon: , href: 'https://www.linkedin.com/company/derivdotcom/life/', + 'data-cy': 'linkedin', }, ]