From b5ac5a342124aec4b1de35922c00d71cba2a7b57 Mon Sep 17 00:00:00 2001 From: Jorge Moratinos Salcines Date: Mon, 16 Dec 2024 16:33:01 +0100 Subject: [PATCH] Check location header hostname --- tests/resources/common.resource | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/resources/common.resource b/tests/resources/common.resource index d80b3a3..45396e9 100644 --- a/tests/resources/common.resource +++ b/tests/resources/common.resource @@ -58,6 +58,7 @@ Check Location Header ${event_url}= Parse Url ${resp.headers['Location']} Should Match Regexp ${event_url.path} ${regular_expression} + Should Match Regexp ${event_url.netloc} ^${CAPIF_HOSTNAME}(:[0-9]+)?$ RETURN ${event_url} Check Event Location Header -- GitLab