File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,9 @@ def jsondump(data):
81
81
82
82
TIMEOUT = {
83
83
'LOCATE_ELEMENT' : 30 ,
84
- 'FLASH_FAIL' : 30
84
+ 'FLASH_FAIL' : 30 ,
85
+ 'VERIFY' : 30 ,
86
+ 'FLASH' : 30 ,
85
87
}
86
88
87
89
DEFAULT_USER_AGENT_FIREFOX = 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 codebender-selenium'
Original file line number Diff line number Diff line change 4
4
from selenium .webdriver .support .ui import WebDriverWait
5
5
import pytest
6
6
7
- from codebender_testing .config import TEST_PROJECT_NAME
7
+ from codebender_testing .config import TEST_PROJECT_NAME , TIMEOUT
8
8
from codebender_testing .utils import SeleniumTestCase
9
9
from codebender_testing .utils import SELECT_BOARD_SCRIPT
10
10
from codebender_testing .utils import throttle_compile
11
11
12
12
13
13
# How long to wait before we give up on trying to assess the result of commands
14
- VERIFY_TIMEOUT = 30
15
- FLASH_TIMEOUT = 30
14
+ VERIFY_TIMEOUT = TIMEOUT [ 'VERIFY' ]
15
+ FLASH_TIMEOUT = TIMEOUT [ 'FLASH' ]
16
16
17
17
# Board to test for the dropdown selector.
18
18
TEST_BOARD = "Arduino Fio"
You can’t perform that action at this time.
0 commit comments