Skip to content

Commit 326a7e3

Browse files
Copilotsofthack007
andcommitted
Fix README.md scenario example to use correct Wokwi format
- Add 'name' field to scenario example (required) - Change 'sleep: 5000' to 'delay: 5s' with time units - Add note about time units being required - Matches correct Wokwi v0.19.1 scenario format Co-authored-by: softhack007 <[email protected]>
1 parent c4584a5 commit 326a7e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/wokwi/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,13 @@ cd test/wokwi
121121
You can create your own scenario files in YAML format:
122122

123123
```yaml
124+
name: "Custom Test"
124125
version: 1
125126
timeout: 15000 # milliseconds
126127

127128
steps:
128129
- name: "Description of step"
129-
sleep: 5000 # wait 5 seconds
130+
delay: 5s # wait 5 seconds (note: time units required!)
130131
```
131132
132133
The scenario will fail if:

0 commit comments

Comments
 (0)