mcdcorp / opentest

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

Change default timeoutSec and explicitWaitSec in all actions #631

Closed ewmartinez closed 8 months ago

ewmartinez commented 10 months 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 10 months ago

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

ewmartinez commented 10 months 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