Skip to content

Add full-flow behat + playwright coverage for GSSP service name#95

Open
kayjoosten wants to merge 2 commits into
mainfrom
feature/gssp-service-name-fullflow-behat
Open

Add full-flow behat + playwright coverage for GSSP service name#95
kayjoosten wants to merge 2 commits into
mainfrom
feature/gssp-service-name-fullflow-behat

Conversation

@kayjoosten

@kayjoosten kayjoosten commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds custom stepup/ssp/sp.php (mounted over the stock devssp SP) with mdui:UIInfo/mdui:DisplayName extension support, since the stock SP image doesn't support it
  • Adds behat scenario gssp_service_name.feature: SP → Gateway → GSSP, asserting the service name from the AuthnRequest shows on the GSSP page
  • Adds a playwright suite covering the same flow end to end against the running devconf stack
  • Tagged @SKIP until Stepup-Gateway#624 merges and releases in the test image

How to test locally against the in-flight feature branches

./start-dev-env.sh gateway:<Stepup-Gateway checkout on feature/issue-591-service-name-saml-extension> demogssp:<Stepup-gssp-example checkout>
docker compose exec behat ./vendor/bin/behat --config config/behat.yml features/gssp_service_name.feature

Or run the playwright suite in stepup/tests/playwright/ (see its README).

Note: this exercises Gateway → GSSP directly via the SSP test SP, not the full production path through EngineBlock (EngineBlock#2034 handles that leg separately).

…mdui:UIInfo

Adds a behat feature that exercises the cross-repo service name flow:
the SP includes an mdui:UIInfo/mdui:DisplayName extension in the SFO
AuthnRequest, the Stepup-Gateway (with feature flag
enable_service_name_from_saml_authnrequest enabled) forwards it in the
proxy AuthnRequest to the GSSP, and the demo GSSP displays the service
name on its authentication page.

The devssp test SP does not support the mdui:UIInfo extension yet, so a
patched sp.php with an mdui_displayname form field is mounted over the
one in the devssp container, pending upstream inclusion in
OpenConext-devssp.
Playwright suite exercises the mdui:UIInfo service-name flow end to end
against the running devconf stack, complementing the existing behat
scenario. Also adds a missing "on the GSSP registration page" assertion
step alongside the existing authentication-page one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant