diff options
-rw-r--r-- | test/netsurf/monkey-test-plans.mdwn | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/netsurf/monkey-test-plans.mdwn b/test/netsurf/monkey-test-plans.mdwn index ae16a83..7c54c76 100644 --- a/test/netsurf/monkey-test-plans.mdwn +++ b/test/netsurf/monkey-test-plans.mdwn @@ -55,17 +55,17 @@ Examples A test will fail if NetSurf exits with a non-zero return code. -```yaml +[[!format yaml """ title: start and stop browser group: basic steps: - action: launch - action: quit -``` +"""]] There are `launch` and `quit` actions. -```yaml +[[!format yaml """ title: start and stop browser without JS group: basic steps: @@ -73,11 +73,11 @@ steps: args: - enable_javascript=0 - action: quit -``` +"""]] Use actions to get the browser to do things. -```yaml +[[!format yaml """ title: resource scheme group: basic steps: @@ -107,13 +107,13 @@ steps: - action: window-close - window: win1 - action: quit -``` +"""]] Can make multiple windows fetch stuff at the same time, without block actions. -```yaml +[[!format yaml """ title: simultanious page fetches group: real-world steps: @@ -148,12 +148,12 @@ steps: - action: window-close window: win2 - action: quit -``` +"""]] Can quit during navigate, to check cleanup in intermediate states. Note: this requires the test to run multiple times. -```yaml +[[!format yaml """ title: quitting mid-fetch group: cleanup steps: @@ -175,11 +175,11 @@ steps: status: complete breaks: sleepytimer - action: quit -``` +"""]] Can start and stop timers. -```yaml +[[!format yaml """ title: cache test group: performance steps: @@ -214,4 +214,4 @@ steps: - action: timer-check condition: timer2 < timer1 - action: quit -``` +"""]] |