-
Notifications
You must be signed in to change notification settings - Fork 51
[Customer Portal][FE][Web] Deprecate Legacy Mock Infrastructure #184
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
Merged
Rashmika998
merged 30 commits into
wso2-open-operations:customer-portal-milestone-1
from
dileepapeiris:refactor/remove-mock-apis
Feb 17, 2026
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
60f68eb
Refactor tests to mock API responses
dileepapeiris 373a1d6
Remove mock mode and simplify MockConfigProvider
dileepapeiris 1ed003f
Remove MockConfig usage and update chat
dileepapeiris a64bd7d
Add case metadata types and update tests
dileepapeiris 7678f2d
Inline test mocks; remove mockFunctions & delay
dileepapeiris 60b1509
Remove mock gating and inline case mocks in tests
dileepapeiris 3c4b09e
Update imports and inline mocks in tests
dileepapeiris 44ca389
Refactor API tests to use AuthApiClient mock
dileepapeiris dbfeb61
Remove mock helpers; use defaults & inline mocks
dileepapeiris 62dc2e4
Remove mock config and streamline auth flow
dileepapeiris e5d1d2e
Inline mocks in header tests, remove MockConfig
dileepapeiris 043d2c7
Refactor API tests to use AuthApiClient mock
dileepapeiris 65393d0
Remove mock config and mock API handling
dileepapeiris af2e725
Remove mock handling from post API hooks
dileepapeiris 9f87c43
Remove mock handling from customer API hooks
dileepapeiris cd92fe5
Refactor API tests to use AuthApiContext mock
dileepapeiris 9255108
Remove mock logic; use real API and auth
dileepapeiris 10fd85f
Remove mock handling from project API hooks
dileepapeiris 80bfbe2
Remove mock mode from project API hooks
dileepapeiris cd2b8e5
Remove mock support from API queries
dileepapeiris e724a7b
Use AuthApiContext mock in project API tests
dileepapeiris 2e50ba8
Refactor API tests to use AuthApiContext mocks
dileepapeiris 6e88495
Remove mock mode from customer-portal API hooks
dileepapeiris 8887d87
Refactor API tests to use AuthApiContext mock
dileepapeiris 1359ef2
Use AuthApiContext mock in API tests
dileepapeiris 879e9c9
Remove mock support from case API hooks
dileepapeiris 302facc
Use AuthApiClient; remove mock config from APIs
dileepapeiris 53c396f
Refactor auth mock in useGetCaseComments test
dileepapeiris 1f45f75
Use hyphen placeholder for case/chat counts
dileepapeiris ca03ae0
Standardize mock attachment creator email
dileepapeiris File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.