Skip to content

Conversation

@shivaahir158
Copy link
Collaborator

Motivate of the pull request

  • To address an existing issue. If so, please provide a link to the issue:
  • Breaking new feature. If so, please describe details in the description part.

Describe the technical details -

  1. Renders the BRAM power table and verifies headers like "Used," "Total," "BRAM Type," "Action," and "Name/Hierarchy" are displayed.
  2. Checks if the checkbox for enabling/disabling BRAM rows is rendered and toggles correctly, triggering a PATCH request.
  3. Verifies that clicking the "Add" button opens a modal for adding/editing a BRAM row.
  4. Confirms that submitting the form in the modal sends a POST request with the new BRAM data.
  5. Checks that the modal closes after submission or when clicking the "Close" button.

Which part of the code base require a change

  • Frontend: BramTable.test.js
  • Backend:
  • Library: <Specify the library name, e.g. npm packages>
  • Plug-in: <Specify the plugin name, e.g. Webpack, jtest>
  • Documentation
  • Regression tests
  • Continuous Integration (CI) scripts

Impact of the pull request

  • Require a change on Quality of Results (QoR)
  • Break backward-compatibility. If so, please list who may be influenced.

@codecov
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.29%. Comparing base (2a1e707) to head (f2189b8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #236      +/-   ##
==========================================
+ Coverage   68.52%   69.29%   +0.76%     
==========================================
  Files         110      110              
  Lines        8607     8607              
==========================================
+ Hits         5898     5964      +66     
+ Misses       2709     2643      -66     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ravikiranchollangi ravikiranchollangi merged commit a190d6c into main Oct 15, 2024
11 checks passed
@ravikiranchollangi ravikiranchollangi deleted the task/RPE-137/FE-React-Jest-Test-for-BramTable.js branch October 15, 2024 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants