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

#6174 - Update indigo to 1.26.0-rc.5 in browser module #6175

Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
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
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
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
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
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
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
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
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 @@ -269,40 +269,38 @@ test.describe('Loading SMARTS files', () => {
await takeEditorScreenshot(page);
});

test.fail(
'Validate that the schema with retrosynthetic, angel arrows and plus could be saved to SMARTS file and loaded back',
async ({ page }) => {
/*
test('Validate that the schema with retrosynthetic, angel arrows and plus could be saved to SMARTS file and loaded back', async ({
page,
}) => {
/*
Test case: #2071
Description: Validate that the schema with retrosynthetic arrow could be saved to SMARTS file and loaded back
We have a bug https://github.com/epam/Indigo/issues/2210
*/

await openFileAndAddToCanvas(
'KET/schema-with-retrosynthetic-angel-arrows-and-plus.ket',
page,
);
const expectedFile = await getSmarts(page);
await saveToFile(
'SMARTS/schema-with-retrosynthetic-angel-arrows-and-plus.smarts',
expectedFile,
);
const { fileExpected: smartsFileExpected, file: smartsFile } =
await receiveFileComparisonData({
page,
expectedFileName:
'tests/test-data/SMARTS/schema-with-retrosynthetic-angel-arrows-and-plus.smarts',
});

expect(smartsFile).toEqual(smartsFileExpected);

await openFileAndAddToCanvasAsNewProject(
'SMARTS/schema-with-retrosynthetic-angel-arrows-and-plus.smarts',
await openFileAndAddToCanvas(
'KET/schema-with-retrosynthetic-angel-arrows-and-plus.ket',
page,
);
const expectedFile = await getSmarts(page);
await saveToFile(
'SMARTS/schema-with-retrosynthetic-angel-arrows-and-plus.smarts',
expectedFile,
);
const { fileExpected: smartsFileExpected, file: smartsFile } =
await receiveFileComparisonData({
page,
);
await takeEditorScreenshot(page);
},
);
expectedFileName:
'tests/test-data/SMARTS/schema-with-retrosynthetic-angel-arrows-and-plus.smarts',
});

expect(smartsFile).toEqual(smartsFileExpected);

await openFileAndAddToCanvasAsNewProject(
'SMARTS/schema-with-retrosynthetic-angel-arrows-and-plus.smarts',
page,
);
await takeEditorScreenshot(page);
});

test('Validate that the schema with vertical retrosynthetic arrow could be saved to SMARTS file and loaded back', async ({
page,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,32 +151,30 @@ test.describe('Save files', () => {
expect(smiFile).toEqual(smiFileExpected);
});

test.fail(
'Save as a .rxn file if reaction consists of two or more reaction arrows',
async ({ page }) => {
/*
* IMPORTANT: Test fails because we have bug https://github.com/epam/Indigo/issues/2483
test('Save as a .rxn file if reaction consists of two or more reaction arrows', async ({
page,
}) => {
/*
Test case: EPMLSOPKET-4729
Description: Structure reaction consists of two or more reaction arrows saved as .rxn file
*/
await openFileAndAddToCanvas('KET/two-arrows-and-plus.ket', page);
const expectedFile = await getRxn(page);
await saveToFile(
'Rxn-V2000/two-arrows-and-plus-expected.rxn',
expectedFile,
);

const METADATA_STRING_INDEX = [2, 7, 25, 32, 54];
const { fileExpected: rxnFileExpected, file: rxnFile } =
await receiveFileComparisonData({
page,
metaDataIndexes: METADATA_STRING_INDEX,
expectedFileName:
'tests/test-data/Rxn-V2000/two-arrows-and-plus-expected.rxn',
});
expect(rxnFile).toEqual(rxnFileExpected);
},
);
await openFileAndAddToCanvas('KET/two-arrows-and-plus.ket', page);
const expectedFile = await getRxn(page);
await saveToFile(
'Rxn-V2000/two-arrows-and-plus-expected.rxn',
expectedFile,
);

const METADATA_STRING_INDEX = [2, 7, 25, 32, 54];
const { fileExpected: rxnFileExpected, file: rxnFile } =
await receiveFileComparisonData({
page,
metaDataIndexes: METADATA_STRING_INDEX,
expectedFileName:
'tests/test-data/Rxn-V2000/two-arrows-and-plus-expected.rxn',
});
expect(rxnFile).toEqual(rxnFileExpected);
});

test('Automatic selection of MDL Molfile v3000 encoding is work if the number of atoms (or bonds) exceeds 999', async ({
page,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -731,40 +731,38 @@ test.describe('SMILES files', () => {
await takeEditorScreenshot(page);
});

test.fail(
'Validate that the schema with retrosynthetic, angel arrows and plus could be saved to SMILE file and loaded back',
async ({ page }) => {
/*
test('Validate that the schema with retrosynthetic, angel arrows and plus could be saved to SMILE file and loaded back', async ({
page,
}) => {
/*
Test case: #2071
Description: Validate that the schema with retrosynthetic arrow could be saved to SMILE file and loaded back
We have a bug https://github.com/epam/Indigo/issues/2210
*/

await openFileAndAddToCanvas(
'KET/schema-with-retrosynthetic-angel-arrows-and-plus.ket',
await openFileAndAddToCanvas(
'KET/schema-with-retrosynthetic-angel-arrows-and-plus.ket',
page,
);
const expectedFile = await getSmiles(page);
await saveToFile(
'SMILES/schema-with-retrosynthetic-angel-arrows-and-plus.smi',
expectedFile,
);
const { fileExpected: smilesFileExpected, file: smilesFile } =
await receiveFileComparisonData({
page,
);
const expectedFile = await getSmiles(page);
await saveToFile(
'SMILES/schema-with-retrosynthetic-angel-arrows-and-plus.smi',
expectedFile,
);
const { fileExpected: smilesFileExpected, file: smilesFile } =
await receiveFileComparisonData({
page,
expectedFileName:
'tests/test-data/SMILES/schema-with-retrosynthetic-angel-arrows-and-plus.smi',
});
expectedFileName:
'tests/test-data/SMILES/schema-with-retrosynthetic-angel-arrows-and-plus.smi',
});

expect(smilesFile).toEqual(smilesFileExpected);
expect(smilesFile).toEqual(smilesFileExpected);

await openFileAndAddToCanvasAsNewProject(
'SMILES/schema-with-retrosynthetic-angel-arrows-and-plus.smi',
page,
);
await takeEditorScreenshot(page);
},
);
await openFileAndAddToCanvasAsNewProject(
'SMILES/schema-with-retrosynthetic-angel-arrows-and-plus.smi',
page,
);
await takeEditorScreenshot(page);
});

test('Validate that the schema with vertical retrosynthetic arrow could be saved to SMILE file and loaded back', async ({
page,
Expand Down
Loading
Loading