mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 18:18:27 -05:00
fix(tests): donate playwright tests (#57727)
This commit is contained in:
@@ -15,12 +15,12 @@ test.describe('Donate page', () => {
|
|||||||
|
|
||||||
test('should render the donate page correctly', async ({ page }) => {
|
test('should render the donate page correctly', async ({ page }) => {
|
||||||
await expect(
|
await expect(
|
||||||
page.getByText('Thank You for Being a Supporter')
|
page.getByText('Thank you for your continued support')
|
||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
|
|
||||||
await expect(
|
await expect(
|
||||||
page.getByText(
|
page.getByText(
|
||||||
'Your contribution will be crucial in creating resources that empower millions of people to learn new skills and support their families.'
|
'Your contributions are crucial in creating resources that empower millions of people to learn new skills and support their families.'
|
||||||
)
|
)
|
||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user