fix(tests): donate playwright tests (#57727)

This commit is contained in:
Tom
2024-12-23 15:12:05 -06:00
committed by GitHub
parent 143d9d3bf8
commit 4f4bbe64f8

View File

@@ -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();