diff --git a/client/src/components/Donation/DonateForm.js b/client/src/components/Donation/DonateForm.js index 745b399247..57e204d76c 100644 --- a/client/src/components/Donation/DonateForm.js +++ b/client/src/components/Donation/DonateForm.js @@ -320,9 +320,7 @@ class DonateForm extends Component { {t('donate.confirm-1')} {donationAmount / 100}: ) : ( - - {t('donate.confirm-2')} {donationAmount / 100} / {donationDuration}: - + {t('donate.confirm-3', { usd: donationAmount / 100 })}: )}
diff --git a/cypress/integration/learn/donate/donate-page-default.js b/cypress/integration/learn/donate/donate-page-default.js index 7ddb8a188e..91d4e01a7c 100644 --- a/cypress/integration/learn/donate/donate-page-default.js +++ b/cypress/integration/learn/donate/donate-page-default.js @@ -22,6 +22,10 @@ describe('Donate page', () => { cy.title().should('eq', 'Support our nonprofit | freeCodeCamp.org'); }); + it('Should display default amount and duration', () => { + cy.contains('Confirm your donation of $5 / month:').should('be.visible'); + }); + it('Should have support section', () => { cy.contains( 'Want to make a bigger one-time donation, mail us a check, or give in other ways?'