Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 4.24 KB

File metadata and controls

52 lines (40 loc) · 4.24 KB

Testing

WAYF functional-testing page

The functional-testing route renders the WAYF page with synthetic IdP data, controllable via query parameters. Use it for manual verification and as the base URL for Cypress tests.

Base URL: https://engine.dev.openconext.local/functional-testing/wayf

Query parameters

Parameter Type Default Description
lang string en Locale (en or nl)
connectedIdps int 5 Number of connected IdPs to generate
unconnectedIdps int 0 Number of unconnected IdPs to generate
randomIdps int 0 Generate N IdPs with random (Faker) names instead; overrides connected/unconnected
addDiscoveries bool true Add discovery entries to IdP 1 (gives it 3 list entries instead of 1)
preferredIdpEntityIds[] string[] [] Entity IDs to feature in the preferred section (array syntax required)
defaultIdpEntityId string - Entity ID of the default IdP (shows banner)
showIdPBanner bool true Whether to show the default IdP banner
displayUnconnectedIdpsWayf bool false Show unconnected IdPs with a "Request access" button
backLink bool false Show "Return to service provider" back link
rememberChoiceFeature bool false Show "Remember my choice" checkbox
cutoffPointForShowingUnfilteredIdps int 100 Hide the IdP list until the user searches when list length exceeds this value

Baseline

Cutoff / search

Unconnected IdPs / request access

UI features

Preferred IdPs