test(app-switcher): add tests for CDN app integration
quality / commitlint (push) Skipped
quality / changes (push) Successful in 5s
quality / web (push) Skipped
quality / docker-check (push) Skipped
quality / api (push) Successful in 34s
CD / quality (push) Successful in 43s
CD / publish (push) Successful in 1m25s
quality / commitlint (push) Skipped
quality / changes (push) Successful in 5s
quality / web (push) Skipped
quality / docker-check (push) Skipped
quality / api (push) Successful in 34s
CD / quality (push) Successful in 43s
CD / publish (push) Successful in 1m25s
- Updated app-switcher tests to include verification for the newly integrated CDN app. - Added assertions to check the presence and authentication mode of the CDN app in the response. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -18,11 +18,15 @@ describe('app-switcher API', () => {
|
||||
expect(body.menuLabel).toBeTruthy()
|
||||
expect(body.apps.map((a) => a.id).sort()).toEqual([
|
||||
'bgp',
|
||||
'cdn',
|
||||
'cfdm',
|
||||
'dns',
|
||||
'fw',
|
||||
'vps',
|
||||
])
|
||||
expect(body.apps.find((a) => a.id === 'cdn')).toMatchObject({
|
||||
authMode: 'jwt',
|
||||
})
|
||||
expect(body.apps.find((a) => a.id === 'dns')).toMatchObject({
|
||||
authMode: 'oidc',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user