Skip to content

Commit 39cf222

Browse files
committed
Update FrontPage test to expect rollover key links
1 parent 3d5131d commit 39cf222

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/OpenConext/EngineBlockFunctionalTestingBundle/Features/FrontPage.feature

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,25 @@ Feature:
1010

1111
Scenario: The user can see all available metadata links
1212
When I go to Engineblock URL "/"
13-
Then I should see 8 links on the front page
13+
Then I should see 12 links on the front page
1414
And I should see text matching "The Public SAML Signing certificate of the OpenConext IdP"
1515
And I should see URL "/authentication/idp/certificate"
1616
# The default key should not get a separate URL next to the key-less url
1717
And I should not see URL "/authentication/idp/certificate/key:default"
18+
# The rollover key should get its own URL
19+
And I should see URL "/authentication/idp/certificate/key:rollover"
1820
And I should see text matching "The Public SAML metadata \(the entity descriptor\) of the OpenConext IdP Proxy"
1921
And I should see URL "/authentication/idp/metadata"
2022
And I should not see URL "/authentication/idp/metadata/key:default"
23+
And I should see URL "/authentication/idp/metadata/key:rollover"
2124
And I should see text matching "The Public SAML metadata \(the entities descriptor\) for all the OpenConext IdPs"
2225
And I should see URL "/authentication/proxy/idps-metadata"
2326
And I should not see URL "/authentication/proxy/idps-metadata/key:default"
27+
And I should see URL "/authentication/proxy/idps-metadata/key:rollover"
2428
And I should see text matching "The Public SAML metadata \(the entities descriptor\) of the OpenConext IdPs which"
2529
And I should see URL "/authentication/proxy/idps-metadata?sp-entity-id=urn:example.org"
2630
And I should not see URL "/authentication/proxy/idps-metadata/key:default?sp-entity-id=urn:example.org"
31+
And I should see URL "/authentication/proxy/idps-metadata/key:rollover?sp-entity-id=urn:example.org"
2732
# The test debug link is present on the page
2833
And I should see text matching "Test authentication with an identity provider."
2934
And I should see URL "/authentication/sp/debug"

0 commit comments

Comments
 (0)