mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore(client): remove outdated welcome message (#59218)
This commit is contained in:
@@ -18,23 +18,6 @@ test.describe('Learn - Unauthenticated user', () => {
|
||||
})
|
||||
).toBeVisible();
|
||||
|
||||
// Advice for new learners
|
||||
const learnReadThisSection = page.getByTestId('learn-read-this-section');
|
||||
await expect(learnReadThisSection).toBeVisible();
|
||||
|
||||
const learnReadThisSectionHeading = page.getByTestId(
|
||||
'learn-read-this-heading'
|
||||
);
|
||||
await expect(learnReadThisSectionHeading).toBeVisible();
|
||||
|
||||
const learnReadThisSectionParagraphs =
|
||||
page.getByTestId('learn-read-this-p');
|
||||
await expect(learnReadThisSectionParagraphs).toHaveCount(10);
|
||||
|
||||
for (const paragraph of await learnReadThisSectionParagraphs.all()) {
|
||||
await expect(paragraph).toBeVisible();
|
||||
}
|
||||
|
||||
await expect(
|
||||
page.getByRole('link', { name: 'Sign in to save your progress' })
|
||||
).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user