diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-12-01 18:23:39 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-12-01 18:24:34 +0000 |
commit | 09f6c50980f12a57ac79a8af8993b196e66d64f5 (patch) | |
tree | 90918c48c7b218d4c52f6c08ed0e43e42e230529 /test/monkey-tests | |
parent | 92caa16cfcd10ecc2024972fbef740fbdbd3254b (diff) | |
download | netsurf-09f6c50980f12a57ac79a8af8993b196e66d64f5.tar.gz netsurf-09f6c50980f12a57ac79a8af8993b196e66d64f5.tar.bz2 |
monkey: Support testing page info state
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'test/monkey-tests')
-rw-r--r-- | test/monkey-tests/state-test.yaml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/test/monkey-tests/state-test.yaml b/test/monkey-tests/state-test.yaml new file mode 100644 index 000000000..6f25a78d4 --- /dev/null +++ b/test/monkey-tests/state-test.yaml @@ -0,0 +1,69 @@ +title: Page state info test +group: basic +steps: +- action: launch + language: en +- action: window-new + tag: win1 +- action: navigate + window: win1 + url: about:config +- action: block + conditions: + - window: win1 + status: complete +- action: page-info-state + window: win1 + match: INTERNAL +- action: navigate + window: win1 + url: file:/// +- action: block + conditions: + - window: win1 + status: complete +- action: page-info-state + window: win1 + match: LOCAL +- action: navigate + window: win1 + url: http://test.netsurf-browser.org/html/trivial-document.html +- action: block + conditions: + - window: win1 + status: complete +- action: page-info-state + window: win1 + match: INSECURE +- action: navigate + window: win1 + url: https://test.netsurf-browser.org/html/trivial-document.html +- action: block + conditions: + - window: win1 + status: complete +- action: page-info-state + window: win1 + match: SECURE +- action: navigate + window: win1 + url: https://test.netsurf-browser.org/html/trivial-document-with-png.html +- action: block + conditions: + - window: win1 + status: complete +- action: page-info-state + window: win1 + match: SECURE +- action: navigate + window: win1 + url: https://test.netsurf-browser.org/html/trivial-document-with-http-png.html +- action: block + conditions: + - window: win1 + status: complete +- action: page-info-state + window: win1 + match: SECURE_ISSUES +- action: quit + |