diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-05-03 09:32:52 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-05-03 09:32:52 +0300 |
commit | 37cc75c4b73c23ca4318333fb095cb0b8f9add19 (patch) | |
tree | a4669bf1796dae6da677b51e4b8b346e9116b5a5 /ewww.yaml | |
parent | 67a3e4bcd9b6d79f5fec75f946bd48d20f469a03 (diff) | |
download | ewww-37cc75c4b73c23ca4318333fb095cb0b8f9add19.tar.gz |
Change: add a more realistic smoke test
Diffstat (limited to 'ewww.yaml')
-rw-r--r-- | ewww.yaml | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -16,12 +16,17 @@ - then: I get status code {code} function: status_code_is -- then: '(?P<header>\S+) is "(?P<value>.+)"' +- then: 'header (?P<header>\S+) is "(?P<value>.+)"' regex: true - function: fixme + function: http_header_is -- when: I create {filename} - function: fixme +- then: 'body is "(?P<body>.*)"' + regex: true + function: http_body_is + +- when: I create (?P<filename>\S+) with "(?P<content>.*)" + regex: true + function: create_file - when: I request {method} {url} function: request |