Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #12390 from PatrickDallarosa/master
Browse files Browse the repository at this point in the history
Added unit testing for issue #8208
  • Loading branch information
nethip committed May 17, 2016
2 parents 00517d0 + 4bf7e85 commit 681069f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/spec/FindInFiles-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2282,6 +2282,19 @@ define(function (require, exports, module) {
});
});
});

describe("Disclosure Arrows", function () {

it("should expand/collapse items when clicked", function () {
showSearchResults("foo", "bar");
runs(function () {
$(".disclosure-triangle").click();
expect($("#items").is(":style")).toBeFalsy();
$(".disclosure-triangle").click();
expect($("#items").is(":style")).toBeTruthy();
});
});
});
});
});
});
Expand Down

0 comments on commit 681069f

Please sign in to comment.