mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat: test(e2e,playwright): Landing (#52039)
Co-authored-by: Aidan <aidanlowson@gmail.com>
This commit is contained in:
@@ -125,3 +125,10 @@ test('Has FAQ section', async () => {
|
||||
const faqs = page.getByTestId(landingPageElements.faq);
|
||||
await expect(faqs).toHaveCount(9);
|
||||
});
|
||||
|
||||
test("Has CTA Get Started It's free buttons", async () => {
|
||||
const ctaButtons = page.getByRole('link', {
|
||||
name: "Get started (it's free)"
|
||||
});
|
||||
await expect(ctaButtons).toHaveCount(4);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user