diff --git a/ui/components/institutional/jwt-dropdown/__snapshots__/jwt-dropdown.test.js.snap b/ui/components/institutional/jwt-dropdown/__snapshots__/jwt-dropdown.test.js.snap index c4db9b520..c376ea1bc 100644 --- a/ui/components/institutional/jwt-dropdown/__snapshots__/jwt-dropdown.test.js.snap +++ b/ui/components/institutional/jwt-dropdown/__snapshots__/jwt-dropdown.test.js.snap @@ -3,7 +3,7 @@ exports[`JwtDropdown should render the Jwt dropdown component 1`] = `

{ diff --git a/ui/components/institutional/jwt-url-form/__snapshots__/jwt-url-form.test.js.snap b/ui/components/institutional/jwt-url-form/__snapshots__/jwt-url-form.test.js.snap index c84e7439d..ce9b9400e 100644 --- a/ui/components/institutional/jwt-url-form/__snapshots__/jwt-url-form.test.js.snap +++ b/ui/components/institutional/jwt-url-form/__snapshots__/jwt-url-form.test.js.snap @@ -3,16 +3,16 @@ exports[`JwtUrlForm shows JWT text area when no jwt token exists 1`] = `

input text

@@ -24,13 +24,13 @@ exports[`JwtUrlForm shows JWT text area when no jwt token exists 1`] = `

{ const t = useI18nContext(); @@ -24,13 +23,13 @@ const JwtUrlForm = (props) => { return ( {showJwtDropdown && ( { )} {showJwtDropdown && !showAddNewToken && ( @@ -66,8 +65,13 @@ const JwtUrlForm = (props) => { )} {(!showJwtDropdown || showAddNewToken) && ( - - + + {props.jwtInputText} {fileTooBigError && ( @@ -95,11 +99,15 @@ const JwtUrlForm = (props) => { const renderAPIURLInput = () => { return ( - - + + {props.urlInputText} - + { return ( diff --git a/ui/components/institutional/jwt-url-form/jwt-url-form.scss b/ui/components/institutional/jwt-url-form/jwt-url-form.scss index 1055227ab..7bffa3140 100644 --- a/ui/components/institutional/jwt-url-form/jwt-url-form.scss +++ b/ui/components/institutional/jwt-url-form/jwt-url-form.scss @@ -1,19 +1,12 @@ .jwt-url-form { - &__instruction { - @include Paragraph; - - align-self: flex-start; - font-size: 14px; - } - &__input { @include Paragraph; height: 54px; width: 100%; border-radius: 4px; + border: 1px solid; background-color: var(--color-background-default); - margin-top: 16px; padding: 0 10px; } diff --git a/ui/components/institutional/jwt-url-form/jwt-url-form.test.js b/ui/components/institutional/jwt-url-form/jwt-url-form.test.js index d134c5302..03f783c6f 100644 --- a/ui/components/institutional/jwt-url-form/jwt-url-form.test.js +++ b/ui/components/institutional/jwt-url-form/jwt-url-form.test.js @@ -27,15 +27,8 @@ describe('JwtUrlForm', function () { }; it('opens JWT Url Form without input for new JWT', () => { - const { getAllByTestId, getByText } = renderWithProvider( - , - store, - ); + const { getByText } = renderWithProvider(, store); - expect(getAllByTestId('addNewToken-btn')[0]).toHaveAttribute( - 'role', - 'button', - ); expect(getByText('Add new token')).toBeInTheDocument(); }); diff --git a/ui/pages/institutional/custody/__snapshots__/custody.test.js.snap b/ui/pages/institutional/custody/__snapshots__/custody.test.js.snap index 8406bc0f9..6fbc42967 100644 --- a/ui/pages/institutional/custody/__snapshots__/custody.test.js.snap +++ b/ui/pages/institutional/custody/__snapshots__/custody.test.js.snap @@ -3,12 +3,12 @@ exports[`CustodyPage renders CustodyPage 1`] = `

Custodial Accounts

@@ -30,16 +30,16 @@ exports[`CustodyPage renders CustodyPage 1`] = ` Please choose the custodian you want to connect in order to add or refresh a token.
    Saturn Custody
    - + +

    + Back +

    +

    Enter your token or add a new token

    Paste or drop your token here:

    @@ -131,7 +140,7 @@ exports[`CustodyPage renders CustodyPage 2`] = `

    @@ -432,6 +443,7 @@ const CustodyPage = () => { disabled={ !selectedCustodianName || (addNewTokenClicked && !currentJwt) } + block > {t('connect')} @@ -445,7 +457,7 @@ const CustodyPage = () => { {t('selectAnAccount')} @@ -454,8 +466,8 @@ const CustodyPage = () => { @@ -561,7 +573,7 @@ const CustodyPage = () => { > @@ -571,7 +583,11 @@ const CustodyPage = () => { {t('allCustodianAccountsConnectedSubtitle')} - +