-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrp-onboarding.config.ts
More file actions
62 lines (60 loc) · 1.67 KB
/
rp-onboarding.config.ts
File metadata and controls
62 lines (60 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/**
* RP Onboarding E2E Test Configuration
*
* TO TEST A SINGLE RP:
* Update the clientId and expected values in the existing entry below.
*
* TO TEST MULTIPLE RPs AT ONCE:
* Add another entry to the rpOnboardingTestEvents array before the closing ].
* Copy and paste the example below:
*
* {
* clientId: 'your-client-id',
* expectedDimRelyingParty: {
* department_name: '...',
* relying_party_name: '...',
* agency_name: '...',
* display_name: '...',
* },
* expectedRefRelyingParties: {
* department_name: '...',
* client_name: '...',
* agency_name: '...',
* display_name: '...',
* },
* },
*/
export interface RpOnboardingTestEvent {
clientId: string;
expectedDimRelyingParty: {
department_name: string;
relying_party_name: string;
agency_name: string;
display_name: string;
};
expectedRefRelyingParties: {
department_name: string;
client_name: string;
agency_name: string;
display_name: string;
};
}
export const rpOnboardingTestEvents: RpOnboardingTestEvent[] = [
// ──── Event 1 ────
{
clientId: 'sXr5F6w5QytPPJN-Dtsgbl6hegQ',
expectedDimRelyingParty: {
department_name: 'HO',
relying_party_name: 'Foreign Influence Registration Scheme',
agency_name: 'HSG',
display_name: 'HO - Foreign Influence Registration Scheme',
},
expectedRefRelyingParties: {
department_name: 'HO',
client_name: 'Foreign Influence Registration Scheme',
agency_name: 'HSG',
display_name: 'HO - Foreign Influence Registration Scheme',
},
},
// ──── Add new events below this line ────
];