Change default timeouts in integration tests

First, increase page_timeout to one minute, which should help in case
of a first couple of tests waiting for Apache workers to "warm up".

Second, reduce explicit_wait to 90 seconds (from 5 minutes), because
if something in Horizon doesn't complete in 90 seconds, then almost
for sure it won't complete in 5 minutes as well and only will spend
time, which is limited for integration tests.

Change-Id: Icb0767146fdb2682dca237ee18bbc4c3c8d976d0
Closes-Bug: #1592349
This commit is contained in:
Timur Sufiev 2016-06-14 13:47:20 +03:00
parent 947b9f5b42
commit eecb8bfe14
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ help_url=http://docs.openstack.org/
[selenium]
# Timeout in seconds to wait for a page to become available
# (integer value)
page_timeout=30
page_timeout=60
# Output directory for screenshots.
# (string value)
@ -27,7 +27,7 @@ implicit_wait=10
# methods using explicit timeout are usually prefixed with 'wait',
# those methods ignore implicit_wait when looking up web elements.
# (integer value)
explicit_wait=300
explicit_wait=90
# Maximize the browser window at the start of each test?
# (boolean)