taiko-delay
v1.0.1
Published
This is a small plugin to add a delay for each run step for [Taiko](https://taiko.dev/). 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 `openBrow
Downloads
8
Readme
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-delay
Enable the plugin in your list of taiko plugins:
export TAIKO_PLUGIN=delay
Set 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.0
Run your taiko tests.