Skip to content

Commit

Permalink
#3667 – fixing CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitvex committed Dec 19, 2023
1 parent a14f0fc commit 19f2352
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,12 @@ test.describe('Macro-Micro-Switcher', () => {
Test case: Macro-Micro-Switcher
Description: Mol-structure opened from the file in Micro mode is visible on Macro mode when hover on it
*/
await openFileAndAddToCanvas('Molfiles-V2000/glutamine.mol', page);
await openFileAndAddToCanvas(
'Molfiles-V2000/glutamine.mol',
page,
topLeftCorner.x,
topLeftCorner.y,
);
await turnOnMacromoleculesEditor(page);
await page.getByText('F1').locator('..').click();
await takeEditorScreenshot(page);
Expand Down Expand Up @@ -553,7 +558,7 @@ test.describe('Macro-Micro-Switcher', () => {
await takeEditorScreenshot(page);
});

test('Check that the Ket-structure pasted from the clipboard in Micro mode is visible in Macro mode when hover on it.', async ({
test('Check that the Ket-structure pasted from the clipboard in Micro mode is visible in Macro mode when hover on it.', async ({
page,
}) => {
/*
Expand All @@ -564,7 +569,7 @@ test.describe('Macro-Micro-Switcher', () => {
page,
FILE_TEST_DATA.oneFunctionalGroupExpandedKet,
);
await clickInTheMiddleOfTheScreen(page);
await page.mouse.click(topLeftCorner.x, topLeftCorner.y);
await turnOnMacromoleculesEditor(page);
await page.getByText('F1').locator('..').click();
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 @@ -5,9 +5,9 @@
M V30 BEGIN CTAB
M V30 COUNTS 3 2 0 0 0
M V30 BEGIN ATOM
M V30 1 A 1.08833 1.01333 0.0 0 CLASS=AA ATTCHORD=(4 2 Br 3 Al)
M V30 2 Bal 2.23833 0.991666 0.0 0 CLASS=AA ATTCHORD=(2 1 Al)
M V30 3 Az 1.115 1.89667 0.0 0 CLASS=CHEM ATTCHORD=(2 1 Al)
M V30 1 A 7.975 5.9 0.0 0 CLASS=AA ATTCHORD=(4 2 Br 3 Al)
M V30 2 Bal 13.325 5.825 0.0 0 CLASS=AA ATTCHORD=(2 1 Al)
M V30 3 Az 8.075 10.05 0.0 0 CLASS=CHEM ATTCHORD=(2 1 Al)
M V30 END ATOM
M V30 BEGIN BOND
M V30 1 1 1 2
Expand Down

0 comments on commit 19f2352

Please sign in to comment.