EOL / cukestone

Capstone 2011 EOL acceptance test tool
1 stars 1 forks source link

[JavaScript tests] Curator #29

Open Fedhell opened 13 years ago

Fedhell commented 13 years ago
* Open curation box on a page with > 9 images.  Paginate images. Does the curation dialog go away? Try the same for attribution.
* Curation:
      o Cancel button should close the window.
      o For text, the close button should close it's box.
      o Clicking on trust/untrust should close/open the list of reasons.
      o Submit should post via ajax.  Icons should be updated appropriately, image backgrounds should be updated appropriately.
      o Adding a comment should... uhhh... add a comment.
* Common Names:
      o Clicking on the "view/edit" link next to the common name at the top of the page (h2) should load the TOC item and jump to that part of the page.
      o Adding a common name should ask for confirmation and proceed with an ok; it should stop on cancel.
      o Changing the preferred name should reload the page automatically.
      o Changing the trust state of any common name (note that you can only "delete" names you have added yourself--those don't count) should change the background color of the row accordingly and use Ajax to make the change (and re-load the drop-down in the last cell, though this behavior is superfluous and will eventually be removed).
* Curator Central:
      o Curator should be able to:
            + change the vetted status and it should also be reflected via the color scheme(i.e. yellow, red and white for unreviewed, untrusted and trusted respectively). It should also reflect via the color scheme on the species page for the same image too.
            + add the comment through the comment box (available in the interface for each image) and by clicking the comment icon as well.
      o Clicking on the image should open the image data object in the overlay box. The credit captions shouldn’t overlap the credit values in the overlay box.
      o Clicking the taxon name in the worklist or in the image overlay box should open the species page with the same image in new tab/window(depends on the browser and browser settings)
      o Clicking on the comment icon should open the comment slide-box. Closing the comment slide-box (with the "x") should work.
      o Clicking the submit button in comment slide-box should do nothing if comment is empty; otherwise, it should disable the button, show a spinner, and submit.
      o The comment-count on the comment icon should get updated for each addition of comment on image via comment box in the interface or from the comment overlay box.
      o Add 11 comments to an image data object, then paginate back and forth. While paginating through comments, the comment-count should remain same(it should show the total number of comments).
      o After curating an image in the worklist, curator credit should appear on the species page.
      o Comment count on the comment icon to should be in the black(instead of blue) color.