Skip to content

Commit

Permalink
Merge branch 'master' into UIREQ-933
Browse files Browse the repository at this point in the history
  • Loading branch information
VSnehalatha authored Jul 7, 2023
2 parents c8eae86 + 1012387 commit d4e539f
Show file tree
Hide file tree
Showing 23 changed files with 1,682 additions and 40 deletions.
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,26 @@
* Cannot save item request from item with status On Order, because need a barcode. Refs UIREQ-924.
* Cover `src/components/PrintButton/PrintButton.js` file by RTL/Jest tests. Refs UIREQ-886.
* Cover `src/components/Loading/Loading.js` file by RTL/Jest tests. Refs UIREQ-885.
* Create Jest/RTL test for ReferredRecord.js. Refs UIREQ-936.
* Create Jest/RTL test for NoteCreateRoute.js Refs: UIREQ-943.
* Leverage cookie-based authentication in all API requests. Refs UIREQ-861.
* Create Jest/RTL test for NoteEditRoute.js Refs: UIREQ-944.
* Update `circulation` okapi interface to `14.0` version. Refs UIREQ-954.
* Added requestDate token. Refs UIREQ-962.
* Update `request-storage` okapi interface to `6.0` version. Refs UIREQ-963.
* UI tests replacement with RTL/Jest for src/PatronBlockModal.js. Refs UIREQ-878.
* create Jest/RTL test for draggableRowFormatter.js, Refs UIREQ-942
* Create Jest/RTL test for RequestsFiltersConfig.js. Refs UIREQ-938.
* Create Jest/RTL test for SortableList.js. Refs UIREQ-941.
* Create Jest/RTL test for draggableRowFormatter.js. Refs UIREQ-942.
* UI tests replacement with RTL/Jest for src/UserDetail.js. Refs UIREQ-881.
* TLR: "Create title level request" checkbox not preselected on "New request" page. Refs UIREQ-955.
* Do not publish test artifacts to NPM. Refs STRIPES-865.
* Create Jest/RTL test for SortableList.js. Refs UIREQ-933. Refs UIREQ-933.
* Create JEST/RTL test cases for LoadingButton.js. Refs UIREQ-933.
* Create Jest/RTL test for NoteViewRoute.js. Refs UIREQ-945.
* 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.
* Remove redundant ariaLabel prop. Refs UIREQ-972.

## [8.0.2](https://github.com/folio-org/ui-requests/tree/v8.0.2) (2023-03-29)
[Full Changelog](https://github.com/folio-org/ui-requests/compare/v8.0.1...v8.0.2)
Expand Down
1 change: 0 additions & 1 deletion src/ItemsDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ const ItemsDialog = ({
: <MultiColumnList
id="instance-items-list"
interactive
ariaLabel={formatMessage({ id: 'ui-requests.items.instanceItems' })}
contentData={contentData}
visibleColumns={COLUMN_NAMES}
columnMapping={COLUMN_MAP}
Expand Down
3 changes: 0 additions & 3 deletions src/ItemsDialog.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ describe('ItemsDialog', () => {
expect.objectContaining({
id: 'instance-items-list',
interactive: true,
ariaLabel: labelIds.instanceItems,
contentData: [],
visibleColumns: COLUMN_NAMES,
columnMapping: COLUMN_MAP,
Expand Down Expand Up @@ -236,7 +235,6 @@ describe('ItemsDialog', () => {
{
id: 'instance-items-list',
interactive: true,
ariaLabel: labelIds.instanceItems,
contentData: [{
id: '2',
status: {
Expand Down Expand Up @@ -397,7 +395,6 @@ describe('ItemsDialog', () => {
{
id: 'instance-items-list',
interactive: true,
ariaLabel: labelIds.instanceItems,
contentData: [],
visibleColumns: COLUMN_NAMES,
columnMapping: COLUMN_MAP,
Expand Down
3 changes: 2 additions & 1 deletion src/components/InstanceInformation/InstanceInformation.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {

import css from '../../requests.css';

const INSTANCE_SEGMENT_FOR_PLUGIN = 'instances';
export const INSTANCE_SEGMENT_FOR_PLUGIN = 'instances';

class InstanceInformation extends Component {
static propTypes = {
Expand Down Expand Up @@ -183,6 +183,7 @@ class InstanceInformation extends Component {

return (
<Field
data-testid="instanceHridField"
key={key}
name={REQUEST_FORM_FIELD_NAMES.INSTANCE_HRID}
validate={this.validate(REQUEST_FORM_FIELD_NAMES.INSTANCE_HRID, key)}
Expand Down
Loading

0 comments on commit d4e539f

Please sign in to comment.