-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Thibault Barske <[email protected]>
- Loading branch information
Showing
18 changed files
with
463 additions
and
224 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
53 changes: 0 additions & 53 deletions
53
packages/manager/apps/hycu/e2e/step-definitions/error.step.ts
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
packages/manager/apps/hycu/e2e/step-definitions/onboarding.step.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
packages/manager/apps/hycu/src/mocks/licenseHycu/licenseHycu-data.json
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
packages/manager/apps/hycu/src/mocks/licenseHycu/licenseHycu.data.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export const licenseHycu: unknown[] = [ | ||
{ | ||
displayName: '425802fa-fb70-4b2a-9d5b-ec4de86bb40c', | ||
extraParams: null, | ||
parentName: null, | ||
serviceName: '425802fa-fb70-4b2a-9d5b-ec4de86bb40c', | ||
stateParams: ['425802fa-fb70-4b2a-9d5b-ec4de86bb40c'], | ||
url: '#/425802fa-fb70-4b2a-9d5b-ec4de86bb40c', | ||
}, | ||
{ | ||
displayName: 'c1b7cb4f-6b63-45da-9a8a-f731f1a67b2c', | ||
extraParams: null, | ||
parentName: null, | ||
serviceName: 'c1b7cb4f-6b63-45da-9a8a-f731f1a67b2c', | ||
stateParams: ['c1b7cb4f-6b63-45da-9a8a-f731f1a67b2c'], | ||
url: '#/c1b7cb4f-6b63-45da-9a8a-f731f1a67b2c', | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 7 additions & 5 deletions
12
packages/manager/apps/hycu/src/pages/listing/Listing.spec.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import { describe, it } from 'vitest'; | ||
import { setupTest } from '@/utils/tests/setup-test'; | ||
import { screen } from '@testing-library/react'; | ||
import { renderTestApp } from '@/utils/tests/renderTestApp'; | ||
import '@testing-library/jest-dom'; | ||
import { labels } from '@/utils/tests/init.i18n'; | ||
|
||
describe('HYCU listing test suite', () => { | ||
it('should redirect to the onboarding page when the license list is empty', async () => { | ||
await setupTest(); | ||
describe('KMS listing test suite', () => { | ||
it('should redirect to the onboarding page when the kms list is empty', async () => { | ||
await renderTestApp({ nbLicenseHycu: 0 }); | ||
}); | ||
}); |
15 changes: 11 additions & 4 deletions
15
packages/manager/apps/hycu/setup-test.tsx → ...ages/manager/apps/hycu/src/setupTests.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.