From f33db7d4429f14c215933c28853813c46f97f11e Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 16 Feb 2019 10:56:28 +0000 Subject: Monkey: Support 401login in the monkey-driver et al. Signed-off-by: Daniel Silverstone --- test/monkey-tests/401login.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 test/monkey-tests/401login.yaml (limited to 'test/monkey-tests/401login.yaml') diff --git a/test/monkey-tests/401login.yaml b/test/monkey-tests/401login.yaml new file mode 100644 index 000000000..a9a74cd10 --- /dev/null +++ b/test/monkey-tests/401login.yaml @@ -0,0 +1,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 + -- cgit v1.2.3