Monkey tests: Add more example test plans.

This commit is contained in:
Michael Drake 2018-11-03 16:49:58 +00:00
parent 90e4976800
commit 7cc1f1bfc0
4 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,30 @@
title: resource scheme
group: basic
steps:
- action: launch
language: en
- action: window-new
tag: win1
- action: navigate
window: win1
url: resource:does-not-exist
- action: block
conditions:
- window: win1
status: complete
- action: plot-check
- text-contains: Not found
- text-contains: Error 404
- action: navigate
window: win1
url: resource:netsurf.png
- action: block
conditions:
- window: win1
status: complete
- action: plot-check
- bitmap-count: 1
- action: window-close
- window: win1
- action: quit

View File

@ -0,0 +1,35 @@
title: simultanious page fetches
group: real-world
steps:
- action: launch
language: en
- action: window-new
tag: win1
- action: window-new
tag: win2
- action: window-new
tag: win3
- action: window-new
tag: win4
- action: navigate
window: win1
url: http://www.bbc.co.uk/news
- action: navigate
window: win2
url: http://www.amazon.co.uk/
- action: navigate
window: win3
url: http://www.theregister.co.uk/
- action: navigate
window: win4
url: http://www.arstechnica.co.uk/
- action: block
conditions:
- window: *all*
status: complete
- action: window-close
window: win1
- action: window-close
window: win2
- action: quit

View File

@ -0,0 +1,6 @@
title: start and stop browser
group: basic
steps:
- action: launch
- action: quit

View File

@ -0,0 +1,8 @@
title: start and stop browser without JS
group: basic
steps:
- action: launch
args:
- enable_javascript=0
- action: quit