Skip to content

Commit

Permalink
eslint provenance.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
NateLanza committed Jan 8, 2025
1 parent a5e2095 commit 1d171a5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions e2e-tests/provenance.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ test('Selection History', async ({ page }) => {

// Testing history for an aggregate row selection & deselection
await page.getByRole('radio', { name: 'Degree' }).check();
await page.locator('g').filter({ hasText: /^Degree 3Degree 3$/ }).locator('rect').nth(0).click();
await page.locator('g').filter({ hasText: /^Degree 3Degree 3$/ }).locator('rect').nth(0)
.click();
await expect(page.locator('div').filter({ hasText: /^Select intersection "Degree 3"$/ }).nth(2)).toBeVisible();
await page.locator('g').filter({ hasText: /^Degree 3Degree 3$/ }).locator('rect').nth(0).click();
await page.locator('g').filter({ hasText: /^Degree 3Degree 3$/ }).locator('rect').nth(0)
.click();
await expect(page.getByText('Deselect intersection').nth(1)).toBeVisible();

// Check that selections are maintained after de-aggregation
Expand Down

0 comments on commit 1d171a5

Please sign in to comment.