summaryrefslogtreecommitdiff
path: root/monkey-test/authentication-http.yaml
blob: cd15397b6b6e45ad229aebc2009b7484118c78a5 (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
title: Test the 401 login functionality
group: http-auth
steps:
- action: launch
  language: en
- action: window-new
  tag: win1
- action: add-auth
  url: http://test.netsurf-browser.org/cgi-bin/auth.cgi?user=foo&pass=bar
  realm: Fake Realm
  username: foo
  password: bar
- action: navigate
  window: win1
  url: http://test.netsurf-browser.org/cgi-bin/auth.cgi?user=foo&pass=bar
- action: block
  conditions:
  - window: win1
    status: complete
- action: plot-check
  window: win1
  checks:
  - text-contains: "result=GOOD"
- action: window-close
  window: win1
- action: quit