-
Notifications
You must be signed in to change notification settings - Fork 112
test(kms): add tests for credentials dashboard page #16583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cf22d2c to
dbbc198
Compare
...-service/src/pages/credential/generalInformations/delete/DeleteCredentialModal.page.spec.tsx
Outdated
Show resolved
Hide resolved
...anagement-service/src/pages/credential/generalInformations/generalInformations.page.spec.tsx
Outdated
Show resolved
Hide resolved
...-service/src/pages/credential/generalInformations/delete/DeleteCredentialModal.page.spec.tsx
Outdated
Show resolved
Hide resolved
packages/manager/apps/key-management-service/src/pages/credential/Credential.page.spec.tsx
Outdated
Show resolved
Hide resolved
packages/manager/apps/key-management-service/src/pages/credential/Credential.page.spec.tsx
Outdated
Show resolved
Hide resolved
packages/manager/apps/key-management-service/src/pages/credential/Credential.page.spec.tsx
Outdated
Show resolved
Hide resolved
dbbc198 to
b0fb2d7
Compare
|
|
||
| const mockPageUrl = `/${okmsMock[0].id}/credentials/${credentialMock[0].id}`; | ||
|
|
||
| vi.mock('@ovh-ux/manager-react-shell-client', async (importOriginal) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why use mock whereas it's an integration test ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I struggled with this at some point so i'm a bit surprised to see that it is indeed useless, don't remember why I've put this everywhere.
Anyways thank you, I removed it
ref: #MANAGER-17841 Signed-off-by: Mathieu Mousnier <[email protected]>
ref: #MANAGER-17841 Signed-off-by: Mathieu Mousnier <[email protected]>
b0fb2d7 to
d719b83
Compare
Description
Add tests for credentials dashboard page
Ticket Reference: #MANAGER-17841