Skip to content

Commit

Permalink
Fix the selector for the second caret expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
ojarjur authored Oct 22, 2024
1 parent c6c8819 commit 45fde32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui-tests/tests/bigquery_dataset_explorer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('bigquery-dataset-explorer', async ({ page, request }) => {
await page.waitForSelector('div[role="treeitem"].caret-icon.down');

await page.locator('div[role="treeitem"].caret-icon.down').nth(1).click();
await page.locator('div[role="treeitem"][aria-level="1"].caret-icon.down').nth(0).click();
await page.locator('div[role="treeitem"][aria-level="1"].caret-icon.down').nth(1).click();
await page.locator('div[role="treeitem"][aria-level="2"]').third().click();
await page.getByText('Schema', { exact: true }).click();
await page.getByText('Preview', { exact: true }).click();
Expand Down

0 comments on commit 45fde32

Please sign in to comment.