UNPKG

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.

21 lines (15 loc) 513 B
describe("alerts test suite", function () { beforeEach(function () { globals.readFixture(globals.fixturePath + 'alerts.html'); }); it('should not exist after dismiss', function (done) { var alertSelector = '.alert-danger.alert-dismissable'; var closeButton = $('.alert-danger.alert-dismissable button'); expect($(alertSelector)).toExist(); closeButton.click(); setTimeout(function () { expect($(alertSelector)).not.toExist(); done(); }, globals.wait); }); });