From 0fb8fe928b9ca6f907d532789038f8b8fdcca42c Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 6 Mar 2025 11:22:32 -0700 Subject: chore: add script to run manual tests --- bin/e2e | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 bin/e2e (limited to 'bin') diff --git a/bin/e2e b/bin/e2e new file mode 100755 index 00000000..bcc2b67c --- /dev/null +++ b/bin/e2e @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e +BROWSER="w3m" + +if [ -n "${DEBUG}" ]; then + set -x + BROWSER="xdg-open" +fi + +curl http://idp.example.com:8080/saml/metadata.xml +curl http://idp.example.com:8080/.well-known/openid-configuration +curl http://idp.example.com:8080/.well-known/oauth-authorization-server +curl http://idp.example.com:8080/.well-known/webfinger + +curl http://ui.example.com:8080/saml/metadata.xml + +$BROWSER http://ui.example.com:8080/saml/new +$BROWSER http://ui.example.com:8080/oidc/new + +curl http://api.example.com:8080/projects.json +curl -i -XPOST http://api.example.com:8080/projects --data '{"name": "gitlab"}' +curl http://api.example.com:8080/projects.json + -- cgit v1.2.3