devabhishekpal commented on code in PR #6983:
URL: https://github.com/apache/ozone/pull/6983#discussion_r1721001769
##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/__tests__/Overview.test.tsx:
##########
@@ -41,82 +41,167 @@ const WrappedOverviewComponent = () => {
)
}
-describe("Overview Tests", () => {
+describe.each([
+ { scenario: true },
+ { scenario: false }
+])('Overview Tests - Data is present ? $scenario', ({ scenario }) => {
Review Comment:
In the latest commit I removed the name and only have a true/false scenario
where `true` is with backend response and `false` is with an invalid backend
response.
Please do let me know if you would suggest to use object and name this.
In the description of the test we are displaying it as:
`Overview Tests - Data is present = true` and `Overview Tests - Data is
present = false`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]