1.0.1 • Published 3 years ago
taiko-delay v1.0.1
taiko-delay
This is a small plugin to add a delay for each run step for
Taiko. This is useful if the delay time needs to be
controlled from an environment variable set once, instead of adding the
observe and observeTime options for openBrowser() in multiple source
files.
Usage
Install the plugin with npm.
npm install taiko-delayEnable the plugin in your list of taiko plugins:
export TAIKO_PLUGIN=delaySet the delay time in seconds for each run step:
export TAIKO_DELAY_SECONDS=<time in seconds>For example, setting the following will delay each step by 2 seconds:
export TAIKO_DELAY_SECONDS=2.0Run your taiko tests.