Skip to content

Commit

Permalink
Merge pull request #34 from softrams/readme-update-timeout
Browse files Browse the repository at this point in the history
Update README for timeout, pkg updates
  • Loading branch information
mkmurali authored Aug 6, 2023
2 parents ee8bfb6 + 2fe6c75 commit 4ada862
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 129 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ APP_ROOT_URL = <Your Application Root URL>
And that's it. Start writing tests. You can check all available steps in the lib folder.
Here is a sample test showing some of the steps available

### Sleep after every scenario

Sometimes you may want to pause after every scenario to allow for some cleanup or to reset the state of the application.
You can do this by setting the _sleep_after_scenario_ property in your env/default/default.properties file.
The value is in milliseconds. As an example, the following statement will pause for 5 seconds after every scenario.

```zsh
# Set the value of sleep after scenario in milliseconds
sleep_after_scenario = 5000
```

## Sample Test Scenario

- Emulate device "iPad Pro landscape"
Expand Down
Loading

0 comments on commit 4ada862

Please sign in to comment.