Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
knadonenkoepam committed Nov 26, 2024
1 parent c5dcc2b commit a0cd55a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ketcher-autotests/tests/utils/clicks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ export async function doubleClickOnAtom(
atomNumber: number,
) {
const point = await getAtomByIndex(page, { label: atomLabel }, atomNumber);
await clickOnCanvas(page, point.x, point.y);
await waitForRender(page, async () => {
await page.mouse.dblclick(point.x, point.y);
});
}

export async function doubleClickOnBond(
Expand Down

0 comments on commit a0cd55a

Please sign in to comment.