Skip to content

Commit

Permalink
refactor fixtures, update snapshots for components
Browse files Browse the repository at this point in the history
  • Loading branch information
KateMaruk committed Dec 27, 2023
1 parent 3ac8a4b commit 4e25de5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/workspace/main-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,14 @@ exports.MainPage = class MainPage extends BasePage {

async clickViewportTwice() {
await this.viewport.hover();
await this.viewport.click({ delay: 300 });
await this.viewport.click({ delay: 300 });
await this.viewport.click({ delay: 300, force: true });
await this.viewport.click({ delay: 300, force: true });
}

async clickViewportByCoordinates(x, y) {
await this.viewport.hover();
await this.viewport.click({ position: { x: x, y: y }, delay: 300 });
await this.viewport.click({ position: { x: x, y: y }, delay: 300 });
await this.viewport.click({ position: { x: x, y: y }, delay: 300, force: true });
await this.viewport.click({ position: { x: x, y: y }, delay: 300, force: true });
}

async isUnSavedChangesDisplayed() {
Expand Down

0 comments on commit 4e25de5

Please sign in to comment.