Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#4530 - Convert Rx connection points created in molecules mode into chem attachment points in macromolecules mode #4598

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
waitForRender,
moveMouseToTheMiddleOfTheScreen,
selectOptionInDropdown,
selectSingleBondTool,
} from '@utils';

const topLeftCorner = {
Expand Down Expand Up @@ -599,4 +600,22 @@ test.describe('Macro-Micro-Switcher', () => {
await turnOnMacromoleculesEditor(page);
await takePageScreenshot(page);
});

test('R-Group labels should be converted to monomer attachment points', async ({
page,
}) => {
/*
Ticket: https://github.com/epam/ketcher/issues/4530
Description: Convert Rx connection points created in molecules mode into chem attachment points in macromolecules mode
*/
await turnOnMacromoleculesEditor(page);
await openFileAndAddToCanvasMacro('KET/molecules-with-rglabels.ket', page);
await selectSingleBondTool(page);
await page.getByText('F1').locator('..').hover();
await takeEditorScreenshot(page);
await page.getByText('F2').locator('..').hover();
await takeEditorScreenshot(page);
await page.getByText('F3').locator('..').hover();
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.
Loading
Loading