Skip to content

Commit 14f331c

Browse files
committed
fix(website): fix e2e test for multiple aside elements (sidebar + TOC)
1 parent d7af514 commit 14f331c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/website/e2e/website.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test('pricing page lead form validates required fields', async ({ page }) => {
3434

3535
test('docs page renders sidebar and content', async ({ page }) => {
3636
await page.goto('/docs/getting-started/introduction');
37-
await expect(page.locator('aside')).toBeVisible();
37+
await expect(page.locator('aside').first()).toBeVisible();
3838
await expect(page.locator('article')).toBeVisible();
3939
});
4040

0 commit comments

Comments
 (0)