summaryrefslogtreecommitdiff
path: root/monkey-test
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2021-02-07 22:58:39 +0000
committerVincent Sanders <vince@kyllikki.org>2021-02-07 22:58:39 +0000
commit37e0afc97d64c0c73fa38c06dadf7de4659147be (patch)
tree39a17d9f08e1f5f79a27f3cc02dec4134ff84387 /monkey-test
parentaffedad2a5fe033099e9cf76b9a2188a1e9c9225 (diff)
downloadnetsurf-test-37e0afc97d64c0c73fa38c06dadf7de4659147be.tar.gz
netsurf-test-37e0afc97d64c0c73fa38c06dadf7de4659147be.tar.bz2
add test for list styles
Diffstat (limited to 'monkey-test')
-rw-r--r--monkey-test/ns-infrastructure/index.yaml3
-rw-r--r--monkey-test/ns-infrastructure/list-style.yaml93
2 files changed, 96 insertions, 0 deletions
diff --git a/monkey-test/ns-infrastructure/index.yaml b/monkey-test/ns-infrastructure/index.yaml
index eb4612e..3b3070e 100644
--- a/monkey-test/ns-infrastructure/index.yaml
+++ b/monkey-test/ns-infrastructure/index.yaml
@@ -15,3 +15,6 @@
- group: jquery
description: Basic jQuery tests
+
+- group: list-style
+ description: Test list styles
diff --git a/monkey-test/ns-infrastructure/list-style.yaml b/monkey-test/ns-infrastructure/list-style.yaml
new file mode 100644
index 0000000..79e1fa7
--- /dev/null
+++ b/monkey-test/ns-infrastructure/list-style.yaml
@@ -0,0 +1,93 @@
+title: Test list styling
+group: list-style
+steps:
+- action: launch
+ language: en
+- action: window-new
+ tag: win1
+- action: navigate
+ window: win1
+ url: https://test.netsurf-browser.org/cgi-bin/ordered-list.cgi?liststyle=decimal&listcount=10000
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ area: extent
+ checks:
+ - text-contains: "1 1."
+ - text-contains: "9999 9999."
+- action: navigate
+ window: win1
+ url: https://test.netsurf-browser.org/cgi-bin/ordered-list.cgi?liststyle=lower-roman&listcount=10000
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ area: extent
+ checks:
+ - text-contains: "1 i."
+ - text-contains: "3999 mmmcmxcix."
+ - text-contains: "4000 4000."
+ - text-contains: "9999 9999."
+- action: navigate
+ window: win1
+ url: https://test.netsurf-browser.org/cgi-bin/ordered-list.cgi?liststyle=upper-roman&listcount=10000
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ area: extent
+ checks:
+ - text-contains: "1 I."
+ - text-contains: "3999 MMMCMXCIX."
+ - text-contains: "4000 4000."
+ - text-contains: "9999 9999."
+- action: navigate
+ window: win1
+ url: https://test.netsurf-browser.org/cgi-bin/ordered-list.cgi?liststyle=lower-alpha&listcount=10000
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ area: extent
+ checks:
+ - text-contains: "1 a."
+ - text-contains: "9999 nto."
+- action: navigate
+ window: win1
+ url: https://test.netsurf-browser.org/cgi-bin/ordered-list.cgi?liststyle=upper-alpha&listcount=10000
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ area: extent
+ checks:
+ - text-contains: "1 A."
+ - text-contains: "9999 NTO."
+- action: navigate
+ window: win1
+ url: https://test.netsurf-browser.org/cgi-bin/ordered-list.cgi?liststyle=lower-greek&listcount=10000
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ area: extent
+ checks:
+ - text-contains: "1 α."
+ - text-contains: "9999 ρθο."
+- action: window-close
+ window: win1
+- action: quit
+