Skip to content

Conversation

@mathieumousnier
Copy link
Contributor

Description

Add tests for credentials dashboard page

Ticket Reference: #MANAGER-17841

darsene
darsene previously approved these changes Apr 16, 2025
tibs245
tibs245 previously approved these changes Apr 17, 2025

const mockPageUrl = `/${okmsMock[0].id}/credentials/${credentialMock[0].id}`;

vi.mock('@ovh-ux/manager-react-shell-client', async (importOriginal) => {
Copy link
Contributor

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 ?

Copy link
Contributor Author

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]>
@mathieumousnier mathieumousnier changed the base branch from develop to release/okms-w19 April 29, 2025 12:48
@mathieumousnier mathieumousnier merged commit 3fcbdb1 into release/okms-w19 Apr 29, 2025
18 checks passed
@mathieumousnier mathieumousnier deleted the test/MANAGER-17841 branch April 29, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants