patternfly
Version:
This reference implementation of PatternFly is based on [Bootstrap v3](http://getbootstrap.com/). Think of PatternFly as a "skinned" version of Bootstrap with additional components and customizations.
22 lines (15 loc) • 501 B
JavaScript
describe("accordion test suite", function () {
beforeEach(function () {
globals.readFixture(globals.fixturePath + 'accordions.html');
});
it('should add the "in" class after accordion collapsed', function (done) {
var accordion = $('a[href="#collapseTwo"]');
var collapse = $('#collapseTwo');
expect(collapse).not.toHaveClass('in');
accordion.click();
setTimeout(function () {
expect(collapse).toHaveClass('in');
done();
}, globals.wait);
});
});