Skip to content

Commit

Permalink
#2939: Fix test screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinEpam23 committed Aug 9, 2023
1 parent 92a43e8 commit 551da77
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ test.describe('Preview for abbreviated structures: functional groups', () => {
await page.mouse.move(point.x, point.y);
// delay is required because preview is shown with delay
await delay(1);

await takeEditorScreenshot(page);
});

Expand All @@ -48,21 +47,6 @@ test.describe('Preview for abbreviated structures: functional groups', () => {
// delay is required because preview is shown with delay
await delay(1);
await moveMouseToTheMiddleOfTheScreen(page);

await delay(1);
await takeEditorScreenshot(page);
});

test('Should hide preview of a functional group when hovering over atom', async ({
page,
}) => {
const point = await getRightAtomByAttributes(page, { label: 'C' });
await page.mouse.move(point.x, point.y);
// delay is required because preview is shown with delay
await delay(1);
await moveMouseToTheMiddleOfTheScreen(page);

await delay(1);
await takeEditorScreenshot(page);
});

Expand All @@ -75,7 +59,6 @@ test.describe('Preview for abbreviated structures: functional groups', () => {
await delay(1);
await page.mouse.click(point.x, point.y);
await moveMouseToTheMiddleOfTheScreen(page);

await takeEditorScreenshot(page);
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 551da77

Please sign in to comment.