replace Playwright skeleton test description with a short, more accurate one
update Playwright test step comment
replace Playwright skeleton test steps with an actual code:
test('Introduction element has the same name as the page headline', async ({ page }) => {
// navigate to the docs landing page /docs
await page.goto('/docs');
// check if both elements - first left menu element and page header have the same name
const pageHeadlineName = await page.textContent('h1');
const introElement = await page.locator('.space-y-4 .active').innerHTML();
const introElementName = introElement.toString();
expect(introElementName).toEqual(pageHeadlineName);
});
Fixes Issue https://github.com/EddieHubCommunity/good-first-issue-finder/issues/378
Changes proposed