Added the different query parameters scenarieios in the page.mjs(Find page by Id Method) , Such that all the defined api calls routes to the appropriate methods, For now i have just returned dummy values in those methods, Further i will implement the logic and data base connections for the appropriate API calls in those methods.
End to end flow is tested and good, Written few specific test cases failing now , but will pass after implementing logic.
I will try to add few more test and error scenarieos in unit testing , once DB connections and logic implementaion is done.
Added the different query parameters scenarieios in the page.mjs(Find page by Id Method) , Such that all the defined api calls routes to the appropriate methods, For now i have just returned dummy values in those methods, Further i will implement the logic and data base connections for the appropriate API calls in those methods.
End to end flow is tested and good, Written few specific test cases failing now , but will pass after implementing logic.
I will try to add few more test and error scenarieos in unit testing , once DB connections and logic implementaion is done.