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: Display molecules in macro mode: basic structures with atoms and bonds #5914

Open
3 of 26 tasks
AlexeyGirin opened this issue Nov 5, 2024 · 0 comments
Open
3 of 26 tasks
Milestone

Comments

@AlexeyGirin
Copy link
Collaborator

AlexeyGirin commented Nov 5, 2024

Source task(s):

  • Display molecules in macro mode: basic structures with atoms and bonds #5359

  • Verify that all types of bonds (single, double, triple) are correctly displayed in macro mode

  • Verify that carbon atoms are not displayed in macro mode, but hydrogen atoms are displayed with a subscript showing valence

  • Verify that hydrogen labels appear correctly before or after the atom label when valence exceeds the number of connections in macro mode

  • Verify that connection points between monomers and molecules can be created by drawing bonds in macro mode

  • Verify that bond lines between atoms do not overlap in any angle in macro mode

  • Verify that connections between monomers and molecules are maintained correctly in both micro and macro modes

  • Verify that switching between micro and macro modes displays molecules without structural changes

  • Verify that bonds between atoms appear with correct lengths and angles when displayed in macro mode

  • Verify that deleting an atom in macro mode removes it along with all connected bonds without distorting the molecule structure

  • Verify that deleting a bond in macro mode removes the bond while maintaining the integrity of the surrounding structure

  • Verify that the Undo tool restores an atom deleted in macro mode to its original position, along with all connected bonds

  • Verify that the Redo tool re-applies an atom or bond deletion after an Undo operation in macro mode

  • Verify that deleting a group of atoms and bonds in macro mode can be undone, and the entire group is restored to its original state

  • Verify that after Undo, the structure's bonds and atoms return to their exact original position without any loss of integrity

  • Verify that the structure in macro mode can be saved as a .ket file, and all elements including bonds and atoms are correctly restored when re-loaded

  • Verify that the structure in macro mode can be saved as a .mol file, and upon re-loading, all atoms and bonds are correctly displayed

  • Verify that the structure in macro mode can be saved as a (Sequence, FASTA, IDT, SVG, HELM) file, and upon re-loading, all atoms and bonds are correctly displayed

  • Verify that a selection of atoms and bonds in macro mode can be copied and pasted to a new location on the canvas

  • Verify that after copying a selection in macro mode, pasting it multiple times places the structure correctly at each new location

  • Verify that a selection of atoms and bonds in macro mode can be cut and pasted to a new location on the canvas, and the original structure is removed

  • Verify that after cutting a selection in macro mode, undoing the operation restores the original structure to its initial location

  • Verify that after pasting a copied or cut structure, undoing the operation removes the newly placed structure

  • Verify that a pasted structure can be reselected and further copied or cut to a new location

  • Verify that using the "Ctrl+X" (Cut), "Ctrl+C" (Copy), and "Ctrl+V" (Paste) shortcuts in macro mode works as expected

  • Verify that after copying or cutting a selection of atoms and bonds in macro mode, the pasted structure retains the same connections and labels

  • Verify that copy and paste operations work for circular macromolecular structures without distorting the bonds or atoms

@AlexeyGirin AlexeyGirin added this to the Autotests milestone Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant