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: Add support for opening structures in CDX format embedded into MS PowerPoint #4016

Closed
12 tasks done
AlexeyGirin opened this issue Feb 2, 2024 · 0 comments · Fixed by #4185
Closed
12 tasks done
Assignees
Milestone

Comments

@AlexeyGirin
Copy link
Collaborator

AlexeyGirin commented Feb 2, 2024

Description:
Bunch of test cases validates that user can load molecules from CDX format embedded into MS PowerPoint

Implementation blocked by:

Test case 1:

  • User can import canvas with 50 big molecules from .pptx file
  1. Clear canvas
  2. Load from: 50 mols on 1 canvas.pptx
  3. In appeared dialog select Structure 1
  4. Validate preview area
  5. Press Open as New Project button
  6. Validate canvas

Test case 2:

  • User can import from .pptx file with 1000 single molecules
  1. Clear canvas
  2. Load from: 1000 moleculs.pptx
  3. In appeared dialog - Validate it has 1000 structures in list
  4. Select last structure from the list (Structure 1000)
  5. Press Open as New Project button
  6. Validate canvas

Test case 3:

  • User can import from .pptx file with lots of different types of content
  1. Clear canvas
  2. Load from: BigPPT (79 molecules and many objects).pptx
  3. In appeared dialog - Validate it has 79 structures in list
  4. Navigate every Structure in list and Validate every preview area

Test case 4:

  • User can import from .pptx file with CDX content containing basic ChemDraw 15.0 object: Arrows
  1. Clear canvas
  2. Load from: ARROWS.pptx
  3. In appeared dialog - Validate it has 14 structures in list
  4. Navigate every Structure in list and Validate every preview area
  5. Select first structure in list
  6. Press Open as New Project button
  7. Validate canvas
  8. Clear canvas
  9. Repeat for every structure

Test case 5:

  • User can import from .pptx file with CDX content containing basic ChemDraw 15.0 object: Brackets
  1. Clear canvas
  2. Load from: Brackets.pptx
  3. In appeared dialog - Validate Preview area
  4. Press Open as New Project button
  5. Validate canvas

Test case 6:

  • User can import from .pptx file with CDX content containing basic ChemDraw 15.0 object: Chromotography tools
  1. Clear canvas
  2. Load from: Chromotography tools.pptx
  3. In appeared dialog - Validate Preview area
  4. Press Open as New Project button
  5. Validate canvas

Test case 7:

  • User can import from .pptx file with CDX content containing basic ChemDraw 15.0 object: Geometry figures
  1. Clear canvas
  2. Load from: Geometry figures.pptx
  3. In appeared dialog - Validate Preview area
  4. Press Open as New Project button
  5. Validate canvas

Test case 8:

  • User can import from .pptx file with CDX content containing basic ChemDraw 15.0 object: Orbitals
  1. Clear canvas
  2. Load from: Orbitals.pptx
  3. In appeared dialog - Validate Preview area
  4. Press Open as New Project button
  5. Validate canvas

Test case 9:

  • User can import from .pptx file with CDX content containing basic ChemDraw 15.0 object: Text messages
  1. Clear canvas
  2. Load from: Text messages.pptx
  3. In appeared dialog - Validate Preview area
  4. Press Open as New Project button
  5. Validate canvas

Test case 10:

  • User can import from .pptx file with CDX content containing basic ChemDraw 15.0 object: Pluses and minuses
  1. Clear canvas
  2. Load from: Pluses and minuses.pptx
  3. In appeared dialog - Validate Preview area
  4. Press Open as New Project button
  5. Validate canvas

Test case 11:

  • User can import from .pptx file with CDX content containing basic ChemDraw 15.0 object: Tables
  1. Clear canvas
  2. Load from: Tables.pptx
  3. In appeared dialog - Validate Preview area
  4. Press Open as New Project button
  5. Validate canvas

Test case 12:

  • User can import from .pptx file with CDX content containing basic ChemDraw 15.0 object: Attachment points
  1. Clear canvas
  2. Load from: Attachment points.pptx
  3. In appeared dialog - Validate Preview area
  4. Press Open as New Project button
  5. Validate canvas
@AlexeyGirin AlexeyGirin added this to the Autotests milestone Feb 2, 2024
@AlexeyGirin AlexeyGirin changed the title Add support for opening structures in CDX format embedded into MS PowerPoint Autotests: Add support for opening structures in CDX format embedded into MS PowerPoint Feb 21, 2024
AlexeyGirin added a commit that referenced this issue Mar 1, 2024
@AlexeyGirin AlexeyGirin reopened this Mar 4, 2024
AlexeyGirin added a commit that referenced this issue Mar 8, 2024
…bedded into MS PowerPoint (#4185)

* Added autotests for opening structures in CDX format embedded into MS PowerPoint (#4016) and related screenshots

* Added fix for spinner (now all spinners are recognized by waitForSpinnerFinishedWork)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants