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

Add automated tests for common use cases #224

Open
5 tasks
gaurav opened this issue Nov 10, 2021 · 0 comments
Open
5 tasks

Add automated tests for common use cases #224

gaurav opened this issue Nov 10, 2021 · 0 comments
Assignees
Labels
difficulty: hard Will take a while to close (>5 days) programming only No discussion necessary; just pure programming needed

Comments

@gaurav
Copy link
Member

gaurav commented Nov 10, 2021

Look into Vue.js' testing support to ensure that a few common user cases are tested:

  • An example file can be opened and the phyloreferences and phylogenies examined.
    • Additionally, the phyloreferences can be navigated to and edited. Editing the phyloreference causes the "you have edited this document" warning to appear, and undoing the change causes this error message to disappear (see Reactivate ModifiedCard to warn users about exporting the Phyx file #166).
    • Additionally, the phyloreferences can be resolved using JPhyloRef, and the results of the resolution visible in both the Phyloref View and on the individual Phyloreference views.
  • A new phyloreference can be created. If an invalid phyloreference is entered (e.g. without an internal specifier), a warning appears, which disappears when the problem is corrected.
  • A new phylogeny can be created. If an invalid Newick string is entered, an error message appears, which disappears when the Newick string is corrected.

See #85 (comment) for suggestions on using Selenium to run these tests.

@gaurav gaurav added programming only No discussion necessary; just pure programming needed difficulty: hard Will take a while to close (>5 days) labels Nov 10, 2021
@gaurav gaurav added this to the Improve automated testing milestone Nov 10, 2021
@gaurav gaurav self-assigned this Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: hard Will take a while to close (>5 days) programming only No discussion necessary; just pure programming needed
Projects
None yet
Development

No branches or pull requests

1 participant