aboutsummaryrefslogtreecommitdiff
path: root/js/tests
AgeCommit message (Collapse)AuthorFilesLines
2015-03-10Fixed proper navigation element selection on backward scrolling (from the ↵Maxim Andrukhovych1-0/+46
bottom to the top)
2015-03-09Disable jQuery event aliases when running test suiteChris Rebert10-64/+104
To ensure that we don't accidentally use any of the aliases. This should prevent any future regressions from #12761. Also updates the test suite since it now can't use these aliases either.
2015-03-09Merge pull request #16011 from twbs/fix-15315Chris Rebert1-4/+31
.collapse('hide') on hidden uninit-ed collapsible no longer shows it
2015-03-07add togglable scrollbar-inducing content to Modal visual testChris Rebert1-0/+18
2015-03-07add static navbar to Modal visual testChris Rebert1-0/+23
2015-03-06Merge pull request #15999 from twbs/kkirsche-includeTestsReadmeChris Rebert1-0/+61
Document JS test suite basics
2015-03-06[Fixes #15951] Document JS test suite basicsKevin Kirsche1-0/+61
X-Ref: #15953 Closes #15952 by merging a tweaked version of it. [skip sauce] [skip validator]
2015-03-06Collapse unit test: rm check that no-op hide adds style="height: 0px"Chris Rebert1-2/+1
Appears to be unnecessary and is broken by #16011, which is otherwise quite sane.
2015-03-06.collapse('hide') on hidden uninit-ed collapsible no longer shows it; fixes ↵Chris Rebert1-2/+30
#15315 Thanks to @peterblazejewicz & @Nikita240 Adds unit tests based on #14417 X-Ref: #14282 Closes #15807
2015-03-03Hiding an uninitialized tooltip/popover no longer initializes it; fixes #15874Chris Rebert2-0/+24
2015-03-03Merge pull request #15961 from kkirsche/ImplementAssertExpectHeinrich Fenkart12-4/+198
[Fixes #15953] Implement assert.expect in each unit test
2015-03-03[Fixes #15953] Implement assert.expect in each unit testKevin Kirsche12-4/+198
[Fixes #15953] Implement `assert.expect` in each unit test
2015-03-03Modal: Fix backdrop not readjusting when height changesHeinrich Fenkart2-4/+38
Fixes #15136. Closes #15345. Closes #15314. Refs #14724, #14927.
2015-03-02Merge pull request #15970 from twbs/the-future-is-now-qunitChris Rebert1-0/+28
Disable deprecated QUnit global methods
2015-03-02Disable es3 for tests and customizer.js.XhmikosR1-0/+1
2015-03-01Disable deprecated global QUnit method aliases to prevent backsliding on ↵Chris Rebert1-0/+28
QUnit v2 readiness
2015-03-01Merge pull request #15955 from twbs/fixture-on-screen-iosChris Rebert1-6/+11
Unit tests: Only display fixture on-screen for iOS
2015-03-01Merge pull request #15593 from ↵Chris Rebert1-0/+38
neoeno/handle_multiple_zero_offset_scrollspy_elements Handle multiple zero-offset Scrollspy elements.
2015-03-01Handle multiple zero-offset Scrollspy elements.Caden Lovelace1-0/+38
When the first two elements in a scrollspy content block have a document offset of zero (i.e. they're hard against the top of the page), Scrollspy would switch between them on every scroll event. This could happen, for example, in a system of nested sections: ``` <section id="animals"> <section id="dogs"> Content </section> </section> ``` This ocurred because Scrollspy's check to see if it's at the end of the array of sections uses `!arr[index]`. This misses the case where `arr[index]` does exist and is zero. This commit explicitly checks the array bounds.
2015-03-01Unit tests: Only display fixture on-screen for iOSHeinrich Fenkart1-6/+11
Since only on iOS tests fail when the fixture is displayed off-screen, see https://travis-ci.org/twbs/bootstrap/jobs/52605742
2015-03-01Use different way to make failing test more visible in SauceHeinrich Fenkart1-4/+0
2015-02-26Update all collapse triggers with .collapsed class and aria-expandedIvan Cheung1-3/+71
Fixes #15741 Closes #15751 by merging it.
2015-02-25QUnit.jsDump => QUnit.dumpChris Rebert1-2/+2
Refs http://qunitjs.com/upgrade-guide-2.x/#replace-qunit-jsdump-with-qunit-dump
2015-02-25Use QUnit.log(...) instead of QUnit.log = ...Chris Rebert1-2/+2
Refs http://qunitjs.com/upgrade-guide-2.x/#replace-qunit-log-callback-with-qunit-log-callback-for-all-reporting-callbacks
2015-02-26Unit tests: Use new names of module hooksHeinrich Fenkart11-22/+22
Refs #15893
2015-02-26Modal: Apply any preexisting body padding again after closingnakupanda1-0/+77
2015-02-26Dropdowns: Skip `.disabled` instead of `.divider` on keydown eventvsn4ik1-0/+21
Fixes #15147. Closes #15520 by merging it.
2015-02-24fix 2 typos in modal unit test assertion messagesChris Rebert1-2/+2
2015-02-25Dropdown unit tests: Tiny style changesHeinrich Fenkart1-3/+5
2015-02-24Merge pull request #15904 from kkirsche/patch-8Chris Rebert1-0/+47
Closes #15904
2015-02-24Add unit test of aria-expanded to dropdown suiteKevin Kirsche1-0/+47
Redo of #15876
2015-02-24Add tests for aria-hidden of modalKevin Kirsche1-0/+26
Add tests for `aria-hidden` of modal Use strictEqual of 1 here instead of 2 asserts
2015-02-24Merge pull request #15893 from twbs/qunit-modernChris Rebert11-600/+600
Modernize QUnit usage by avoiding usage of global functions
2015-02-23JS unit tests: equal() => strictEqual()Chris Rebert7-90/+90
[skip validator]
2015-02-23upgrade to QUnit v1.17.1Chris Rebert2-5/+5
[skip validator]
2015-02-23JS unit tests: use QUnit.module() & QUnit.test() everywhereChris Rebert11-204/+204
[skip validator]
2015-02-23JS unit tests: use modern QUnit assert object everywhereChris Rebert11-504/+504
2015-01-28Merge pull request #15496 from twbs/15484-alternativeChris Rebert2-0/+13
Make $(document).tooltip({...}) without a `selector` throw an error
2015-01-20tweak 'close reopened modal' unit test to work under new QUnit APIChris Rebert1-2/+7
2015-01-20fix bug in tab show/shown relatedTarget unit testChris Rebert1-1/+1
2015-01-20update JS unit tests to future-proof QUnit 1.16.0 APIChris Rebert11-226/+226
[skip validator]
2015-01-19Update QUnit to v1.17.0.XhmikosR2-549/+972
2015-01-07Update jQuery to v1.11.2.XhmikosR1-4/+5
2015-01-05Make $(document).tooltip({...}) without a `selector` throw an errorChris Rebert2-0/+13
Closes #15484
2014-12-29Revert "Allow multiple delegated tooltip selectors on a node"Chris Rebert2-61/+0
This reverts commit 1b3237629a316af41945e20837cf3a332798b264. This reverts PR #14189 because it caused major regressions. Fixes #15168. We'll try to revisit #14167's feature request in Bootstrap v4. [skip validator]
2014-12-29Remove semicolons from #15425 because fatChris Rebert1-3/+3
2014-12-29Add regression test for #14244.Chris Rebert1-0/+38
Special thanks to @programcsharp [skip validator]
2014-11-28Fix copy/paste errorDan Dascalescu1-1/+1
2014-11-20fix affix-top unit test to properly clean up after itselfChris Rebert1-0/+1
2014-11-17add unit test for affix-top for padding issueNick O'Donoghue1-0/+29