aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/modal.js
AgeCommit message (Collapse)AuthorFilesLines
2018-10-18test: ensure .navbar-fixed-* padding on modal openAndrew Luca1-0/+76
2018-09-28Use BrowserStack for our unit tests.Johann-S1-3/+16
2015-12-22js/tests/unit/modal.js: Fix typoChris Rebert1-1/+1
[ci skip]
2015-05-05Comply to the new JSCS rules.XhmikosR1-9/+9
2015-03-25rm redundant aria-hidden usage from Modals; fixes #16020Chris Rebert1-28/+0
2015-03-09Disable jQuery event aliases when running test suiteChris Rebert1-11/+11
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-03Merge pull request #15961 from kkirsche/ImplementAssertExpectHeinrich Fenkart1-0/+24
[Fixes #15953] Implement assert.expect in each unit test
2015-03-03[Fixes #15953] Implement assert.expect in each unit testKevin Kirsche1-0/+24
[Fixes #15953] Implement `assert.expect` in each unit test
2015-03-03Modal: Fix backdrop not readjusting when height changesHeinrich Fenkart1-2/+2
Fixes #15136. Closes #15345. Closes #15314. Refs #14724, #14927.
2015-02-26Unit tests: Use new names of module hooksHeinrich Fenkart1-2/+2
Refs #15893
2015-02-26Modal: Apply any preexisting body padding again after closingnakupanda1-0/+77
2015-02-24fix 2 typos in modal unit test assertion messagesChris Rebert1-2/+2
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-23JS unit tests: use QUnit.module() & QUnit.test() everywhereChris Rebert1-20/+20
[skip validator]
2015-02-23JS unit tests: use modern QUnit assert object everywhereChris Rebert1-38/+38
2015-01-20tweak 'close reopened modal' unit test to work under new QUnit APIChris Rebert1-2/+7
2015-01-20update JS unit tests to future-proof QUnit 1.16.0 APIChris Rebert1-42/+42
[skip validator]
2014-10-09fixes #13816 Modal dialog closes when dragging and releasing mouse button ↵fat1-2/+2
outside dialog
2014-07-30Revert "Use mousedown instead of click for backdrop click detection; fixes ↵Heinrich Fenkart1-2/+2
#13816"
2014-07-06Clean modal unit tests upHeinrich Fenkart1-84/+63
2014-07-06Merge pull request #13855 from hnrch02/modal-mousedownJacob1-2/+2
Use mousedown instead of click for backdrop click detection; fixes #13816
2014-07-01Only close modal if escape was hit with keydown; fixes #13929Heinrich Fenkart1-0/+38
2014-07-01Use mousedown instead of click for backdrop click detection; fixes #13816Heinrich Fenkart1-2/+2
2014-06-07Merge pull request #13388 from twbs/xhmikosr-js-styleXhmikosR1-2/+3
Improve JS style
2014-06-06Merge pull request #13627 from twbs/maybe-fix-12364Chris Rebert1-0/+51
Hopefully fixes trigger focus restoration on modal close
2014-06-06Comply to the new style.XhmikosR1-2/+3
2014-05-19Hopefully a fix for #12364Chris Rebert1-0/+51
* register the callback before invoking the toggling * listen for `hidden` instead of `hide` * account for the possibility of the associated `show` event being preventDefault-ed Adds relevant unit tests.
2014-05-19fix typo in assertion descriptionChris Rebert1-1/+1
2014-04-21#11464 - Fix JS noConflict mode - Refactor all plugins to use an internal ↵Collin Donahue-Oponski1-23/+32
reference to the jQuery plugin, because in noConflict mode you can never expect to be defined on the jQuery object
2014-04-19quote attribute values in selectors in JS unit tests for consistencyChris Rebert1-2/+2
2014-04-03replace $.bind() with $.on() in unit tests; per #13272Chris Rebert1-5/+5
2014-02-14Re-indent test files.XhmikosR1-189/+189
2014-01-16new qunitfat1-4/+3
2013-12-08Use single quotes consistently.XhmikosR1-76/+76
2013-12-06Use a space after function consistently.XhmikosR1-7/+7
2013-08-17fixes #9362fat1-0/+19
2013-08-10fixes #9111Jacob Thornton1-140/+161
2013-07-17fix #7660fat1-0/+19
2013-05-22fixes #6898: typo in modal testMark Otto1-4/+4
2013-05-16change namespace back to dot notation and someother js shizzlefat1-13/+13
2013-05-16fix testsfat1-14/+14
2013-05-16a bunch javascript junkfat1-0/+137