Changeset 1429 for trunk/autoquest-htmlmonitor-test/src/test/java/de/ugoe
- Timestamp:
- 03/04/14 10:57:55 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-htmlmonitor-test/src/test/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorTest.java
r1342 r1429 423 423 assertNotNull(nodes); 424 424 425 // wait for only 9 nodes. The directly used GUI elements are 10, but one (the body) is the 426 // parent of the others. input9 is unused and must, therefore, not be logged. 427 assertEquals(9, nodes.size()); 425 // wait for all 10 GUI elements on the same page to be logged although only 9 are used 426 assertEquals(10, nodes.size()); 428 427 429 428 // get input nodes … … 433 432 assertTrue(node instanceof HTMLPageElement); 434 433 assertEquals("HTML", node.getPlatform()); 435 assertTrue(node.isUsed()); 434 435 if (!"input9".equals(((HTMLPageElement) node).getHtmlId())) { 436 assertTrue(node.isUsed()); 437 } 438 else { 439 assertFalse(node.isUsed()); 440 } 436 441 437 442 assertNotNull(guiModel.getChildren(node)); … … 462 467 assertEvent(sequence.get(7), 8, MouseClick.class, nodes.get(7), 255, 4); 463 468 assertEvent(sequence.get(8), 9, Scroll.class, body, 0, 0); 464 assertEvent(sequence.get(9), 10, MouseClick.class, nodes.get( 8), 516, 154);469 assertEvent(sequence.get(9), 10, MouseClick.class, nodes.get(9), 516, 154); 465 470 466 471 }
Note: See TracChangeset
for help on using the changeset viewer.