Skip to content

Commit e0ebae2

Browse files
committed
test(e2e): add @not-implemented scenarios for missing CSS injection surfaces
PR #9 injects trusted-client CSS into the auth-service login page and the pds-core /oauth/authorize consent page, but four other auth-service HTML pages are not yet covered: - Auth-service consent page (HYPER-296) - Choose-handle page (HYPER-297) - Recovery page (HYPER-298) - Account settings page (HYPER-299) Add @not-implemented scenarios in features/client-branding.feature for each. These document the expected behaviour and will be activated when the corresponding injection code is written.
1 parent 9aa8133 commit e0ebae2

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

features/client-branding.feature

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,31 @@ Feature: Client branding — CSS injection and custom email templates
3939
Then the consent page HTML contains the trusted client's custom CSS
4040
And the Content-Security-Policy style-src directive includes the CSS SHA-256 hash
4141

42+
# --- CSS injection on other auth-service pages ---
43+
# These pages are rendered by the auth-service (not the stock oauth-provider)
44+
# and should also receive trusted-client CSS injection. The injection code
45+
# for these pages has not been written yet — tracked in Linear.
46+
47+
@not-implemented
48+
Scenario: Trusted client's CSS is applied to the auth-service consent page
49+
Given an existing user reaches the auth-service consent screen via the trusted demo client
50+
Then the consent page includes the trusted client's custom CSS
51+
52+
@not-implemented
53+
Scenario: Trusted client's CSS is applied to the choose-handle page
54+
Given a new user reaches the handle selection page via the trusted demo client
55+
Then the choose-handle page includes the trusted client's custom CSS
56+
57+
@not-implemented
58+
Scenario: Trusted client's CSS is applied to the recovery page
59+
Given a user navigates to the account recovery page via the trusted demo client
60+
Then the recovery page includes the trusted client's custom CSS
61+
62+
@not-implemented
63+
Scenario: Trusted client's CSS is applied to the account settings page
64+
Given a user is logged into the account settings page
65+
Then the account settings page includes the trusted client's custom CSS
66+
4267
# --- Custom email templates ---
4368

4469
@email @not-implemented

0 commit comments

Comments
 (0)