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

Autotests: Expand macromolecules in micro mode #5773

Closed
16 tasks done
AlexeyGirin opened this issue Oct 16, 2024 · 0 comments · Fixed by #5824
Closed
16 tasks done

Autotests: Expand macromolecules in micro mode #5773

AlexeyGirin opened this issue Oct 16, 2024 · 0 comments · Fixed by #5824

Comments

@AlexeyGirin
Copy link
Collaborator

AlexeyGirin commented Oct 16, 2024

Source task(s):

Cases:

  • Verify that the "Expand Monomer" option is available in the right-click context menu over the monomer in micro mode
  • Verify that clicking on "Expand monomer" replaces the monomer abbreviation with its full structure of atoms and bonds grouped together
  • Verify that ambiguous monomers and unknown monomer couldn't be expanded
  • Verify that the structure bounding box of the expanded monomer is centered by the position of the previously collapsed monomer
  • Verify that square brackets are not present for expanded monomers and the monomer label is retained
  • Verify that the "Collapse monomer" option is present in the context menu over the expanded monomer
  • Verify that clicking "Collapse monomer" contracts the structure back to its abbreviation
  • Verify that the contracted monomer is positioned in the center of the bounding box, and adjacent atoms are moved back to their initial positions
  • Verify that collapsed macromolecules can be moved across the canvas
  • Verify that expanded macromolecules can be moved across the canvas
  • Verify that the system supports undo/redo functionality for expanding and collapsing monomers in micro mode
  • Verify that the system supports copy/paste functionality for collapsed monomers in micro mode
  • Verify that the system supports cut/paste functionality for collapsed monomers in micro mode
  • Verify that the system supports copy/paste functionality for expanded monomers in micro mode
  • Verify that the system supports cut/paste functionality for expanded monomers in micro mode
  • Verify that "Expand monomer" does not break cyclic structures when the ring is expanded
@AlexeyGirin AlexeyGirin linked a pull request Oct 19, 2024 that will close this issue
9 tasks
Zhirnoff pushed a commit that referenced this issue Oct 22, 2024
* First banch

* Second banch

* 3th banch

* MOve collapsed monomer

* Move in expanded state on Micro canvas

* copy-paste

* Last last fix

* fix

* Wait for render timeout modification

* last fix

* Micro fixes

* Last last fix

* llf 2

* Experiment with takeElementScreenshot timeout

* openSettings fix

* Unfinished work

* Autotests: #5773 - Expand macromolecules in micro mode

* Autotests: #5773 - Expand macromolecules in micro mode

* Last fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant