mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-03 01:29:33 +00:00
make score correction URL inline delete test more robust;
adding a 1s sleep shall overcome what probably are event loop timing issues in an asynchronous GWT RPC communication and redraw/update cycle.
This commit is contained in:
1 parent
343d87d42f
commit
dc19890c81
1 file changed
+2
-1
+2
-1
@@ -35,11 +35,12 @@ public class TestConnectorsResultImportUrls extends AbstractSeleniumTest {
|
||||
}
|
||||
|
||||
@SeleniumTestCase
|
||||
public void testUrlInlineDeletion() {
|
||||
public void testUrlInlineDeletion() throws InterruptedException {
|
||||
final ResultImportUrlsPanelPO resultImportUrlsPanel = goToResultImportUrlsPanel();
|
||||
resultImportUrlsPanel.selectUrlProviderByLabel(TEST_URL_PROVIDER_LABEL);
|
||||
// add
|
||||
resultImportUrlsPanel.addUrl(TEST_URL);
|
||||
Thread.sleep(1000); // give event loop time tonrender table
|
||||
resultImportUrlsPanel.removeWithInlineButton(TEST_URL);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user