wttech/bobcat

Bobcat ignoring explicitTimeout in config.yaml

DeChrish opened this issue · 5 comments

Config YML

default:
properties:
proxy.enabled: false
proxy.ip: 127.0.0.1
proxy.port: 9000
timings.implicitTimeout: 1 # in seconds
timings.explicitTimeout: 50 # in seconds
timings.pollingInterval: 500 # in milliseconds
page.title.timeout: 30
allure.report: true
allure.create.enviroment: true
contexts: [chrome,locator,dev]

Environment

Bobcat version:
6.4

Bobcat modules used:

  • bb-core

Browser + version:
any

Expected Behavior

Should have waited for 50 seconds

Actual Behavior

Time elapsed: 44.613 s <<< ERROR!
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of BobcatWebElement(Proxy element for: DefaultElementLocator 'By.cssSelector: #userid') (tried for 10 second(s) with 500 milliseconds interval)
Caused by: org.openqa.selenium.NoSuchElementException:
no such element: Unable to locate element: {"method":"css selector","selector":"#userid"}

Steps to reproduce

@mkrzyzanowski if i pass from command line - it accepts the new timeout value; Pl guide

@Shaihuludus pl check what is wrong?

Hi @DeChrish,
indeed the properties are ignored 🤦‍♂. I'm going to fix this and include it in the next release (which may happen next week :)).

Hello,
When is this going to be released?

Released in 2.1.0