summaryrefslogtreecommitdiff
path: root/monkey-test/load-png.yaml
blob: e850e55c1414966dc85d0bc9cf788aeaff403338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
title: load a png file
group: basic
steps:
- action: launch
  language: en
- action: window-new
  tag: win1
- action: navigate
  window: win1
  url: https://test.netsurf-browser.org/cgi-bin/image.cgi?format=png&width=40&height=30
- action: block
  conditions:
  - window: win1
    status: complete
- action: plot-check
  window: win1
  checks:
  - bitmap-count: 1
- action: navigate
  window: win1
  url: resource:netsurf.png
- action: block
  conditions:
  - window: win1
    status: complete
- action: window-close
  window: win1
- action: quit