Commit 0fb8fe9

mo khan <mo@mokhan.ca>
2025-03-06 18:22:32
chore: add script to run manual tests
1 parent b3bb680
Changed files (1)
bin
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
+