Descriptiontest-domado-events in any flavor occasionally has 2 failures because
of a timing issue.
The test driver gets a list of all clickable elements, clicks on
each one, then repeats that process.
testHandlerAttributeArguments as written requires two different
click handlers to fire before it passes.
How it fails:
- driver gets list of elements, including elem1 and elem2
- driver clicks elem1, which doesn't have a click handler installed yet
- jsunit runs testHandlerAttributeArguments, which installs the handlers
- driver clicks elem2, triggering half of the pass condition
- driver rescans for elements to click, including elem1 and elem2
- driver clicks elem1, triggering the other half of the pass condition
- driver clicks elem2, triggering pass a second time, which is an error
the fix is to split the test into two separate tests
Patch Set 1 #
MessagesTotal messages: 3
|
|||||||||||||||||||