mcdcorp / opentest

Open source test automation tool for web applications, mobile apps and APIs
https://getopentest.org
MIT License
453 stars 109 forks source link

Change default timeoutSec and explicitWaitSec in all actions #631

Closed ewmartinez closed 1 year ago

ewmartinez commented 1 year ago

Hi, This two actor parameters timeoutSec and explicitWaitSec can be changed on all actions? Like in

 action: org.getopentest.selenium.Click
  args:
    locator: { id: submit }
    explicitWaitSec: 20

In order to adjust to the application behavior and to mantain this two on low values on the actor defaults. This will improve the times that takes test execution if is used correctly.

adrianth commented 1 year ago

You can only do this for explicitWaitSec by providing a default in the actor.yaml file. See here.

ewmartinez commented 1 year ago

I know that, but in some cases I want to change that value only for specific steps. It would be good to have that posibility