Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillSerg committed Sep 4, 2024
1 parent 14c7291 commit 726dcae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UItests/test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ test("Grab canvas", async ({ page }) => {

test("Selecting frame", async ({ page }) => {
await page.goto('http://localhost:5173/');

const toolbarRect = page.locator('header > button > svg > rect')
await toolbarRect.click()
await page.mouse.move(300, 300);
Expand Down Expand Up @@ -244,6 +243,7 @@ test("Selecting frame", async ({ page }) => {
await page.mouse.move(1, 1);
await page.mouse.down();
await page.mouse.move(600, 600);
await page.mouse.move(700, 700); // page.locator('id=frame') below is not visible if don't add this one more move
await page.mouse.up();
// check the numbers of frame and what it is visible
const framesNumber = await page.locator('id=frame').count()
Expand Down

0 comments on commit 726dcae

Please sign in to comment.