summaryrefslogtreecommitdiff
path: root/monkey-test/aborted-fetch.yaml
blob: 90a2ee1043d67d9351a81cebcb1824b94755104b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
title: Test we can hard-abort a fetch
group: initial
steps:
- action: launch
  language: en
  options:
  - enable_javascript=1
- action: window-new
  tag: win1

# Ensure we can load the page properly in the first place
- action: navigate
  window: win1
  url: http://test.netsurf-browser.org/cgi-bin/sleep.cgi
# Wait a full three seconds for the page to start loading properly
- action: sleep-ms
  time: 3000
  conditions: []
# Now stop dead and hope we don't see anything bad in the logs
- action: window-close
  window: win1
- action: quit