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

#3208 - Structure disappears after pressing 'Layout' and the app crashes #3245

Conversation

chgayane
Copy link
Collaborator

@chgayane chgayane commented Sep 4, 2023

How the feature works?
Structure disappears after pressing Layout and an atom appears in the left corner of canvas.

How did you fix the issue?
Checking if the label is an object before attempting to set its 'path' property.

Ketcher.v2.14.0.Vite.-.Google.Chrome.2023-09-04.14-13-07.mp4

Check list

  • unit-tests written
  • e2e-tests written
  • documentation updated
  • PR name follows the pattern #1234 – issue name
  • branch name doesn't contain '#'
  • PR is linked with the issue
  • base branch (master or release/xx) is correct
  • task status changed to "Code review"
  • reviewers are notified about the pull request

@chgayane chgayane linked an issue Sep 4, 2023 that may be closed by this pull request
Gayane Chilingaryan and others added 2 commits September 4, 2023 14:44
…n the "Edit" or "Query properties" tab in the context menu disappears when clicking on the canvas (#3237)

* #3224 - Appearing label near the Template after choosing any option in the "Edit" or "Query properties" tab in the context menu disappears when clicking on the canvas

* Forbid ".only" tests in CI environment
@chgayane chgayane marked this pull request as ready for review September 4, 2023 11:04
KonstantinEpam23 and others added 4 commits September 4, 2023 13:35
* #3170 – Autotests: Reduce the number of tests with 'fixme'

* #3170 – fixed tests for reagents, reduced timeout for pipelines

* #3170 – removed fixme for functiona-groups and salts and solvents tests
* 3169 - Autotests for Open and Save InChi format

* #3169 - updated snapshots

* 3169 - adding waitForIndigoToLoad, kebab case for data-testids

* #3169 - removed only

* #3169 - resolved case-sensitivity conflict

* #3169 - fixed ci_enviroment false statement

---------

Co-authored-by: Gayane Chilingaryan <[email protected]>
// Related Github issue: https://github.com/epam/ketcher/issues/3208
await openFileAndAddToCanvas('Molfiles-V2000/sbs_48.mol', page);
await selectTopPanelButton(TopPanelButton.Layout, page);
await takeEditorScreenshot(page);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, might need to wait for Indigo here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to wait for some time after pressing the layout button to check if the structure has disappeared, if the button immediately arranges structures in place?

Zhirnoff and others added 6 commits September 5, 2023 15:03
* - added tests for 'charge tool';
- added 1 test file;
- added expected snapshots

* - moved test files to folders

* - added ignored hotkeys to 'hotkeys.ts';
- deleted 'delay'

* - deleted 'delay' from import

* - changed name of folder 'Ket' to 'KET'

* - updated snapshot

* - updated expected snapshots;
- added folder path to some tests;
- delete 'fixme' from some tests

* - updated snapshots;
- code refactoring;
- added 'INPUT_DELAY' to functions 'cutAndPaste' and 'copyAndPaste'

* - deleted duplicate folder with tests

* -updated snapshots;
- fixed some tests

* - updated snapshots;
- fixed some tests

* - fix 1 test

* - fixed some tests;
- removed 'fixme' and 'skip'

* - updated snapshot
…-app-crashes' of https://github.com/epam/ketcher into 3208-structure-disappears-after-pressing-layout-and-the-app-crashes
@chgayane chgayane closed this Sep 6, 2023
@chgayane chgayane deleted the 3208-structure-disappears-after-pressing-layout-and-the-app-crashes branch September 6, 2023 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Structure disappears after pressing 'Layout' and the app crashes
5 participants