Skip to content

Commit

Permalink
Add plot removal to element view test
Browse files Browse the repository at this point in the history
  • Loading branch information
NateLanza committed Jan 22, 2025
1 parent a20852e commit 66834f6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions e2e-tests/elementView.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,13 @@ test('Element View', async ({ page, browserName }) => {
await expect(schoolMaleSelectionRect).toBeVisible();
await expect(schoolBlueHairMaleSelectionRect).toBeVisible();
await expect(schoolMale3rdPoly).toBeVisible();

/*
* Plot removal
*/
await page.locator('div').filter({ hasText: /^Add Plot$/ }).getByRole('button').nth(1)
.click();
await expect(page.locator('canvas')).not.toBeVisible();
});

/**
Expand Down

0 comments on commit 66834f6

Please sign in to comment.