I currently have 40 tests with approximately 200 assertions running. When all of them are run, the same two are almost always failing. Run individually, or with about half of all the available tests, they pass. The total running time is typically 8-10 seconds.

If I run *all* the tests with the developer console open (set up so that the browser cache is not used), the same two tests *always* fail - the total running time is closer to 30 seconds).

Almost all of these tests involve the following steps:

1. (re)set some default values2. define the following: var done =assert.async();3. load some files using ajax calls, with async set to false; I'm running these tests locally, using Python http.server.4. executing some code using eval() on the content of one of these files. (Most often, it is Brython's exec() which is used; Brython translates Python code in the browser into Javascript and executes it. As such, it is slower than simply using eval() on some pure javascript code.)5. check some assertions6. end the test with a call to done().

By inspecting closely the result, I found that, when a test has failed, the code run by exec/eval appeared to have been cut short - as though the state was corrupted by another test running (but this may be a red herring). [For example: a successful run would create an array containing 360 objects but a failed one, with the same test, would create an array containing less than 300 objects.]

Questions:1. am I using async()/done() correctly?2. Any suggestion as to what could be done to fix this?

I have a jQuery UI dialog that has enough content to trigger the appearance of vertical scroll bars. I found that the only way to make it scroll was to either click-and-drag the scrollbar, or click in the scrollbar area - i.e. it was not possible to make it scroll using the PgUp or PgDn keys, nor the arrow keys or spacebar, etc. What would be the best way to enable keyboard activated scrolling?

Hi everyone,I've just started using jquery and a few plugins including cluetips:they are wonderful! :-)Now, my question. I am using cluetips to display the content of ashort help file on some elements. Many elements are such that theirhelp file differ only slightly. What I would like to is create a file(common.html) containing elements that are common, and even shorterfiles for each element (let's call them elem1.html, elem2.html,etc.). Then, I'd be happy if I could do either of the following:1. when displaying a cluetip, appending common.html to elem1.htmlautomatically, and displaying the result.2. having an active element within elem1.html (let's call it "more")and using "more" as the source of a new cluetip, used to pullcommon.html. (I don't want to have it displayed as a separate webpage, losing focus; a popup might be acceptable).Thanks for any help,André