-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* - added 10 tests; - added 3 test files; - added expected snapshots * - added 4 tests; - added 3 test files; - added expected snapshots * - added 3 tests; - added 2 test files; - added expected snapshots * - added 6 tests; - added 1 test file; - added expected snapshots * updated snapshots * deleted unused imports * - code refactoring * code refactoring * - added 2 tests for query properties; - added 1 test file; - added expected snapshots * - added 7 tests; - added 1 test file; - added expected snapshots * - code refactor --------- Co-authored-by: root <root@EPRURYAW0199.epam.com>
- Loading branch information
Showing
62 changed files
with
6,361 additions
and
0 deletions.
There are no files selected for viewing
559 changes: 559 additions & 0 deletions
559
...er-autotests/tests/Macromolecule-editor/Macro-Micro-Switcher/macro-micro-switcher.spec.ts
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+7.55 KB
...ro-mod-3a1d0--remove-abbreviation-and-switch-to-macro-mode-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.1 KB
...ro-mod-89fde-and-move-them-to-a-new-position-several-times-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.2 KB
...rs-in-macro-mode-then-switch-to-micro-mode-and-expand-them-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.2 KB
...ction--a53db--and-CHEMs-then-switch-to-Micro-mode-and-back-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.2 KB
...ction--afd6d-ide-Library-and-switch-to-Micro-mode-and-back-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.6 KB
...ding-L-ec903-acro-mode-possible-to-see-Show-Library-button-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.1 KB
...n-Zoom-O-11636--Mouse-scroll-after-switching-to-Macro-mode-2-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.3 KB
...n-Zoom-O-131b4-rk-UI-Buttons-after-switching-to-Macro-mode-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.03 KB
...n-Zoom-O-1d5fd-rk-UI-Buttons-after-switching-to-Macro-mode-3-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.03 KB
...n-Zoom-O-2ea75--Mouse-scroll-after-switching-to-Macro-mode-3-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.67 KB
...Zoom-O-4ff5f-Zoom-Tools-work-after-switching-to-Macro-mode-3-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.58 KB
...n-Zoom-O-6d8d0-rk-UI-Buttons-after-switching-to-Macro-mode-2-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.33 KB
...Zoom-O-80cf4-Zoom-Tools-work-after-switching-to-Macro-mode-2-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.7 KB
...Zoom-O-a1b90-Zoom-Tools-work-after-switching-to-Macro-mode-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12.3 KB
...n-Zoom-O-c1f8a--Mouse-scroll-after-switching-to-Macro-mode-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.7 KB
...ecule--716dd-romode-are-represented-as-S-Groups-with-bonds-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+17.3 KB
...ew-window-of-macro-structure-does-not-change-in-micro-mode-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+21.9 KB
...ew-window-of-macro-structure-does-not-change-in-micro-mode-2-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.8 KB
...ew-window-of-macro-structure-does-not-change-in-micro-mode-3-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.6 KB
...ew-window-of-macro-structure-does-not-change-in-micro-mode-4-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+21.6 KB
...ew-window-of-macro-structure-does-not-change-in-micro-mode-5-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+17.3 KB
...w-window-of-macro-structure-doesn-not-change-in-micro-mode-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+21.9 KB
...w-window-of-macro-structure-doesn-not-change-in-micro-mode-2-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.8 KB
...w-window-of-macro-structure-doesn-not-change-in-micro-mode-3-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.6 KB
...w-window-of-macro-structure-doesn-not-change-in-micro-mode-4-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+21.6 KB
...w-window-of-macro-structure-doesn-not-change-in-micro-mode-5-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+14.2 KB
...t-struct-0c48b-e-is-visible-in-Macro-mode-when-hover-on-it-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+13.6 KB
...-struct-205ec-de-is-visible-in-Macro-mode-when-hover-on-it-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+13.6 KB
...-struct-2195a--file-in-Macro-mode-is-visible-in-Micro-mode-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+14.3 KB
...t-struct-7b663-oard-in-Macro-mode-is-visible-in-Micro-mode-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.8 KB
...-struct-c5639-de-is-visible-in-Macro-mode-when-hover-on-it-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.8 KB
...struct-10443-e-file-in-Macro-mode-is-visible-on-Micro-mode-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.93 KB
...-struct-36f81-board-in-Macro-mode-is-visible-in-Micro-mode-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+11.3 KB
...-struct-c463d-de-is-visible-in-Macro-mode-when-hover-on-it-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+14.2 KB
...struct-eab02-ode-is-visible-on-Macro-mode-when-hover-on-it-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.98 KB
...ed-in--7ae35--switch-to-Micro-mode-and-again-to-Macro-mode-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.03 KB
...ed-in--c5dca--switch-to-Micro-mode-and-again-to-Macro-mode-2-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+14.6 KB
...R-Group--8b476-nd-check-that-ABS-AND-and-OR-isn-not-appear-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+15.5 KB
...f-mono-e8311-ode-select-the-entire-structure-and-rotate-it-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.73 KB
...f-mono-ecee6-ntire-structure-and-move-it-to-a-new-position-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.63 KB
...-rings--447c0-added-in-Micro-mode-and-switch-to-Macro-mode-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.65 KB
...-rings--6dbf2-added-in-Micro-mode-and-switch-to-Macro-mode-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+15.8 KB
...-rings--b7c8c-added-in-Micro-mode-and-switch-to-Macro-mode-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.64 KB
...-rings--bade1--Tool-in-Micro-mode-and-switch-to-Macro-mode-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+14.8 KB
...rings--eff28--added-in-Micro-mode-and-switch-to-Macro-mode-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+38.4 KB
...ke-full-screen-mode-in-micro-mode-and-switch-to-macro-mode-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.84 KB
...s-in-macromo-f6740-d-as-CHEMs-with-generated-name-F1-F2-Fn-1-chromium-linux.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+16.4 KB
...MARTS-f-6fe0f-operties-and-query-properties-then-cut-paste-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+24 KB
...MARTS-f-f0e62-perties-and-query-properties-then-copy-paste-1-chromium-linux.png
Oops, something went wrong.
274 changes: 274 additions & 0 deletions
274
ketcher-autotests/tests/test-data/KET/benzene-rings-with-text.ket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,274 @@ | ||
{ | ||
"root": { | ||
"nodes": [ | ||
{ | ||
"$ref": "mol0" | ||
}, | ||
{ | ||
"$ref": "mol1" | ||
}, | ||
{ | ||
"type": "text", | ||
"data": { | ||
"content": "{\"blocks\":[{\"key\":\"5n1rk\",\"text\":\"Some Text\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}", | ||
"position": { | ||
"x": 9.825000000000001, | ||
"y": -7.050000000000001, | ||
"z": 0 | ||
}, | ||
"pos": [ | ||
{ | ||
"x": 9.825000000000001, | ||
"y": -7.050000000000001, | ||
"z": 0 | ||
}, | ||
{ | ||
"x": 9.825000000000001, | ||
"y": -7.4100000143051155, | ||
"z": 0 | ||
}, | ||
{ | ||
"x": 11.36417236328125, | ||
"y": -7.4100000143051155, | ||
"z": 0 | ||
}, | ||
{ | ||
"x": 11.36417236328125, | ||
"y": -7.050000000000001, | ||
"z": 0 | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "text", | ||
"data": { | ||
"content": "{\"blocks\":[{\"key\":\"mnuf\",\"text\":\"!@#$%^&QAagsetwfky\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}", | ||
"position": { | ||
"x": 14.600000000000001, | ||
"y": -9.675, | ||
"z": 0 | ||
}, | ||
"pos": [ | ||
{ | ||
"x": 14.600000000000001, | ||
"y": -9.675, | ||
"z": 0 | ||
}, | ||
{ | ||
"x": 14.600000000000001, | ||
"y": -10.035000014305115, | ||
"z": 0 | ||
}, | ||
{ | ||
"x": 17.972077560424808, | ||
"y": -10.035000014305115, | ||
"z": 0 | ||
}, | ||
{ | ||
"x": 17.972077560424808, | ||
"y": -9.675, | ||
"z": 0 | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"connections": [], | ||
"templates": [] | ||
}, | ||
"mol0": { | ||
"type": "molecule", | ||
"atoms": [ | ||
{ | ||
"label": "C", | ||
"location": [ | ||
9.63484915212857, | ||
-7.900074417174611, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
11.365150847871439, | ||
-7.899589229177208, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
10.501637509491244, | ||
-7.399966888850191, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
11.365150847871439, | ||
-8.900532067822152, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
9.63484915212857, | ||
-8.905020056798142, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
10.503820855479564, | ||
-9.400033111149817, | ||
0 | ||
] | ||
} | ||
], | ||
"bonds": [ | ||
{ | ||
"type": 2, | ||
"atoms": [ | ||
2, | ||
0 | ||
] | ||
}, | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
0, | ||
4 | ||
] | ||
}, | ||
{ | ||
"type": 2, | ||
"atoms": [ | ||
4, | ||
5 | ||
] | ||
}, | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
5, | ||
3 | ||
] | ||
}, | ||
{ | ||
"type": 2, | ||
"atoms": [ | ||
3, | ||
1 | ||
] | ||
}, | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
1, | ||
2 | ||
] | ||
} | ||
] | ||
}, | ||
"mol1": { | ||
"type": "molecule", | ||
"atoms": [ | ||
{ | ||
"label": "C", | ||
"location": [ | ||
13.734849152128573, | ||
-7.850074417174611, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
15.465150847871442, | ||
-7.849589229177207, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
14.601637509491248, | ||
-7.34996688885019, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
15.465150847871442, | ||
-8.85053206782215, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
13.734849152128573, | ||
-8.855020056798141, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
14.603820855479567, | ||
-9.350033111149816, | ||
0 | ||
] | ||
} | ||
], | ||
"bonds": [ | ||
{ | ||
"type": 2, | ||
"atoms": [ | ||
2, | ||
0 | ||
] | ||
}, | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
0, | ||
4 | ||
] | ||
}, | ||
{ | ||
"type": 2, | ||
"atoms": [ | ||
4, | ||
5 | ||
] | ||
}, | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
5, | ||
3 | ||
] | ||
}, | ||
{ | ||
"type": 2, | ||
"atoms": [ | ||
3, | ||
1 | ||
] | ||
}, | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
1, | ||
2 | ||
] | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.