aboutsummaryrefslogtreecommitdiff
path: root/js/tests
AgeCommit message (Collapse)AuthorFilesLines
2020-11-18Update karma.conf.js (#32182)XhmikosR1-1/+1
When we are on CI, this statement won't be reached.
2020-11-17Handle Chromium to run Karma (#32178)Gaƫl Poupard1-1/+5
* chore(karma): handle Chromium to run tests * Update karma.conf.js Co-authored-by: XhmikosR <[email protected]>
2020-11-16BrowserStack: test both on iPhone 7 and iPhone X (#32154)XhmikosR1-3/+10
2020-11-14Switch to Number propertiesXhmikosR1-6/+6
2020-11-14Fix `.close` instances (#32152)XhmikosR5-35/+15
2020-11-14Get only bs prefixed data attributesRohit Sharma1-18/+2
2020-11-14Add `bs` in data attributesRohit Sharma28-381/+397
- Add `bs` in data APIs everywhere - Update unit tests
2020-11-09modal.html: use `textContent` (#32101)XhmikosR1-1/+1
We are not handling any HTML
2020-11-09karma.conf.js: break lines (#32093)XhmikosR1-2/+8
2020-11-05Remove the now unneeded polyfills.XhmikosR12-21/+0
2020-11-05Drop Legacy Edge support.XhmikosR1-7/+0
This allows us to move forward without being held back. Microsoft already replaces the Legacy Edge with the new one on supported Windows versions.
2020-11-02tests: tweak Jasmine usage (#32046)XhmikosR4-9/+9
* jasmine/expect-matcher * jasmine/prefer-jasmine-matcher Found with `eslint-plugin-jasmine`
2020-11-02tests: fix sanitizer test. (#32045)XhmikosR1-1/+1
The test template does not include a `script` tag so the test always returned true.
2020-11-02tests: switch to using `toContain()` to check for substring presence (#32043)XhmikosR2-5/+5
2020-11-01karma: stop excluding polyfill.js from istanbul (#30740)XhmikosR1-5/+5
2020-11-01Fix TypeError when Bootstrap is included in `head` (#32024)Sascha1-0/+19
* extend jquery after domContentLoaded event is fired * add unittest for util onDOMContentLoaded * wait for trigger jquery event after domContentLoaded * remove domcontentready from eventHandler * move istanbul ignore statements to correct line Co-authored-by: XhmikosR <[email protected]>
2020-11-01Check for data-interval on the first slide of carousel (#31818)Mitchell Bryson1-8/+34
* check for data-interval on the first slide of carousel * add updateInterval method for elements of a carousel * add test for carousel interval being set during cycle * update activeElement as soon as slide has finished (before transition end) * only updateInterval before using it Co-authored-by: XhmikosR <[email protected]>
2020-10-31toast.spec.js: fix typo (#32026)XhmikosR1-2/+2
2020-10-30Remove obsolete prefixes (#32012)XhmikosR1-2/+0
2020-10-22Move `href` attribute first (#31835)XhmikosR12-12/+12
2020-10-14Remove redundant visually hidden "(current)" from pagination controls (#31892)Patrick H. Lauke2-2/+2
* Replace visually hidden span with aria-current in tests * Remove redundant visually hidden "(current)" when `aria-current` already used Closes #31891
2020-10-05Remove `Manipulator.toggleClass` (#31842)XhmikosR1-26/+0
It's only used in one place so it makes more sense to remove it for the time being.
2020-09-24fix tooltip hide method when already hidden (#31115)Hiws1-0/+14
Co-authored-by: XhmikosR <[email protected]>
2020-07-11Clear timeout before showing the toast (#31155)Rohit Sharma1-0/+27
* clear timeout before showing the toast * Add unit test * Remove the check for timeout * Check for clearTimeout to have been called Co-authored-by: XhmikosR <[email protected]>
2020-07-07Update to `@rollup/plugin-node-resolve` v8.1.0. (#31249)XhmikosR2-4/+5
2020-07-03Rename `sr-only`/`sr-only-focusable` (#31139)Patrick H. Lauke4-11/+11
* Rename `sr-only`/`sr-only-focusable` To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133 Co-authored-by: XhmikosR <[email protected]>
2020-06-25BrowserStack: stop testing on latest Edge. (#31125)XhmikosR1-7/+0
It's Chromium-based so it seems redundant.
2020-06-25Prevent overflowing static backdrop modal animation (#30326)Shohei Yoshida1-0/+19
Co-authored-by: XhmikosR <[email protected]>
2020-06-19Change whitelist to allowlist (#31066)Patrick H. Lauke1-7/+7
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2020-06-18Fix tooltip when hovering a children element (delegateTarget) (#30928)Tanguy Krotoff1-0/+22
Co-authored-by: XhmikosR <[email protected]>
2020-06-17data: reword storage key in domJohann-S1-7/+7
2020-06-16Rename "master" to "main". (#31050)XhmikosR1-1/+1
2020-06-16Fix a broken link and a redirect. (#31045)XhmikosR1-1/+1
2020-06-15Remove checkbox/radio toggle from button plugin in favor of a CSS only solutionMartijn Cuppens1-161/+0
2020-06-09Remove .nav-item from .nav-link to make it consistentRohit Sharma1-5/+5
- Closes #28423
2020-06-04Add role="dialog" in modals via JavaScript (#30936)Rohit Sharma2-4/+10
2020-05-26Update to `@rollup/plugin-babel` (#30742)XhmikosR2-9/+6
2020-05-18Fix some easy Markdown linting issuesMark Otto1-6/+6
- Always use dashes for bullets - Add some basic alt text for our readme OC sponsors
2020-05-12coverage: ignore node_modulesXhmikosR1-1/+5
2020-05-12Add a test about the scrollbar issue on non-integer widthDominik Kremer1-0/+32
2020-05-11Add missing closing `div` tags (#30775)XhmikosR1-28/+28
Missed those in 967e607
2020-05-11Removed role="document" from the modal dialog (#30755)Rohit Sharma1-3/+3
2020-05-06tests: streamline HTML end tags (#30648)XhmikosR10-124/+130
2020-05-06add unit tests to ensure our plugins works in jqueryJohann-S2-1/+72
2020-05-05BrowserStack: test Edge 16 too (#30725)XhmikosR1-0/+7
2020-05-05Revert "Update karma.conf.js"XhmikosR1-5/+0
This reverts commit b8abded0afe78519c4c2a185d30e8cf245ed243f.
2020-05-04Move babel whitelist helpers to a common file (#30723)XhmikosR1-8/+2
2020-05-04Update karma.conf.jsXhmikosR1-0/+5
Use the recommended karma-browserstack-launcher settings
2020-05-04Clean up lint rules (#30721)XhmikosR1-1/+3
* Remove unneeded rule suppression * Format tests/unit/.eslintrc.json * build/.eslintrc.json: add strict for consistency
2020-04-24Remove caret element (#30633)Tanguy Krotoff1-1/+1