Skip to content

Commit 1572ac0

Browse files
author
elchnanarbiv
committed
increase timeout
1 parent c99ae63 commit 1572ac0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • checkmarx-ast-eclipse-plugin-tests/src/test/java/checkmarx/ast/eclipse/plugin/tests/ui

checkmarx-ast-eclipse-plugin-tests/src/test/java/checkmarx/ast/eclipse/plugin/tests/ui/BaseUITest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ public static void beforeClass() throws Exception {
5858
SWTBotPreferences.KEYBOARD_LAYOUT = "EN_US";
5959

6060
// Used to decrease tests velocity
61-
SWTBotPreferences.PLAYBACK_DELAY = 100;
61+
SWTBotPreferences.PLAYBACK_DELAY = 500;
6262

63-
SWTBotPreferences.TIMEOUT = 8000;
63+
SWTBotPreferences.TIMEOUT = 20000;
6464

6565
_bot = new SWTWorkbenchBot();
6666

@@ -205,11 +205,11 @@ protected static void waitWhileTreeNodeEqualsTo(String nodeText) throws TimeoutE
205205

206206
while (_bot.tree().getAllItems()[0].getText().equals(nodeText)) {
207207

208-
if (retryIdx == 10) {
208+
if (retryIdx == 20) {
209209
break;
210210
}
211211

212-
_bot.sleep(1000);
212+
_bot.sleep(1500);
213213

214214
retryIdx++;
215215
}
@@ -238,7 +238,7 @@ protected static void waitUntilBranchComboIsEnabled() throws TimeoutException {
238238

239239
while (!_bot.comboBox(1).isEnabled()) {
240240

241-
if (retryIdx == 10) {
241+
if (retryIdx == 15) {
242242
break;
243243
}
244244

0 commit comments

Comments
 (0)