diff --git a/src/components/CookiesBanner/index.tsx b/src/components/CookiesBanner/index.tsx index e3dea138..054e9727 100644 --- a/src/components/CookiesBanner/index.tsx +++ b/src/components/CookiesBanner/index.tsx @@ -144,6 +144,7 @@ const CookiesBanner = () => { onKeyDown={closeCookiesBannerHandler} role="button" tabIndex={0} + data-testid="accept-preferences" > Accept preferences > diff --git a/src/components/Header/components/Layout.tsx b/src/components/Header/components/Layout.tsx index 6354ff0c..ad934501 100644 --- a/src/components/Header/components/Layout.tsx +++ b/src/components/Header/components/Layout.tsx @@ -61,7 +61,7 @@ const Layout = openHoc(({ classes, clickAway, open, providerDetails, providerInf - Gnosis Team Safe + Gnosis Team Safe diff --git a/src/components/Header/components/ProviderDetails/ConnectDetails.tsx b/src/components/Header/components/ProviderDetails/ConnectDetails.tsx index 9d2d47f8..845aaeaa 100644 --- a/src/components/Header/components/ProviderDetails/ConnectDetails.tsx +++ b/src/components/Header/components/ProviderDetails/ConnectDetails.tsx @@ -45,7 +45,7 @@ const ConnectDetails = ({ classes }) => ( - + ) diff --git a/src/components/Header/components/ProviderDetails/UserDetails.tsx b/src/components/Header/components/ProviderDetails/UserDetails.tsx index cea78155..73fbdf7c 100644 --- a/src/components/Header/components/ProviderDetails/UserDetails.tsx +++ b/src/components/Header/components/ProviderDetails/UserDetails.tsx @@ -163,7 +163,14 @@ const UserDetails = ({ classes, connected, network, onDisconnect, openDashboard, )} - ) diff --git a/src/routes/opening/index.tsx b/src/routes/opening/index.tsx index f73effdb..2e740717 100644 --- a/src/routes/opening/index.tsx +++ b/src/routes/opening/index.tsx @@ -302,7 +302,9 @@ const SafeDeployment = ({ creationTxHash, onCancel, onRetry, onSuccess, provider return ( - Safe creation process + + Safe creation process + @@ -336,7 +338,7 @@ const SafeDeployment = ({ creationTxHash, onCancel, onRetry, onSuccess, provider ) : null} - + Back diff --git a/src/routes/safe/components/Layout/Header/index.tsx b/src/routes/safe/components/Layout/Header/index.tsx index f3bbad71..cedb0bd6 100644 --- a/src/routes/safe/components/Layout/Header/index.tsx +++ b/src/routes/safe/components/Layout/Header/index.tsx @@ -38,7 +38,13 @@ const LayoutHeader = (props) => { {!granted && Read Only} - + {address} @@ -54,6 +60,7 @@ const LayoutHeader = (props) => { onClick={() => showSendFunds('')} size="small" variant="contained" + testId="main-send-btn" > { selected: classes.tabWrapperSelected, wrapper: classes.tabWrapper, }} - data-testid={TRANSACTIONS_TAB_BTN_TEST_ID} + data-testid={APPS_TAB_BTN_TEST_ID} label={AppsLabel} value={`${match.url}/apps`} /> diff --git a/src/routes/safe/components/Layout/index.tsx b/src/routes/safe/components/Layout/index.tsx index 81aaccce..c86ea47c 100644 --- a/src/routes/safe/components/Layout/index.tsx +++ b/src/routes/safe/components/Layout/index.tsx @@ -21,6 +21,7 @@ import { wrapInSuspense } from 'src/utils/wrapInSuspense' export const BALANCES_TAB_BTN_TEST_ID = 'balances-tab-btn' export const SETTINGS_TAB_BTN_TEST_ID = 'settings-tab-btn' +export const APPS_TAB_BTN_TEST_ID = 'apps-tab-btn' export const TRANSACTIONS_TAB_BTN_TEST_ID = 'transactions-tab-btn' export const ADDRESS_BOOK_TAB_BTN_TEST_ID = 'address-book-tab-btn' export const SAFE_VIEW_NAME_HEADING_TEST_ID = 'safe-name-heading' diff --git a/src/routes/welcome/components/Layout.tsx b/src/routes/welcome/components/Layout.tsx index 430aa77b..a76ec82f 100644 --- a/src/routes/welcome/components/Layout.tsx +++ b/src/routes/welcome/components/Layout.tsx @@ -35,6 +35,7 @@ export const CreateSafe = ({ provider, size }: any) => ( size={size || 'medium'} to={OPEN_ADDRESS} variant="contained" + testId="create-new-safe-btn" > Safe
Create new Safe
@@ -50,6 +51,7 @@ export const LoadSafe = ({ provider, size }) => ( size={size || 'medium'} to={LOAD_ADDRESS} variant="outlined" + testId="load-existing-safe-btn" > Safe
Load existing Safe
@@ -108,7 +110,7 @@ const Welcome = ({ isOldMultisigMigration, provider }: any) => { Get Started by Connecting a Wallet - +
)}