update confirm handler based on BE requirement #3524
GitHub Actions / Jest Unit Test Results
failed
Jan 10, 2025 in 0s
1 fail, 324 pass in 3m 13s
Annotations
Check warning on line 0 in BulkEditMarcLayer should call "confirm changes" function
github-actions / Jest Unit Test Results
BulkEditMarcLayer should call "confirm changes" function (BulkEditMarcLayer should call "confirm changes" function) failed
artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Array [
+ undefined,
"marcContentUpdate",
],
Number of calls: 1
<html>
<head />
<body>
<div>
<div>
<section
class="pane focusIndicator"
panefooter="Pane Footer"
>
<div
aria-labelledby="paneHeader153-pane-title"
class="paneHeader"
data-test-pane-header="true"
id="paneHeader153"
role="region"
tabindex="-1"
>
<div
class="paneHeaderButtonsArea first"
>
<div
class="paneMenu"
>
<button
aria-label="stripes-components.closeItem"
class="iconButton medium paneHeaderCloseIcon PaneHeaderIconButton paneHeaderIconButton"
data-test-pane-header-dismiss-button="true"
icon="times"
type="button"
>
<span
class="iconButtonInner mediumOffset PaneHeaderIconButton__inner"
data-test-pane-header-dismiss-button="true"
>
<span>
Icon
</span>
</span>
</button>
</div>
</div>
<div
class="paneHeaderCenter"
>
<div
class="paneHeaderCenterInner"
id="paneHeader153-pane-title"
>
<h2
class="paneTitle"
data-test-pane-header-title="true"
>
<span
class="paneTitleLabel"
>
Pane Title
</span>
</h2>
<p
class="paneSub"
data-test-pane-header-sub="true"
id="paneHeader153-subtitle"
>
<span>
Pane Sub Title
</span>
</p>
</div>
</div>
</div>
<div
class="paneContent hasPadding"
id="153-content"
tabindex="-1"
>
<div
class="headline size-large margin-medium font-weight-bold"
data-test-headline="true"
>
Title
</div>
<section
class="accordion hasSeparator"
data-test-accordion-section="true"
id="accordion_155"
>
<div>
<div
style="width: 100%; display: flex;"
>
<div
class="headerWrapper"
>
<div
class="header default"
>
<h3
class="headline size-medium margin-none font-weight-bold block"
data-test-headline="true"
>
<button
aria-controls="accordion129"
aria-expanded="true"
class="defaultCollapseButton"
id="accordion-toggle-button-accordion_155"
type="button"
>
<span
class="headerInner"
>
<span
class="defaultHeaderIcon"
>
<span>
Icon
</span>
</span>
<div
class="labelArea"
>
ui-bulk-edit.layer.title.administrative
</div>
</span>
</button>
</h3>
</div>
</div>
</div>
</div>
<div
class="content-wrap expanded"
style="z-index: 1;"
>
<div
aria-labelledby="accordion-toggle-button-accordion_155"
class="content-region expanded"
data-test-accordion-wrapper="true"
id="accordion129"
role="region"
>
<div
class="row"
>
<div
class="col-sm-2 headerCell"
>
<label
class="label"
>
ui-bulk-edit.layer.column.options
<span
aria-hidden="true"
...
at /home/runner/work/ui-bulk-edit/ui-bulk-edit/src/components/BulkEditPane/BulkEditMarcLayer/BulkEditMarcLayer.test.js:335:34
at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:51:12)
at checkCallback (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:127:77)
at checkRealTimersCallback (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:119:16)
at Timeout.task [as _onTimeout] (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jsdom/lib/jsdom/browser/Window.js:516:19)
at listOnTimeout (node:internal/timers:569:17)
at processTimers (node:internal/timers:512:7)
Loading