Skip to content

Commit

Permalink
UIREQ-947 Create Jest/RTL test for RequestsRoute.js (#1068)
Browse files Browse the repository at this point in the history
  • Loading branch information
VSnehalatha authored Jul 13, 2023
1 parent c57ab7e commit 4459029
Show file tree
Hide file tree
Showing 8 changed files with 364 additions and 59 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
* Cover ItemInformation by jest/RTL tests. Refs UIREQ-949.
* Cover InstanceInformation by jest/RTL tests. Refs UIREQ-950.
* Fix inconsistency in RTL/Jest tests. Refs UIREQ-979.
* Create Jest/RTL test for RequestsRoute.js. Refs UIREQ-947.
* Remove redundant ariaLabel prop. Refs UIREQ-972.
* TLRs check circulation rules before request is placed. Refs UIREQ-960.
* Create Jest/RTL test for CancelRequestDialog.js. Refs UIREQ-876.
Expand Down
1 change: 1 addition & 0 deletions src/routes/RequestsRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,7 @@ class RequestsRoute extends React.Component {
</LoadingButton> :
<>
<Button
data-testid="exportExpiredHoldShelfToCsvButton"
buttonStyle="dropdownItem"
id="exportExpiredHoldsToCsvPaneHeaderBtn"
disabled={holdsShelfReportPending || (servicePointId && requestsEmpty)}
Expand Down
Loading

0 comments on commit 4459029

Please sign in to comment.