From 8b87f8607051f0c242f0eda2460c2c57931e9829 Mon Sep 17 00:00:00 2001 From: prury Date: Tue, 17 Oct 2023 20:11:32 -0300 Subject: [PATCH 1/8] data test ids --- components/CookieBanner.vue | 1 + components/Navbar.vue | 5 ++++- components/common/ConnectWallet/WalletAssetMenu.vue | 4 +++- .../common/NotificationBox/NotificationBoxModal.vue | 3 ++- components/common/shoppingCart/ShoppingCartModal.vue | 3 ++- components/identity/module/IdentityPopover.vue | 6 ++++-- components/profile/ProfileDetail.vue | 11 ++++++++--- components/profile/activityTab/Activity.vue | 2 ++ components/profile/activityTab/History.vue | 1 + 9 files changed, 27 insertions(+), 9 deletions(-) diff --git a/components/CookieBanner.vue b/components/CookieBanner.vue index 7fb56f0e83..4595add00f 100644 --- a/components/CookieBanner.vue +++ b/components/CookieBanner.vue @@ -21,6 +21,7 @@ variant="text" no-shadow class="has-text-weight-bold ml-3" + data-testid="cookie-banner-button-accept" @click="acceptCookies"> {{ $t('cookies.accept') }} diff --git a/components/Navbar.vue b/components/Navbar.vue index adc320058c..c7b5acffe6 100644 --- a/components/Navbar.vue +++ b/components/Navbar.vue @@ -139,10 +139,12 @@ @@ -165,6 +167,7 @@ @@ -174,7 +177,7 @@ v-if="!isMobile" id="NavProfile" :chain="urlPrefix" - data-testid="profileDropdown" + data-testid="navbar-profile-dropdown" @closeBurgerMenu="closeBurgerMenu" /> diff --git a/components/common/ConnectWallet/WalletAssetMenu.vue b/components/common/ConnectWallet/WalletAssetMenu.vue index 7daa266eef..2172d1f160 100644 --- a/components/common/ConnectWallet/WalletAssetMenu.vue +++ b/components/common/ConnectWallet/WalletAssetMenu.vue @@ -1,6 +1,7 @@