feat: remove the mention of recurring donations. (#46948)

feat: remove the mention of ongoing donations
This commit is contained in:
Ahmad Abdolsaheb
2022-07-19 16:39:45 +03:00
committed by GitHub
parent b36eb31cb3
commit 72a9e76ce5
3 changed files with 2 additions and 3 deletions
@@ -331,7 +331,6 @@
"redirecting": "Redirecting...",
"thanks": "Thanks for donating",
"thank-you": "Thank you for being a supporter.",
"thank-you-2": "Thank you for being a supporter of freeCodeCamp. You currently have a recurring donation.",
"additional": "You can make an additional one-time donation of any amount using this link: <0>{{url}}</0>",
"help-more": "Help us do more",
"error": "Something went wrong with your donation.",
+1 -1
View File
@@ -101,7 +101,7 @@ function DonatePage({
</Row>
{isDonating ? (
<Alert data-cy='donate-alert' closeLabel={t('buttons.close')}>
<p data-cy='donate.thank-you'>{t('donate.thank-you-2')}</p>
<p data-cy='donate.thank-you'>{t('donate.thank-you')}</p>
<br />
<DonationOptionsAlertText />
</Alert>
@@ -11,7 +11,7 @@ describe('Donate page', () => {
cy.get('[data-cy="donate.thank-you"]').should(
'have.text',
'Thank you for being a supporter of freeCodeCamp. You currently have a recurring donation.'
'Thank you for being a supporter.'
);
cy.get('[data-cy="donate.bigger-donation"]').should(
'have.text',