From 59f45ea9968272b9e9dae1e84fd028d534882c9d Mon Sep 17 00:00:00 2001 From: byhow Date: Sat, 27 Jul 2024 22:07:41 -0700 Subject: [PATCH] refactor(notice): update test id for collection title --- src/common/enums/test.ts | 1 + src/components/Notice/NoticeCollectionTitle.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/enums/test.ts b/src/common/enums/test.ts index e23a5b2422..3273512d99 100644 --- a/src/common/enums/test.ts +++ b/src/common/enums/test.ts @@ -127,6 +127,7 @@ export enum TEST_ID { NOTICE_CRYPTO_WALLET_AIRDROP = 'notice/crypto-wallet-airdrop', NOTICE_CRYPTO_WALLET_CONNECTED = 'notice/crypto-wallet-connected', NOTICE_OFFICIAL_ANNOUNCEMENT = 'notice/official-announcement', + NOTICE_COLLECTION_TITLE = 'notice/collection/title', // me ME_WALLET_TRANSACTIONS_ITEM = 'me/wallet/transactions/item', ME_WALLET_TRANSACTIONS_ITEM_AMOUNT = 'me/wallet/transactions/item/amount', diff --git a/src/components/Notice/NoticeCollectionTitle.tsx b/src/components/Notice/NoticeCollectionTitle.tsx index efe7200aba..0b59179d33 100644 --- a/src/components/Notice/NoticeCollectionTitle.tsx +++ b/src/components/Notice/NoticeCollectionTitle.tsx @@ -32,7 +32,7 @@ const NoticeCollectionTitle = ({ {truncateTitle(notice.target.title, lang)}