BVT/DRT timeout values | jeckels | 2010-01-07 15:36 |
Status: Closed | ||
Hi Brian, I think there are two common kinds of waits in the tests. The first is a longer wait, specified by the defaultWaitForPage constant, that is how long we'll wait for a full page to come back from the server. The second is a shorter, sometimes specified by WAIT_FOR_GWT and sometimes as a hard-coded constant. It's how long we wait for the page to respond to an event that won't change the URL to change. For example, waiting for the page to respond to a button click inside of a GWT action that will modify the DOM. WAIT_FOR_GWT should probably be renamed to something like WAIT_FOR_JAVASCRIPT and used in more places - GWT pages, ExtJS pages, plain JavaScript, etc. I don't think it's useful to distinguish between the specific flavor of JavaScript that's running. Thanks, Josh |
||