-
-
Notifications
You must be signed in to change notification settings - Fork 79k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug #16980 #17735
Fix bug #16980 #17735
Conversation
Tests failed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: BUSTED Commit: 7c089f3 (Please note that this is a fully automated comment.) |
@twbs-savage Retry |
Tests passed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED Commit: 7c089f3 (Please note that this is a fully automated comment.) |
@Pletron Please add a relevant unit test to the test suite. See https://github.com/twbs/bootstrap/tree/master/js/tests for details. |
@cvrebert There is an issue with creating a unit test for this particular bug fix. The fix addresses an issue that can only be replicated when running a I can write the unit test with the workaround, but it is completely obsolete for this purpose. What do you suggest? |
Use bootstrap/js/tests/unit/tab.js Line 203 in 79cdd66
|
Tests failed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: BUSTED Commit: 6386cf2f14853b3231b4540996b05d6bbdbb3cde (Please note that this is a fully automated comment.) |
Hmm, actually, sounds like this involves transitions, in which case a unit test won't work because the test suite runs with transitions disabled. Guess this will need to be a manual visual test (https://github.com/twbs/bootstrap/blob/master/js/tests/visual/tab.html ) instead. |
@cvrebert Yeah, tested it there with the existing code through the console and it works fine. How would you suggest that I write the test there? To test i ran: |
Tests failed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: BUSTED Commit: 7c089f3 (Please note that this is a fully automated comment.) |
Add another section to |
Tests failed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: BUSTED Commit: 8c1bfd7 (Please note that this is a fully automated comment.) |
Sauce failure is due to an unrelated Sauce error. |
@cvrebert Yes, seems like issues with Sauce. Anything more I can do here? |
No, just needs code review now. |
Sorry, got the PR numbers mixed up. |
Bootstrap 3 is no longer being officially developed or supported. All work has moved onto our next major release, v4. As such, this issue or pull request is being closed as a "won't fix." For additional help and support, we recommend utilizing our community resources. Thanks for your understanding, and see you on the other side of v4! <3, |
Added a check if there are more than one tab active, make the one with highest index inactive.