mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-07-26 11:49:16 +00:00
fix(e2e): use button role for Resources nav item in screenshots spec
This commit is contained in:
@@ -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 });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user