Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Add giftaid submit and update ERP tests #430

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

KrupaPammi
Copy link
Contributor

@KrupaPammi KrupaPammi commented Jul 4, 2024

@KrupaPammi KrupaPammi requested a review from AndyEPhipps July 4, 2024 14:18
AndyEPhipps
AndyEPhipps previously approved these changes Jul 4, 2024
]);

// Check for the thank you message to confirm successful submission
await expect(page.locator('div > h1')).toHaveText(`Thank you, ${contactInfo.firstName}!`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a general thought (not specifically for this test or repo), but it might be good to use more specific selectors, something like div.success-wrapper--inner h1 or even div.success-wrapper--inner h1:first-child, just to make things as non-brittle as possible

@KrupaPammi KrupaPammi merged commit 9b8a090 into master Jul 8, 2024
7 checks passed
@KrupaPammi KrupaPammi deleted the ENG-3411-add-erp-tests branch July 8, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants