Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added more tests for tagger

  • Loading branch information...
commit 58ea65de1abdcfd009176242872110c8258973d2 1 parent f2671b6
@pulkit110 authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  tests/js/ImageEditorTests.js
View
3  tests/js/ImageEditorTests.js
@@ -246,6 +246,9 @@ https://github.com/fluid-project/infusion/raw/master/Infusion-LICENSE.txt
jqUnit.isVisible("The tag remove button is visible", ".fl-tagger-annotation-action-remove");
jqUnit.isVisible("The tag text div is visible", ".fl-tagger-annotation");
jqUnit.assertEquals("The tag text is correctly set", tagText, $(".fl-tagger-annotation").get(0).textContent);
+
+ $(".fl-tagger-annotation-action-remove").click();
+ jqUnit.assertEquals("Tag count is zero", 0, imageEditor.tagger.getNbAnnotations());
});
Please sign in to comment.
Something went wrong with that request. Please try again.