aboutsummaryrefslogtreecommitdiff
path: root/js/tests
AgeCommit message (Collapse)AuthorFilesLines
2020-04-01Always modal scroll top to 0ysds1-8/+8
2020-03-31Use unordered lists in dropdown-menusMartijn Cuppens3-44/+44
2020-03-29Remove `MSPointerEvent` and `ms-touch-action` in tests (#30463)XhmikosR1-5/+4
2020-03-29Use `textContent` instead of `innerText`. (#30462)XhmikosR1-1/+1
It's supported by all of our supported browsers.
2020-03-28Remove holder.js leftovers (#30469)XhmikosR1-3/+3
2020-03-28v5 tabs - accessibility issue when using ul/li semanticLaussel Loïc4-56/+52
Add aria-role presentation on li element when ul element has role tablist and remove dropdown from visual tests as they've been removed from doc
2020-03-25fix babel config in our filesJohann-S1-0/+1
2020-03-25fix: remove make array util function (#30430)Johann-S7-38/+18
2020-03-23Use next dropdown menu instead of first of the parentMartijn Cuppens2-27/+66
2020-03-18Remove Internet Explorer leftoversXhmikosR1-6/+0
2020-03-18Remove IE compatibility JS codeJohann-S1-7/+0
2020-03-18fix: ensure `totype` always returns stringified null/undefined when ↵Johann-S1-1/+30
null/undefined is passed (#30383)
2020-03-09`prev()` function fails when non-element nodes are present (#30117)Martijn Cuppens1-0/+15
The `prev()` function doesn't take nodes other than elements into account. Also we could simplify things a lot using the `previousElementSibling` property. This property isn't fully supported in IE, it only works for elements, but since the `element` variable is an element, we can safely use it here. I've also added an additional test. I don't think we had this issue in v4, since we relied on jQuery back then. Ref. https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/nextElementSibling
2020-02-10Corrected grammatical error in test descriptions (#30150)yonikohen1-2/+2
"without instantiate it" should be "without instantiating it"
2020-02-01tests: Remove button `href`s (#30119)Martijn Cuppens1-50/+50
2020-01-10Close modal with keyboard=true & backdrop=static (#29986)Giovanni Mendoza1-0/+58
* Close modal with keyboard=true & backdrop=static
2019-12-25Switch to @rollup/plugin-commonjs (#29907)XhmikosR1-1/+1
2019-12-25Switch to @rollup/plugin-node-resolve (#29851)XhmikosR2-2/+2
2019-10-31Update normalizeDataKey to match the spec (#29609)Steffen Roßkamp1-10/+10
2019-10-25Added animation when modal backdrop is static (#29516)Higor Araújo dos Anjos1-0/+27
2019-10-17Skip hidden dropdowns while focusing (#29523)Jeremy Jackson1-0/+37
2019-10-09Rename "js/tests/units" to "js/tests/unit". (#29503)XhmikosR20-5/+5
2019-10-03add modularity integration testJohann-S2-0/+24
2019-10-03return to the original file structure to avoid breaking modularityJohann-S20-51/+9169
2019-08-29Minor lint tweaks. (#29328)XhmikosR2-7/+5
2019-07-29remove underscore for static methodsJohann-S2-5/+5
2019-07-24add polyfill.js in visual tests (#29116)Johann-S11-0/+11
2019-07-23rewrite tab unit testsJohann-S3-620/+0
2019-07-23use qunit css for our fixtureJohann-S1-1/+5
2019-07-23rewrite scrollspy unit testsJohann-S1-743/+0
2019-07-23rewrite tooltip unit testsJohann-S1-1257/+0
2019-07-23rewrite popover unit testsJohann-S1-474/+0
2019-07-23rewrite modal unit testsJohann-S1-816/+0
2019-07-23rewrite toast unit testsAnton Bershanskiy1-329/+0
2019-07-23rewrite dropdown unit testsJohann-S2-1497/+3
2019-07-23rewrite collapse unit testsJohann-S1-905/+0
2019-07-23rewrite carousel unit testsJohann-S2-1371/+3
2019-07-23rewrite button unit testsJohann-S2-225/+18
2019-07-23rewrite unit tests for selector engineJohann-S1-77/+0
2019-07-23rewrite manipulator unit testsAnton Bershanskiy1-128/+0
2019-07-23Switch from QUnit to Jasmine.Johann-S8-890/+112
2019-07-20Fix Typos across Bootstrap repository (#29082)Kitten King1-1/+1
2019-07-17updated babelJohann-S1-10/+0
2019-07-14Fix dropdown unit test (#29037)Patrick H. Lauke1-3/+4
swap jQuery's `trigger(...)` with the more verbose native `dispatchEvent(...)`, as the former may not always behave/bubble correctly (observed while trying to write unit tests for keyboard handling of ARIA tab navigation), which may lead to this test passing even though it fails in real usage.
2019-06-25Port new unit test for dropdown from v4 (#28913)Patrick H. Lauke1-0/+25
Add unit test from #28912 to v5
2019-06-19Closing dropdown with ESC correctly sets focus to toggle (#28928)Patrick H. Lauke1-0/+39
Just firing the focus event isn't enough ... need to actually call the proper `focus()` method for it to actually do it...
2019-05-16toast should allow prevent default for hide and show eventsJohann-S1-0/+71
2019-05-08Documentation tweaks (#28679)Martijn Cuppens1-1/+1
* Documentation tweaks * Remove redundant col-12 classes
2019-05-08Rename `eventHandler` and `selectorEngine` files.XhmikosR14-25/+25
2019-05-08improve build plugin script to keep file nameJohann-S1-2/+2