fix(e2e): use button role for Resources nav item in screenshots spec

This commit is contained in:
SaelixCode
2026-03-22 22:12:13 -04:00
parent 353fd253e9
commit b0e2b2d025
+1 -1
View File
@@ -46,7 +46,7 @@ test('stacks', async ({ page }) => {
test('resources', async ({ page }) => {
await loginAs(page);
await page.getByRole('link', { name: /resources/i }).click();
await page.getByRole('button', { name: /resources/i }).click();
await page.waitForTimeout(800);
await page.screenshot({ path: path.join(DOCS_IMAGES, 'resources.png'), fullPage: true });
});