Skip to content

Commit

Permalink
#6174 - Update indigo to 1.26.0-rc.4 in browser module (#6175)
Browse files Browse the repository at this point in the history
- updated ketcher to 2.27.0-rc.3
- update indigo to 1.26.0-rc.5
- updated screenshots
  • Loading branch information
rrodionov91 authored Dec 24, 2024
1 parent bcc6b94 commit f5c8793
Show file tree
Hide file tree
Showing 570 changed files with 2,636 additions and 2,536 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.
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

0 comments on commit f5c8793

Please sign in to comment.