diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2018-11-03 14:19:59 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2018-11-03 14:19:59 +0000 |
commit | cf4ad25530b99b103351f26dc4a8afaac4244b79 (patch) | |
tree | 38ce5b2b42f5dfa1fa021af641ebd5079c030a30 /test | |
parent | 17a60dddbf02922a2de11357038ef5c47acac6ff (diff) | |
download | netsurf-wiki-cf4ad25530b99b103351f26dc4a8afaac4244b79.tar.gz netsurf-wiki-cf4ad25530b99b103351f26dc4a8afaac4244b79.tar.bz2 |
Try formatting
Diffstat (limited to 'test')
-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 -``` +"""]] |