Skip to content

Commit

Permalink
2869 - update screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Olga Mazurina committed Oct 11, 2023
1 parent 4142904 commit 2ca042f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
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.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ test.describe('Rectangle Selection Tool', () => {
await takePageScreenshot(page);
});

test('Move monomer bonded with another monomers', async ({ page }) => {
test.only('Move monomer bonded with another monomers', async ({ page }) => {
/*
Test case: #2367 - move items on the canvas
Description: check ability to move items on the canvas
Expand Down Expand Up @@ -102,9 +102,7 @@ test.describe('Rectangle Selection Tool', () => {

// Move selected monomer
await selectRectangleSelectionTool(page);
await page.mouse.move(400, 400);
await dragMouseTo(500, 500, page);
await page.mouse.move(400, 400);
await page.mouse.click(400, 400);
await dragMouseTo(200, 400, page);

await takeEditorScreenshot(page);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const MonomerGroup = ({
}
const cardCoordinates = e.currentTarget.getBoundingClientRect();
const previewStyle = calculatePreviewPosition(monomer, cardCoordinates);
const style = { top: previewStyle, right: '-10%' };
const style = { top: previewStyle, right: '-88px' };
debouncedShowPreview({ monomer, style });
};

Expand Down

0 comments on commit 2ca042f

Please sign in to comment.