Increase the default explicit_wait and page_timeout values
It seems that our testing environment is becoming slower and slower every day, and we are now getting test errors because a page didn't load in time, or a modal didn't load. Increasing the timeouts should help with that. Change-Id: Ib2fc75ae87cdcbfc2da77bead75c71aba387ad3a
This commit is contained in:
parent
20bdaa3867
commit
e001a590db
@ -113,13 +113,13 @@ SeleniumGroup = [
|
|||||||
'It is used for every find_element, find_elements call.')),
|
'It is used for every find_element, find_elements call.')),
|
||||||
cfg.IntOpt(
|
cfg.IntOpt(
|
||||||
'explicit_wait',
|
'explicit_wait',
|
||||||
default=90,
|
default=180,
|
||||||
help=('Explicit timeout is used for long lasting operations, '
|
help=('Explicit timeout is used for long lasting operations, '
|
||||||
'Methods using explicit timeout are usually prefixed with '
|
'Methods using explicit timeout are usually prefixed with '
|
||||||
'"wait"')),
|
'"wait"')),
|
||||||
cfg.IntOpt(
|
cfg.IntOpt(
|
||||||
'page_timeout',
|
'page_timeout',
|
||||||
default=60,
|
default=120,
|
||||||
help='Timeout in seconds to wait for a page to become available'),
|
help='Timeout in seconds to wait for a page to become available'),
|
||||||
cfg.StrOpt(
|
cfg.StrOpt(
|
||||||
'screenshots_directory',
|
'screenshots_directory',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user