diff --git a/packages/checkout/widgets-lib/src/components/FormComponents/SelectForm/SelectForm.cy.tsx b/packages/checkout/widgets-lib/src/components/FormComponents/SelectForm/SelectForm.cy.tsx index 03b047e537..3005f638de 100644 --- a/packages/checkout/widgets-lib/src/components/FormComponents/SelectForm/SelectForm.cy.tsx +++ b/packages/checkout/widgets-lib/src/components/FormComponents/SelectForm/SelectForm.cy.tsx @@ -25,7 +25,7 @@ describe('SelectForm', () => { }, ]} onSelectChange={() => {}} - coinSelectorHeading="Select coin" + coinSelectorHeading="Select token" selectedOption="imx" defaultTokenImage="default-token-image" /> @@ -54,7 +54,7 @@ describe('SelectForm', () => { }, ]} onSelectChange={() => {}} - coinSelectorHeading="Select coin" + coinSelectorHeading="Select token" defaultTokenImage="default-token-image" /> , @@ -64,7 +64,7 @@ describe('SelectForm', () => { cySmartGet('select-form-test-coin-selector__option-eth').should('exist'); }); - it('should show select coin when no selected option', () => { + it('should show select token when no selected option', () => { mount( { }, ]} onSelectChange={() => {}} - coinSelectorHeading="Select coin" + coinSelectorHeading="Select token" defaultTokenImage="default-token-image" /> , ); - cySmartGet('select-form-test-select__target__label').should('have.text', 'Select coin'); + cySmartGet('select-form-test-select__target__label').should('have.text', 'Select token'); }); - it('should show select coin when options is empty', () => { + it('should show select token when options is empty', () => { mount( {}} - coinSelectorHeading="Select coin" + coinSelectorHeading="Select token" defaultTokenImage="default-token-image" /> , ); - cySmartGet('select-form-test-select__target__label').should('have.text', 'Select coin'); + cySmartGet('select-form-test-select__target__label').should('have.text', 'Select token'); }); - it('should show select coin when selected option not in options list', () => { + it('should show Select token when selected option not in options list', () => { mount( {}} - coinSelectorHeading="Select coin" + coinSelectorHeading="Select token" selectedOption="imx" defaultTokenImage="default-token-image" /> , ); - cySmartGet('select-form-test-select__target__label').should('have.text', 'Select coin'); + cySmartGet('select-form-test-select__target__label').should('have.text', 'Select token'); }); }); diff --git a/packages/checkout/widgets-lib/src/components/FormComponents/SelectForm/SelectForm.tsx b/packages/checkout/widgets-lib/src/components/FormComponents/SelectForm/SelectForm.tsx index cab671349e..de769d6fc8 100644 --- a/packages/checkout/widgets-lib/src/components/FormComponents/SelectForm/SelectForm.tsx +++ b/packages/checkout/widgets-lib/src/components/FormComponents/SelectForm/SelectForm.tsx @@ -79,7 +79,7 @@ export function SelectForm({