diff --git a/ketcher-autotests/tests/Macromolecule-editor/Import-Saving-Files/import-saving-idt.spec.ts b/ketcher-autotests/tests/Macromolecule-editor/Import-Saving-Files/import-saving-idt.spec.ts index f8062e8ec6..aa35f35df8 100644 --- a/ketcher-autotests/tests/Macromolecule-editor/Import-Saving-Files/import-saving-idt.spec.ts +++ b/ketcher-autotests/tests/Macromolecule-editor/Import-Saving-Files/import-saving-idt.spec.ts @@ -39,6 +39,7 @@ import { toggleNucleotidesAccordion, togglePhosphatesAccordion, } from '@utils/macromolecules/rnaBuilder'; +import { clickOnSequenceSymbol } from '@utils/macromolecules/sequence'; async function pasteFromClipboardAndAddToMacromoleculesCanvas( page: Page, @@ -392,7 +393,7 @@ test.describe('Import-Saving .idt Files', () => { `A*C*G*C*G*C*G*A*C*T*A*T*A*C*G*C*G*C*C*T`, ); await selectSequenceLayoutModeTool(page); - await page.getByText('G').locator('..').first().click({ button: 'right' }); + await clickOnSequenceSymbol(page, 'G', { button: 'right' }); await page.getByTestId('edit_sequence').click(); await enterSequence(page, 'ttt'); await page.keyboard.press('Escape'); diff --git a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/attachment-point-rotation.spec.ts b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/attachment-point-rotation.spec.ts index 09067a376c..a4ba97b581 100644 --- a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/attachment-point-rotation.spec.ts +++ b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/attachment-point-rotation.spec.ts @@ -6,6 +6,7 @@ import { selectSingleBondTool, waitForPageInit, takeEditorScreenshot, + moveMouseAway, } from '@utils'; import { turnOnMacromoleculesEditor } from '@utils/macromolecules'; import { bondTwoMonomers } from '@utils/macromolecules/polymerBond'; @@ -71,6 +72,7 @@ test.describe('Check attachment point rotation', () => { await bondTwoMonomers(page, peptide3, peptide4); // Hover 1th peptide + await moveMouseAway(page); await peptide1.hover(); // Get rid of flakiness because of preview @@ -79,6 +81,7 @@ test.describe('Check attachment point rotation', () => { await takeEditorScreenshot(page); // Hover 2nd peptide + await moveMouseAway(page); await peptide2.hover(); // Get rid of flakiness because of preview @@ -123,6 +126,7 @@ test.describe('Check attachment point rotation', () => { await bondTwoMonomers(page, peptide1, peptide2); // Hover 1th peptide + await moveMouseAway(page); await peptide1.hover(); await takeEditorScreenshot(page); @@ -134,6 +138,7 @@ test.describe('Check attachment point rotation', () => { await selectSingleBondTool(page); // Hover 1th peptide + await moveMouseAway(page); await peptide1.hover(); await page.getByTestId('polymer-library-preview'); await takeEditorScreenshot(page); diff --git a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/attachment-point-rotation.spec.ts-snapshots/Check-attachment-point-rotation-Select-monomer-and-bonds-and-then-hover-monomer-2-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/attachment-point-rotation.spec.ts-snapshots/Check-attachment-point-rotation-Select-monomer-and-bonds-and-then-hover-monomer-2-chromium-linux.png index 5b6ed2b256..58d5d1dcee 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/attachment-point-rotation.spec.ts-snapshots/Check-attachment-point-rotation-Select-monomer-and-bonds-and-then-hover-monomer-2-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/attachment-point-rotation.spec.ts-snapshots/Check-attachment-point-rotation-Select-monomer-and-bonds-and-then-hover-monomer-2-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-4-connected-by-Bond-A6OH-monomers-can-are-1-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-4-connected-by-Bond-A6OH-monomers-can-are-1-chromium-linux.png index 6081ca4220..3b6f184a00 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-4-connected-by-Bond-A6OH-monomers-can-are-1-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-4-connected-by-Bond-A6OH-monomers-can-are-1-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-636e8--and-clicking-ESC-when-hover-second-monomer-2-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-636e8--and-clicking-ESC-when-hover-second-monomer-2-chromium-linux.png index 746045587c..556659bec7 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-636e8--and-clicking-ESC-when-hover-second-monomer-2-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-636e8--and-clicking-ESC-when-hover-second-monomer-2-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-8d946--and-clicking-ESC-when-hover-second-monomer-1-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-8d946--and-clicking-ESC-when-hover-second-monomer-1-chromium-linux.png index 746045587c..556659bec7 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-8d946--and-clicking-ESC-when-hover-second-monomer-1-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-8d946--and-clicking-ESC-when-hover-second-monomer-1-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-de95a--and-clicking-ESC-when-hover-second-monomer-4-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-de95a--and-clicking-ESC-when-hover-second-monomer-4-chromium-linux.png index 746045587c..556659bec7 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-de95a--and-clicking-ESC-when-hover-second-monomer-4-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-de95a--and-clicking-ESC-when-hover-second-monomer-4-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-ebd52--and-clicking-ESC-when-hover-second-monomer-5-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-ebd52--and-clicking-ESC-when-hover-second-monomer-5-chromium-linux.png index eff9429f66..cf3efaae8e 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-ebd52--and-clicking-ESC-when-hover-second-monomer-5-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-ebd52--and-clicking-ESC-when-hover-second-monomer-5-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-ff9fc--and-clicking-ESC-when-hover-second-monomer-3-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-ff9fc--and-clicking-ESC-when-hover-second-monomer-3-chromium-linux.png index 746045587c..556659bec7 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-ff9fc--and-clicking-ESC-when-hover-second-monomer-3-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Polymer-Bond-Tool/connection-rules-common.spec.ts-snapshots/Common-connection-rules-Check-that-attachmen-ff9fc--and-clicking-ESC-when-hover-second-monomer-3-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts index 137991ca86..61adc56dff 100755 --- a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts +++ b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts @@ -711,11 +711,13 @@ test.describe('Snake Bond Tool', () => { `KET/peptides-flex-chain.ket`, page, ); - scrollUp(page, 200); + await scrollUp(page, 200); + await moveMouseAway(page); await takeEditorScreenshot(page); await page.getByText('meS').locator('..').first().hover(); await dragMouseTo(x, y, page); await page.mouse.click(x2, y2); + await moveMouseAway(page); await takeEditorScreenshot(page); }); diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-Snake-mode-is-working-for-side-connection-1-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-Snake-mode-is-working-for-side-connection-1-chromium-linux.png index 42a1528ae0..c7befa3d30 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-Snake-mode-is-working-for-side-connection-1-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-Snake-mode-is-working-for-side-connection-1-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-if-even-very-long-chain--ecd12-nvas-algorithm-calculate-the-length-of-rows-2-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-if-even-very-long-chain--ecd12-nvas-algorithm-calculate-the-length-of-rows-2-chromium-linux.png index eacc201563..ee2cc4ca83 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-if-even-very-long-chain--ecd12-nvas-algorithm-calculate-the-length-of-rows-2-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-if-even-very-long-chain--ecd12-nvas-algorithm-calculate-the-length-of-rows-2-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-if-even-very-long-chain--fc33b-nvas-algorithm-calculate-the-length-of-rows-1-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-if-even-very-long-chain--fc33b-nvas-algorithm-calculate-the-length-of-rows-1-chromium-linux.png index 322fa542ec..b1a8746eb0 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-if-even-very-long-chain--fc33b-nvas-algorithm-calculate-the-length-of-rows-1-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-if-even-very-long-chain--fc33b-nvas-algorithm-calculate-the-length-of-rows-1-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-move-any-peptide-from-middle-of-chain-above-main-snake-chain-1-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-move-any-peptide-from-middle-of-chain-above-main-snake-chain-1-chromium-linux.png index 614d8a70dd..833c4c1b44 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-move-any-peptide-from-middle-of-chain-above-main-snake-chain-1-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-move-any-peptide-from-middle-of-chain-above-main-snake-chain-1-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-move-any-peptide-from-middle-of-chain-above-main-snake-chain-2-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-move-any-peptide-from-middle-of-chain-above-main-snake-chain-2-chromium-linux.png index b8e31935ca..a0b351cb60 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-move-any-peptide-from-middle-of-chain-above-main-snake-chain-2-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-move-any-peptide-from-middle-of-chain-above-main-snake-chain-2-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-snake-layout-to-monomers-connected-through-R1-to-R2-and-R3-to-R2-1-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-snake-layout-to-monomers-connected-through-R1-to-R2-and-R3-to-R2-1-chromium-linux.png index 9946615ffe..b8e3e46e35 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-snake-layout-to-monomers-connected-through-R1-to-R2-and-R3-to-R2-1-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-snake-layout-to-monomers-connected-through-R1-to-R2-and-R3-to-R2-1-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-that-switch-to-Flex-mode-2d348-in-change-it-into-a-chain-with-straight-lines-2-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-that-switch-to-Flex-mode-2d348-in-change-it-into-a-chain-with-straight-lines-2-chromium-linux.png index 1569ab145b..597ab530f2 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-that-switch-to-Flex-mode-2d348-in-change-it-into-a-chain-with-straight-lines-2-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-that-switch-to-Flex-mode-2d348-in-change-it-into-a-chain-with-straight-lines-2-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-that-switch-to-Flex-mode-6e978-in-change-it-into-a-chain-with-straight-lines-3-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-that-switch-to-Flex-mode-6e978-in-change-it-into-a-chain-with-straight-lines-3-chromium-linux.png index eacc201563..ee2cc4ca83 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-that-switch-to-Flex-mode-6e978-in-change-it-into-a-chain-with-straight-lines-3-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-that-switch-to-Flex-mode-6e978-in-change-it-into-a-chain-with-straight-lines-3-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-that-switch-to-Flex-mode-e9241-in-change-it-into-a-chain-with-straight-lines-1-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-that-switch-to-Flex-mode-e9241-in-change-it-into-a-chain-with-straight-lines-1-chromium-linux.png index c996bc373e..ee2cc4ca83 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-that-switch-to-Flex-mode-e9241-in-change-it-into-a-chain-with-straight-lines-1-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Check-that-switch-to-Flex-mode-e9241-in-change-it-into-a-chain-with-straight-lines-1-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Create-snake-mode-for-single-monomer-and-nucleoside-2-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Create-snake-mode-for-single-monomer-and-nucleoside-2-chromium-linux.png index 8bed841cb9..c00762142f 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Create-snake-mode-for-single-monomer-and-nucleoside-2-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Create-snake-mode-for-single-monomer-and-nucleoside-2-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Pressing-snake-layout-button-8d37a-rming-chain-on-screen-in-a-snake-like-pattern-2-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Pressing-snake-layout-button-8d37a-rming-chain-on-screen-in-a-snake-like-pattern-2-chromium-linux.png index c996bc373e..ee2cc4ca83 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Pressing-snake-layout-button-8d37a-rming-chain-on-screen-in-a-snake-like-pattern-2-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Pressing-snake-layout-button-8d37a-rming-chain-on-screen-in-a-snake-like-pattern-2-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Pressing-snake-layout-button-f0566-rming-chain-on-screen-in-a-snake-like-pattern-1-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Pressing-snake-layout-button-f0566-rming-chain-on-screen-in-a-snake-like-pattern-1-chromium-linux.png index eacc201563..38d343d627 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Pressing-snake-layout-button-f0566-rming-chain-on-screen-in-a-snake-like-pattern-1-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-Pressing-snake-layout-button-f0566-rming-chain-on-screen-in-a-snake-like-pattern-1-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-When-monomers-are-too-close-un-40137-ther-snake-bond-shape-has-straight-connection-1-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-When-monomers-are-too-close-un-40137-ther-snake-bond-shape-has-straight-connection-1-chromium-linux.png index 6be41c5058..dd2d5a6584 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-When-monomers-are-too-close-un-40137-ther-snake-bond-shape-has-straight-connection-1-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-When-monomers-are-too-close-un-40137-ther-snake-bond-shape-has-straight-connection-1-chromium-linux.png differ diff --git a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-When-monomers-are-too-close-un-a3fe9-ther-snake-bond-shape-has-straight-connection-2-chromium-linux.png b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-When-monomers-are-too-close-un-a3fe9-ther-snake-bond-shape-has-straight-connection-2-chromium-linux.png index 2001681e1e..e2ac4d0424 100644 Binary files a/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-When-monomers-are-too-close-un-a3fe9-ther-snake-bond-shape-has-straight-connection-2-chromium-linux.png and b/ketcher-autotests/tests/Macromolecule-editor/Snake-Mode/snake-bond-tool.spec.ts-snapshots/Snake-Bond-Tool-When-monomers-are-too-close-un-a3fe9-ther-snake-bond-shape-has-straight-connection-2-chromium-linux.png differ diff --git a/ketcher-autotests/tests/utils/macromolecules/sequence.ts b/ketcher-autotests/tests/utils/macromolecules/sequence.ts index 12301786ec..7eef5c4c32 100644 --- a/ketcher-autotests/tests/utils/macromolecules/sequence.ts +++ b/ketcher-autotests/tests/utils/macromolecules/sequence.ts @@ -11,6 +11,7 @@ export async function clickOnSequenceSymbol( symbolText, clickOptions?.nthNumber, ); + await symbolLocator.hover(); await symbolLocator.click(clickOptions); }