-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Dynamic tabs: use buttons rather than links (backport to v4) #33163
Conversation
5c35626
to
68ec2f7
Compare
Not sure why the tests are failing ... looks like some connection problem / not spinning up Chrome 88 headless browser instance? |
Something is wrong with the tests code changes, not sure what yet. EDIT: try using |
apart from adding one test (literally copying it from the previous one, but with different document to test on) and making minor tweaks to the others, i've not done anything new test-wise. wonder why it's now failing when before it was working fine without any tweaks necessary? |
I'll need a little assist from somebody who knows how the tests stuff actually works (and why all of a sudden it doesn't anymore despite what I thought were just minimal changes ... I probably broke something along the way, but don't know enough about qUnit to work out what exactly). @rohit2sharma95 perhaps? |
not sure if this of any help, but even trying to run the tests locally ends up spewing up errors
Not sure if this is something more than just the few tests I've tweaked...could it be a more fundamental change/problem with karma or something? |
FWIW I get karma failures (locally) even when trying to |
@patrickhlauke I guess you have Chrome or Firefox installed? |
I am also facing the same issue and it is not this PR specific. 🤔 |
I don't think it's related at least it works fine for me here with Chrome on Windows 10. The test failures are specific to this branch for me, like on CI. I can't comment for other OS'es. Unfortunately, we don't seem to have a debug script on v4-dev. And I cannot pinpoint which test file is causing the hang. |
66d9ed7
to
be9352d
Compare
I believe the core JS code doesn't support the new button markup. Or the markup used is wrong. |
be9352d
to
4c4fed9
Compare
Dynamic tabs: use buttons rather than links
4c4fed9
to
72d8864
Compare
OK, NVM the above comment. The added code is not right for sure.
|
i was going to say "duh, of course" ... but then mulling this over further, my command line runs in WSL under windows, and no in the ubuntu subsystem that this runs, I didn't have any browsers installed. urgh. but apparently it's not non-trivial to do, so leaving this for another night... |
that tweak in tab.js was actually missing in v5 - added it here #33257 |
Manual backport of #32630