summaryrefslogtreecommitdiff
path: root/test/monkey-tests/401login.yaml
blob: a9a74cd10fde3ba84feb3d6f66468dec6900de96 (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
29
30
31
32
33
34
35
36
37
38
title: Test the 401 LOGIN functionality
group: real-world
steps:
- action: launch
  language: en
- action: window-new
  tag: win1
- action: navigate
  window: win1
  url: https://httpbin.org/basic-auth/foo/bar
- action: block
  conditions:
  - window: win1
    status: complete
- action: plot-check
  window: win1
  checks:
  - text-not-contains: "\"authenticated\": true"
- action: add-auth
  url: https://httpbin.org/basic-auth/foo/bar
  realm: Fake Realm
  username: foo
  password: bar
- action: navigate
  window: win1
  url: https://httpbin.org/basic-auth/foo/bar
- action: block
  conditions:
  - window: win1
    status: complete
- action: plot-check
  window: win1
  checks:
  - text-contains: "\"authenticated\": true"
- action: window-close
  window: win1
- action: quit