feat(fluentUI-migration): ActionButton fluentui v8 to v9 migration #8020
ci.yml
on: pull_request
Matrix: unit-tests
build
58s
lints
45s
codeql
2m 19s
e2e-report-tests
45s
check-clearly-defined
14s
Matrix: e2e-web-tests
publish-code-coverage
0s
Annotations
42 errors and 2 warnings
e2e-report-tests
Process completed with exit code 1.
|
lints
Process completed with exit code 1.
|
build:
src/DetailsView/components/command-bar-buttons-menu.tsx#L6
'MenuItem' is declared but its value is never read.
|
build:
src/DetailsView/components/command-bar-buttons-menu.tsx#L19
'NestedSubmenusControlled' is declared but its value is never read.
|
build:
src/DetailsView/components/command-bar-buttons-menu.tsx#L19
Cannot find module 'DetailsView/components/Test' or its corresponding type declarations.
|
build:
src/common/components/controls/insights-command-button.tsx#L4
'Button' is declared but its value is never read.
|
build:
src/common/components/controls/insights-command-button.tsx#L33
Type '{ children: string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ... 182 more ... | (ReactPortal & ... 1 more ... & Iterable<...>); ... 281 more ...; ref: any; } | { ...; } | { ...; } | { ...; }' is not assignable to type 'IntrinsicAttributes & Omit<ComponentProps<Partial<MenuItemSlots>>, "content"> & Pick<Partial<MenuItemSlots>, "content"> & { ...; } & RefAttributes<...>'.
|
build
Process completed with exit code 2.
|
CommandBarButtonsMenu › renders CommandBarButtonsMenu:
src/tests/unit/tests/DetailsView/components/command-bar-buttons-menu.test.tsx#L50
expect(received).toMatchSnapshot()
Snapshot name: `CommandBarButtonsMenu renders CommandBarButtonsMenu 1`
- Snapshot - 43
+ Received + 11
@@ -2,13 +2,15 @@
<mock-tooltip
content="More actions"
relationship="label"
>
<mock-menu
- persistonitemclick="true"
+ open="false"
>
- <mock-menutrigger>
+ <mock-menutrigger
+ disablebuttonenhancement="true"
+ >
<mock-menubutton
appearance="transparent"
aria-label="More actions"
classname="commandBarButtonsMenuButton"
icon="[object Object]"
@@ -18,54 +20,20 @@
style="border-radius: unset !important;"
>
<mock-menulist
classname="menuList"
>
- <mock-menuitem
- buttonref="[object Object]"
- classname="menuItem"
- hassubmenu="false"
- loadassessmentbutton="[object Object]"
- saveassessmentbutton="[object Object]"
- transfertoassessmentbutton="[object Object]"
- >
- <div>
+ <span>
Save assessment button
- </div>
- </mock-menuitem>
- <mock-menuitem
- buttonref="[object Object]"
- classname="menuItem"
- hassubmenu="false"
- loadassessmentbutton="[object Object]"
- saveassessmentbutton="[object Object]"
- transfertoassessmentbutton="[object Object]"
- >
- <div>
+ </span>
+ <span>
Load assessment button
- </div>
- </mock-menuitem>
- <mock-menuitem
- buttonref="[object Object]"
- classname="menuItem"
- hassubmenu="false"
- loadassessmentbutton="[object Object]"
- saveassessmentbutton="[object Object]"
- transfertoassessmentbutton="[object Object]"
- >
- <div>
+ </span>
+ <span>
Transfer to assessment button
- </div>
- </mock-menuitem>
- <mock-menuitem
- buttonref="[object Object]"
- classname="menuItem"
- hassubmenu="false"
- loadassessmentbutton="[object Object]"
- saveassessmentbutton="[object Object]"
- transfertoassessmentbutton="[object Object]"
- />
+ </span>
+ <span />
</mock-menulist>
</mock-menupopover>
</mock-menu>
</mock-tooltip>
</DocumentFragment>
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/command-bar-buttons-menu.test.tsx:50:38)
at runMicrotasks (<anonymous>)
|
CommandBarButtonsMenu › renders all child buttons with hasSubMenu false:
src/tests/unit/tests/DetailsView/components/command-bar-buttons-menu.test.tsx#L78
MockException: expected invocation of Function() exactly 1 times, invoked 2 times
Configured setups:
Function(), once
Performed invocations:
Function()
Function()
at MockException.Exception [as constructor] (node_modules/typemoq/dist/Error/Error/Error/Exception.ts:3:9)
at new MockException (node_modules/typemoq/dist/Error/Error/Error/MockException.ts:20:9)
at InterceptorExecute.Object.<anonymous>.InterceptorExecute.throwVerifyCallCountException (node_modules/typemoq/dist/InterceptorExecute.ts:75:17)
at InterceptorExecute.Object.<anonymous>.InterceptorExecute.verifyCallCount (node_modules/typemoq/dist/InterceptorExecute.ts:64:18)
at InterceptorExecute.Object.<anonymous>.InterceptorExecute.verify (node_modules/typemoq/dist/InterceptorExecute.ts:51:18)
at StaticMock.Object.<anonymous>.MockBase.verifyAll (node_modules/typemoq/dist/MockBase.ts:61:31)
at Object.verifyAll (src/tests/unit/tests/DetailsView/components/command-bar-buttons-menu.test.tsx:78:41)
|
CommandBarButtonsMenu › renders all child buttons with hasSubMenu false:
src/tests/unit/tests/DetailsView/components/command-bar-buttons-menu.test.tsx#L73
expect(received).toMatchSnapshot(hint)
Snapshot name: `CommandBarButtonsMenu renders all child buttons with hasSubMenu false,: render export report menuitem 1`
- Snapshot - 2
+ Received + 2
- <div>
+ <span>
Report export button
- </div>
+ </span>
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/command-bar-buttons-menu.test.tsx:73:33)
|
CommandBarButtonsMenu › renders all child buttons with hasSubMenu false:
src/tests/unit/tests/DetailsView/components/command-bar-buttons-menu.test.tsx#L74
expect(received).toMatchSnapshot(hint)
Snapshot name: `CommandBarButtonsMenu renders all child buttons with hasSubMenu false,: render save assessment menuitem 1`
- Snapshot - 2
+ Received + 2
- <div>
+ <span>
Save assessment button
- </div>
+ </span>
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/command-bar-buttons-menu.test.tsx:74:31)
|
CommandBarButtonsMenu › renders all child buttons with hasSubMenu false:
src/tests/unit/tests/DetailsView/components/command-bar-buttons-menu.test.tsx#L75
expect(received).toMatchSnapshot(hint)
Snapshot name: `CommandBarButtonsMenu renders all child buttons with hasSubMenu false,: render load assessment menuitem 1`
- Snapshot - 2
+ Received + 2
- <div>
+ <span>
Load assessment button
- </div>
+ </span>
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/command-bar-buttons-menu.test.tsx:75:31)
|
CommandBarButtonsMenu › renders all child buttons with hasSubMenu false:
src/tests/unit/tests/DetailsView/components/command-bar-buttons-menu.test.tsx#L76
expect(received).toMatchSnapshot(hint)
Snapshot name: `CommandBarButtonsMenu renders all child buttons with hasSubMenu false,: render transfer to assessment menuitem 1`
- Snapshot - 2
+ Received + 2
- <div>
+ <span>
Transfer to assessment button
- </div>
+ </span>
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/command-bar-buttons-menu.test.tsx:76:35)
|
LoadAssessmentButton › should render per the snapshot:
src/tests/unit/tests/DetailsView/components/load-assessment-button.test.tsx#L68
expect(received).toMatchSnapshot()
Snapshot name: `LoadAssessmentButton should render per the snapshot 1`
- Snapshot - 1
+ Received + 1
@@ -1,8 +1,8 @@
<DocumentFragment>
<mock-insightscommandbutton
- classname="___q8bhkh0_0000000 f1t6ax4o fmntwad f1g8o529 f9hdeju f139oj5f f7otkfg"
+ classname="___1r20z3h_0000000 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="load-assessment-button"
insightscommandbuttoniconprops="[object Object]"
>
Load assessment
</mock-insightscommandbutton>
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/load-assessment-button.test.tsx:68:43)
at runMicrotasks (<anonymous>)
|
LoadAssessmentButton › should render per the snapshot:
src/tests/unit/mock-helpers/mock-module-helpers.tsx#L101
expect(received).toMatchSnapshot(hint)
Snapshot name: `LoadAssessmentButton should render per the snapshot: InsightsCommandButton props 1`
- Snapshot - 1
+ Received + 1
@@ -1,8 +1,8 @@
{
"children": "Load assessment",
- "className": "___q8bhkh0_0000000 f1t6ax4o fmntwad f1g8o529 f9hdeju f139oj5f f7otkfg",
+ "className": "___1r20z3h_0000000 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg",
"data-automation-id": "load-assessment-button",
"insightsCommandButtonIconProps": {
"icon": <FluentUIV9Icon
iconName="FolderOpenRegular"
/>,
at toMatchSnapshot (src/tests/unit/mock-helpers/mock-module-helpers.tsx:101:71)
at expectMockedComponentPropsToMatchSnapshot (src/tests/unit/mock-helpers/mock-module-helpers.tsx:14:9)
at Array.forEach (<anonymous>)
at forEach (src/tests/unit/mock-helpers/mock-module-helpers.tsx:9:16)
at Object.<anonymous> (src/tests/unit/tests/DetailsView/components/load-assessment-button.test.tsx:69:51)
at runMicrotasks (<anonymous>)
|
LoadAssessmentButton › should call load button click method on click:
src/tests/unit/tests/DetailsView/components/load-assessment-button.test.tsx#L78
TestingLibraryElementError: Unable to find an accessible element with the role "button"
Here are the accessible roles:
menuitem:
Name "Load assessment":
<div
class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="load-assessment-button"
role="menuitem"
tabindex="0"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="load-assessment-button"
role="menuitem"
tabindex="0"
>
<span
class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
height="1em"
viewBox="0 0 20 20"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M3 5.5v6.6l1.5-2.6A3 3 0 0 1 7.1 8H15v-.5c0-.83-.67-1.5-1.5-1.5h-4a.5.5 0 0 1-.35-.15l-1.71-1.7A.5.5 0 0 0 7.09 4H4.5C3.67 4 3 4.67 3 5.5Zm1.28 10.48.22.02h9.4a2 2 0 0 0 1.73-1l2.17-3.75A1.5 1.5 0 0 0 16.5 9H7.1a2 2 0 0 0-1.73 1L3.2 13.75a1.5 1.5 0 0 0 1.08 2.23ZM2 14.46V5.5A2.5 2.5 0 0 1 4.5 3h2.59c.4 0 .78.16 1.06.44L9.7 5h3.79A2.5 2.5 0 0 1 16 7.5V8h.5a2.5 2.5 0 0 1 2.16 3.75L16.5 15.5a3 3 0 0 1-2.6 1.5H4.5a2.54 2.54 0 0 1-1.62-.6A2.5 2.5 0 0 1 2 14.46Z"
fill="currentColor"
/>
</svg>
</span>
<span
class="fui-MenuItem__content r1ls86vo"
>
Load assessment
</span>
</div>
</div>
</body>
at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByRole (src/tests/unit/tests/DetailsView/components/load-assessment-button.test.tsx:78:44)
|
InsightsCommandButton › renders per snapshot with props passed through:
src/tests/unit/tests/common/components/controls/insights-command-button.test.tsx#L34
expect(received).toMatchSnapshot()
Snapshot name: `InsightsCommandButton renders per snapshot with props passed through 1`
- Snapshot - 10
+ Received + 1
- <DocumentFragment>
- <mock-button
- appearance="transparent"
- classname=""
- icon="[object Object]"
- insightscommandbuttoniconprops="[object Object]"
- >
- test-text
- </mock-button>
- </DocumentFragment>
+ <DocumentFragment />
at Object.toMatchSnapshot (src/tests/unit/tests/common/components/controls/insights-command-button.test.tsx:34:43)
at runMicrotasks (<anonymous>)
|
DetailsViewCommandBar › renders report export dialog:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L329
expect(received).toMatchSnapshot(hint)
Snapshot name: `DetailsViewCommandBar renders report export dialog: export dialog hidden 1`
- Snapshot - 5
+ Received + 10
@@ -27,17 +27,18 @@
</mock-newtablinkwithtooltip>
</div>
<div
class="detailsViewCommandButtons"
>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="report-export-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -50,12 +51,16 @@
d="M2.5 4c.28 0 .5.22.5.5v11a.5.5 0 0 1-1 0v-11c0-.28.22-.5.5-.5ZM5 10c0-.28.22-.5.5-.5h10.8l-3.15-3.15a.5.5 0 0 1 .7-.7l4 4a.5.5 0 0 1 0 .7l-4 4a.5.5 0 0 1-.7-.7l3.14-3.15H5.5A.5.5 0 0 1 5 10Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Export result
- </button>
+ </span>
+ </div>
</div>
<mock-exportdialog
description=""
featureflagstoredata="[object Object]"
htmlexportdata=""
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:329:43)
|
DetailsViewCommandBar › renders report export dialog:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L332
expect(received).toMatchSnapshot(hint)
Snapshot name: `DetailsViewCommandBar renders report export dialog: export dialog open 1`
- Snapshot - 5
+ Received + 10
@@ -27,17 +27,18 @@
</mock-newtablinkwithtooltip>
</div>
<div
class="detailsViewCommandButtons"
>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="report-export-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -50,12 +51,16 @@
d="M2.5 4c.28 0 .5.22.5.5v11a.5.5 0 0 1-1 0v-11c0-.28.22-.5.5-.5ZM5 10c0-.28.22-.5.5-.5h10.8l-3.15-3.15a.5.5 0 0 1 .7-.7l4 4a.5.5 0 0 1 0 .7l-4 4a.5.5 0 0 1-.7-.7l3.14-3.15H5.5A.5.5 0 0 1 5 10Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Export result
- </button>
+ </span>
+ </div>
</div>
<mock-exportdialog
featureflagstoredata="[object Object]"
htmlexportdata=""
htmlfilename="Assessment_20240307_commandbartesttabtit.html"
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:332:43)
|
DetailsViewCommandBar › renders load assessment dialog:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L342
expect(received).toMatchSnapshot(hint)
Snapshot name: `DetailsViewCommandBar renders load assessment dialog: load assessment dialog hidden 1`
- Snapshot - 10
+ Received + 20
@@ -27,17 +27,18 @@
</mock-newtablinkwithtooltip>
</div>
<div
class="detailsViewCommandButtons"
>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="report-export-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -50,19 +51,24 @@
d="M2.5 4c.28 0 .5.22.5.5v11a.5.5 0 0 1-1 0v-11c0-.28.22-.5.5-.5ZM5 10c0-.28.22-.5.5-.5h10.8l-3.15-3.15a.5.5 0 0 1 .7-.7l4 4a.5.5 0 0 1 0 .7l-4 4a.5.5 0 0 1-.7-.7l3.14-3.15H5.5A.5.5 0 0 1 5 10Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Export result
- </button>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ </span>
+ </div>
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="load-assessment-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -75,12 +81,16 @@
d="M3 5.5v6.6l1.5-2.6A3 3 0 0 1 7.1 8H15v-.5c0-.83-.67-1.5-1.5-1.5h-4a.5.5 0 0 1-.35-.15l-1.71-1.7A.5.5 0 0 0 7.09 4H4.5C3.67 4 3 4.67 3 5.5Zm1.28 10.48.22.02h9.4a2 2 0 0 0 1.73-1l2.17-3.75A1.5 1.5 0 0 0 16.5 9H7.1a2 2 0 0 0-1.73 1L3.2 13.75a1.5 1.5 0 0 0 1.08 2.23ZM2 14.46V5.5A2.5 2.5 0 0 1 4.5 3h2.59c.4 0 .78.16 1.06.44L9.7 5h3.79A2.5 2.5 0 0 1 16 7.5V8h.5a2.5 2.5 0 0 1 2.16 3.75L16.5 15.5a3 3 0 0 1-2.6 1.5H4.5a2.54 2.54 0 0 1-1.62-.6A2.5 2.5 0 0 1 2 14.46Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Load assessment
- </button>
+ </span>
+ </div>
</div>
<mock-exportdialog
description=""
featureflagstoredata="[object Object]"
htmlexportdata=""
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:342:43)
|
DetailsViewCommandBar › renders load assessment dialog:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L345
expect(received).toMatchSnapshot(hint)
Snapshot name: `DetailsViewCommandBar renders load assessment dialog: load assessment dialog open 1`
- Snapshot - 10
+ Received + 20
@@ -27,17 +27,18 @@
</mock-newtablinkwithtooltip>
</div>
<div
class="detailsViewCommandButtons"
>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="report-export-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -50,19 +51,24 @@
d="M2.5 4c.28 0 .5.22.5.5v11a.5.5 0 0 1-1 0v-11c0-.28.22-.5.5-.5ZM5 10c0-.28.22-.5.5-.5h10.8l-3.15-3.15a.5.5 0 0 1 .7-.7l4 4a.5.5 0 0 1 0 .7l-4 4a.5.5 0 0 1-.7-.7l3.14-3.15H5.5A.5.5 0 0 1 5 10Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Export result
- </button>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ </span>
+ </div>
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="load-assessment-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -75,12 +81,16 @@
d="M3 5.5v6.6l1.5-2.6A3 3 0 0 1 7.1 8H15v-.5c0-.83-.67-1.5-1.5-1.5h-4a.5.5 0 0 1-.35-.15l-1.71-1.7A.5.5 0 0 0 7.09 4H4.5C3.67 4 3 4.67 3 5.5Zm1.28 10.48.22.02h9.4a2 2 0 0 0 1.73-1l2.17-3.75A1.5 1.5 0 0 0 16.5 9H7.1a2 2 0 0 0-1.73 1L3.2 13.75a1.5 1.5 0 0 0 1.08 2.23ZM2 14.46V5.5A2.5 2.5 0 0 1 4.5 3h2.59c.4 0 .78.16 1.06.44L9.7 5h3.79A2.5 2.5 0 0 1 16 7.5V8h.5a2.5 2.5 0 0 1 2.16 3.75L16.5 15.5a3 3 0 0 1-2.6 1.5H4.5a2.54 2.54 0 0 1-1.62-.6A2.5 2.5 0 0 1 2 14.46Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Load assessment
- </button>
+ </span>
+ </div>
</div>
<mock-exportdialog
description=""
featureflagstoredata="[object Object]"
htmlexportdata=""
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:345:43)
|
DetailsViewCommandBar › renders invalid load assessment dialog:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L356
expect(received).toMatchSnapshot(hint)
Snapshot name: `DetailsViewCommandBar renders invalid load assessment dialog: invalid load assessment dialog hidden 1`
- Snapshot - 10
+ Received + 20
@@ -27,17 +27,18 @@
</mock-newtablinkwithtooltip>
</div>
<div
class="detailsViewCommandButtons"
>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="report-export-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -50,19 +51,24 @@
d="M2.5 4c.28 0 .5.22.5.5v11a.5.5 0 0 1-1 0v-11c0-.28.22-.5.5-.5ZM5 10c0-.28.22-.5.5-.5h10.8l-3.15-3.15a.5.5 0 0 1 .7-.7l4 4a.5.5 0 0 1 0 .7l-4 4a.5.5 0 0 1-.7-.7l3.14-3.15H5.5A.5.5 0 0 1 5 10Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Export result
- </button>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ </span>
+ </div>
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="load-assessment-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -75,12 +81,16 @@
d="M3 5.5v6.6l1.5-2.6A3 3 0 0 1 7.1 8H15v-.5c0-.83-.67-1.5-1.5-1.5h-4a.5.5 0 0 1-.35-.15l-1.71-1.7A.5.5 0 0 0 7.09 4H4.5C3.67 4 3 4.67 3 5.5Zm1.28 10.48.22.02h9.4a2 2 0 0 0 1.73-1l2.17-3.75A1.5 1.5 0 0 0 16.5 9H7.1a2 2 0 0 0-1.73 1L3.2 13.75a1.5 1.5 0 0 0 1.08 2.23ZM2 14.46V5.5A2.5 2.5 0 0 1 4.5 3h2.59c.4 0 .78.16 1.06.44L9.7 5h3.79A2.5 2.5 0 0 1 16 7.5V8h.5a2.5 2.5 0 0 1 2.16 3.75L16.5 15.5a3 3 0 0 1-2.6 1.5H4.5a2.54 2.54 0 0 1-1.62-.6A2.5 2.5 0 0 1 2 14.46Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Load assessment
- </button>
+ </span>
+ </div>
</div>
<mock-exportdialog
description=""
featureflagstoredata="[object Object]"
htmlexportdata=""
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:356:43)
|
DetailsViewCommandBar › renders invalid load assessment dialog:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L359
expect(received).toMatchSnapshot(hint)
Snapshot name: `DetailsViewCommandBar renders invalid load assessment dialog: invalid load assessment dialog open 1`
- Snapshot - 10
+ Received + 20
@@ -27,17 +27,18 @@
</mock-newtablinkwithtooltip>
</div>
<div
class="detailsViewCommandButtons"
>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="report-export-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -50,19 +51,24 @@
d="M2.5 4c.28 0 .5.22.5.5v11a.5.5 0 0 1-1 0v-11c0-.28.22-.5.5-.5ZM5 10c0-.28.22-.5.5-.5h10.8l-3.15-3.15a.5.5 0 0 1 .7-.7l4 4a.5.5 0 0 1 0 .7l-4 4a.5.5 0 0 1-.7-.7l3.14-3.15H5.5A.5.5 0 0 1 5 10Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Export result
- </button>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ </span>
+ </div>
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="load-assessment-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -75,12 +81,16 @@
d="M3 5.5v6.6l1.5-2.6A3 3 0 0 1 7.1 8H15v-.5c0-.83-.67-1.5-1.5-1.5h-4a.5.5 0 0 1-.35-.15l-1.71-1.7A.5.5 0 0 0 7.09 4H4.5C3.67 4 3 4.67 3 5.5Zm1.28 10.48.22.02h9.4a2 2 0 0 0 1.73-1l2.17-3.75A1.5 1.5 0 0 0 16.5 9H7.1a2 2 0 0 0-1.73 1L3.2 13.75a1.5 1.5 0 0 0 1.08 2.23ZM2 14.46V5.5A2.5 2.5 0 0 1 4.5 3h2.59c.4 0 .78.16 1.06.44L9.7 5h3.79A2.5 2.5 0 0 1 16 7.5V8h.5a2.5 2.5 0 0 1 2.16 3.75L16.5 15.5a3 3 0 0 1-2.6 1.5H4.5a2.54 2.54 0 0 1-1.62-.6A2.5 2.5 0 0 1 2 14.46Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Load assessment
- </button>
+ </span>
+ </div>
</div>
<mock-exportdialog
description=""
featureflagstoredata="[object Object]"
htmlexportdata=""
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:359:43)
|
DetailsViewCommandBar › renders start test over dialog:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L371
expect(received).toMatchSnapshot(hint)
Snapshot name: `DetailsViewCommandBar renders start test over dialog: start test over dialog hidden 1`
- Snapshot - 6
+ Received + 11
@@ -27,17 +27,18 @@
</mock-newtablinkwithtooltip>
</div>
<div
class="detailsViewCommandButtons"
>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="report-export-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -50,18 +51,22 @@
d="M2.5 4c.28 0 .5.22.5.5v11a.5.5 0 0 1-1 0v-11c0-.28.22-.5.5-.5ZM5 10c0-.28.22-.5.5-.5h10.8l-3.15-3.15a.5.5 0 0 1 .7-.7l4 4a.5.5 0 0 1 0 .7l-4 4a.5.5 0 0 1-.7-.7l3.14-3.15H5.5A.5.5 0 0 1 5 10Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Export result
- </button>
+ </span>
+ </div>
<div>
<button
aria-expanded="true"
aria-haspopup="menu"
aria-label="start over menu"
- class="fui-Button r1alrhcs fui-MenuButton ___1xcqye2_8h58iy0 f1q9pm1r f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 fxoiby5 f15q0o9g f1kyxi2w f1t6ax4o fycuoez f1g8o529 f9hdeju f7otkfg"
+ class="fui-Button r1alrhcs fui-MenuButton ___wdno5z0_zvp7ru0 f1q9pm1r f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 fxoiby5 f15q0o9g f1kyxi2w f1t6ax4o fycuoez f9hdeju f7otkfg"
data-tabster="{"restorer":{"type":1}}"
id="menur0"
type="button"
>
<span
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:371:43)
|
DetailsViewCommandBar › renders start test over dialog:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L374
expect(received).toMatchSnapshot(hint)
Snapshot name: `DetailsViewCommandBar renders start test over dialog: start test over dialog open 1`
- Snapshot - 11
+ Received + 13
@@ -27,17 +27,18 @@
</mock-newtablinkwithtooltip>
</div>
<div
class="detailsViewCommandButtons"
>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="report-export-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -50,24 +51,28 @@
d="M2.5 4c.28 0 .5.22.5.5v11a.5.5 0 0 1-1 0v-11c0-.28.22-.5.5-.5ZM5 10c0-.28.22-.5.5-.5h10.8l-3.15-3.15a.5.5 0 0 1 .7-.7l4 4a.5.5 0 0 1 0 .7l-4 4a.5.5 0 0 1-.7-.7l3.14-3.15H5.5A.5.5 0 0 1 5 10Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Export result
- </button>
+ </span>
+ </div>
<div>
<button
- aria-expanded="true"
+ aria-expanded="false"
aria-haspopup="menu"
aria-label="start over menu"
- class="fui-Button r1alrhcs fui-MenuButton ___1xcqye2_8h58iy0 f1q9pm1r f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 fxoiby5 f15q0o9g f1kyxi2w f1t6ax4o fycuoez f1g8o529 f9hdeju f7otkfg"
+ class="fui-Button r1alrhcs fui-MenuButton ___1ct9cz9_1oc00aw f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1kyxi2w f1t6ax4o fycuoez f9hdeju f7otkfg"
data-tabster="{"restorer":{"type":1}}"
id="menur0"
type="button"
>
<span
- class="fui-Button__icon rywnvv2 fui-MenuButton__icon ___1n29ach_duziql0 f1nizpg2 fqyhrn0"
+ class="fui-Button__icon rywnvv2 fui-MenuButton__icon ___963sj20_1qpm2bl f1nizpg2"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -100,13 +105,10 @@
fill="currentColor"
/>
</svg>
</span>
</button>
- <span
- hidden=""
- />
</div>
</div>
<mock-exportdialog
description=""
featureflagstoredata="[object Object]"
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:374:43)
|
DetailsViewCommandBar › renders start assessment over dialog:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L386
expect(received).toMatchSnapshot(hint)
Snapshot name: `DetailsViewCommandBar renders start assessment over dialog: start assessment over dialog hidden 1`
- Snapshot - 6
+ Received + 11
@@ -27,17 +27,18 @@
</mock-newtablinkwithtooltip>
</div>
<div
class="detailsViewCommandButtons"
>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="report-export-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -50,18 +51,22 @@
d="M2.5 4c.28 0 .5.22.5.5v11a.5.5 0 0 1-1 0v-11c0-.28.22-.5.5-.5ZM5 10c0-.28.22-.5.5-.5h10.8l-3.15-3.15a.5.5 0 0 1 .7-.7l4 4a.5.5 0 0 1 0 .7l-4 4a.5.5 0 0 1-.7-.7l3.14-3.15H5.5A.5.5 0 0 1 5 10Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Export result
- </button>
+ </span>
+ </div>
<div>
<button
aria-expanded="true"
aria-haspopup="menu"
aria-label="start over menu"
- class="fui-Button r1alrhcs fui-MenuButton ___1xcqye2_8h58iy0 f1q9pm1r f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 fxoiby5 f15q0o9g f1kyxi2w f1t6ax4o fycuoez f1g8o529 f9hdeju f7otkfg"
+ class="fui-Button r1alrhcs fui-MenuButton ___wdno5z0_zvp7ru0 f1q9pm1r f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 fxoiby5 f15q0o9g f1kyxi2w f1t6ax4o fycuoez f9hdeju f7otkfg"
data-tabster="{"restorer":{"type":1}}"
id="menur1"
type="button"
>
<span
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:386:43)
|
DetailsViewCommandBar › renders start assessment over dialog:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L391
expect(received).toMatchSnapshot(hint)
Snapshot name: `DetailsViewCommandBar renders start assessment over dialog: start assessment over dialog open 1`
- Snapshot - 11
+ Received + 13
@@ -27,17 +27,18 @@
</mock-newtablinkwithtooltip>
</div>
<div
class="detailsViewCommandButtons"
>
- <button
- class="fui-Button r1alrhcs ___wxpic80_18x2e4g f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1t6ax4o fmntwad f1g8o529 f9hdeju f7otkfg"
+ <div
+ class="fui-MenuItem r11normc ___1r20z3h_r66yq00 f1t6ax4o fmntwad fgslppp f9hdeju f139oj5f f7otkfg"
data-automation-id="report-export-button"
- type="button"
+ role="menuitem"
+ tabindex="0"
>
<span
- class="fui-Button__icon rywnvv2 ___963sj20_1qpm2bl f1nizpg2"
+ class="fui-MenuItem__icon r9c34qo"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -50,24 +51,28 @@
d="M2.5 4c.28 0 .5.22.5.5v11a.5.5 0 0 1-1 0v-11c0-.28.22-.5.5-.5ZM5 10c0-.28.22-.5.5-.5h10.8l-3.15-3.15a.5.5 0 0 1 .7-.7l4 4a.5.5 0 0 1 0 .7l-4 4a.5.5 0 0 1-.7-.7l3.14-3.15H5.5A.5.5 0 0 1 5 10Z"
fill="currentColor"
/>
</svg>
</span>
+ <span
+ class="fui-MenuItem__content r1ls86vo"
+ >
Export result
- </button>
+ </span>
+ </div>
<div>
<button
- aria-expanded="true"
+ aria-expanded="false"
aria-haspopup="menu"
aria-label="start over menu"
- class="fui-Button r1alrhcs fui-MenuButton ___1xcqye2_8h58iy0 f1q9pm1r f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 fxoiby5 f15q0o9g f1kyxi2w f1t6ax4o fycuoez f1g8o529 f9hdeju f7otkfg"
+ class="fui-Button r1alrhcs fui-MenuButton ___1ct9cz9_1oc00aw f1c21dwh f1p3nwhy f11589ue f1q5o8ev f1pdflbu fkfq4zb f1s2uweq fr80ssc f1ukrpxl fecsdlb f139oj5f ft1hn21 fuxngvv fwiml72 f1h0usnq fs4ktlq f16h9ulv fx2bmrt f1fg1p5m f1dfjoow f1j98vj9 f1tme0vf f4xjyn1 f18onu3q f9ddjv3 f1kyxi2w f1t6ax4o fycuoez f9hdeju f7otkfg"
data-tabster="{"restorer":{"type":1}}"
id="menur1"
type="button"
>
<span
- class="fui-Button__icon rywnvv2 fui-MenuButton__icon ___1n29ach_duziql0 f1nizpg2 fqyhrn0"
+ class="fui-Button__icon rywnvv2 fui-MenuButton__icon ___963sj20_1qpm2bl f1nizpg2"
>
<svg
aria-hidden="true"
class="___134f6oe_gm9x020 f1w7gpdv fez10in fg4l7m0 fq3bhnu"
fill="currentColor"
@@ -100,13 +105,10 @@
fill="currentColor"
/>
</svg>
</span>
</button>
- <span
- hidden=""
- />
</div>
</div>
<mock-exportdialog
description=""
featureflagstoredata="[object Object]"
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:391:43)
|
Details View -> Assessment -> Headings › Requirement page › should pass accessibility validation with highContrastMode=true:
src/tests/end-to-end/tests/details-view/headings.test.ts#L58
expect(received).toMatchSnapshot()
Snapshot name: `Details View -> Assessment -> Headings Requirement page should pass accessibility validation with highContrastMode=true 1`
- Snapshot - 0
+ Received + 12
@@ -1,7 +1,19 @@
[
{
+ "id": "aria-required-parent",
+ "nodes": [
+ {
+ "failureSummary": "Fix any of the following:
+ Required ARIA parents role not present: menu, menubar, group",
+ "selector": [
+ ".insights-command-button--T-hSI",
+ ],
+ },
+ ],
+ },
+ {
"id": "label-content-name-mismatch",
"nodes": [
{
"failureSummary": "Fix any of the following:
Text inside the element is not included in the accessible name",
at toMatchSnapshot (src/tests/end-to-end/tests/details-view/headings.test.ts:58:33)
|
Details View -> Assessment -> Headings › Requirement page › should pass accessibility validation with highContrastMode=false:
src/tests/end-to-end/tests/details-view/headings.test.ts#L58
expect(received).toMatchSnapshot()
Snapshot name: `Details View -> Assessment -> Headings Requirement page should pass accessibility validation with highContrastMode=false 1`
- Snapshot - 0
+ Received + 12
@@ -1,7 +1,19 @@
[
{
+ "id": "aria-required-parent",
+ "nodes": [
+ {
+ "failureSummary": "Fix any of the following:
+ Required ARIA parents role not present: menu, menubar, group",
+ "selector": [
+ ".insights-command-button--T-hSI",
+ ],
+ },
+ ],
+ },
+ {
"id": "label-content-name-mismatch",
"nodes": [
{
"failureSummary": "Fix any of the following:
Text inside the element is not included in the accessible name",
at toMatchSnapshot (src/tests/end-to-end/tests/details-view/headings.test.ts:58:33)
|
Details View -> Quick Assess -> Instructions › Requirement page › should pass accessibility validation with highContrastMode=true:
src/tests/end-to-end/tests/details-view/instructions.test.ts#L53
expect(received).toMatchSnapshot()
Snapshot name: `Details View -> Quick Assess -> Instructions Requirement page should pass accessibility validation with highContrastMode=true 1`
- Snapshot - 1
+ Received + 14
- []
+ [
+ {
+ "id": "aria-required-parent",
+ "nodes": [
+ {
+ "failureSummary": "Fix any of the following:
+ Required ARIA parents role not present: menu, menubar, group",
+ "selector": [
+ ".insights-command-button--T-hSI",
+ ],
+ },
+ ],
+ },
+ ]
at toMatchSnapshot (src/tests/end-to-end/tests/details-view/instructions.test.ts:53:33)
|
Details View -> Quick Assess -> Instructions › Requirement page › should pass accessibility validation with highContrastMode=false:
src/tests/end-to-end/tests/details-view/instructions.test.ts#L53
expect(received).toMatchSnapshot()
Snapshot name: `Details View -> Quick Assess -> Instructions Requirement page should pass accessibility validation with highContrastMode=false 1`
- Snapshot - 1
+ Received + 14
- []
+ [
+ {
+ "id": "aria-required-parent",
+ "nodes": [
+ {
+ "failureSummary": "Fix any of the following:
+ Required ARIA parents role not present: menu, menubar, group",
+ "selector": [
+ ".insights-command-button--T-hSI",
+ ],
+ },
+ ],
+ },
+ ]
at toMatchSnapshot (src/tests/end-to-end/tests/details-view/instructions.test.ts:53:33)
|
Details View -> FastPass -> TabStops › should pass accessibility validation with highContrastMode=true:
src/tests/end-to-end/tests/details-view/tabstops.test.ts#L33
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"id": "aria-required-parent", "nodes": [{"failureSummary": "Fix any of the following:
Required ARIA parents role not present: menu, menubar, group", "selector": [".___1r20z3h"]}, {"failureSummary": "Fix any of the following:
Required ARIA parents role not present: menu, menubar, group", "selector": [".start-over-menu-item---gz000Z"]}]}]
at toHaveLength (src/tests/end-to-end/tests/details-view/tabstops.test.ts:33:29)
at runMicrotasks (<anonymous>)
|
Details View -> FastPass -> TabStops › should pass accessibility validation with highContrastMode=false:
src/tests/end-to-end/tests/details-view/tabstops.test.ts#L33
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"id": "aria-required-parent", "nodes": [{"failureSummary": "Fix any of the following:
Required ARIA parents role not present: menu, menubar, group", "selector": [".___1r20z3h"]}, {"failureSummary": "Fix any of the following:
Required ARIA parents role not present: menu, menubar, group", "selector": [".start-over-menu-item---gz000Z"]}]}]
at toHaveLength (src/tests/end-to-end/tests/details-view/tabstops.test.ts:33:29)
|
e2e-web-tests (2/2)
Process completed with exit code 1.
|
Details View -> › Assessment -> Reflow › With command bar button visible › with command bar button expanded › should pass accessibility validation with command bar menu open and high contrast mode=true:
src/tests/end-to-end/tests/details-view/reflow-ui.test.ts#L248
expect(received).toMatchSnapshot()
Snapshot name: `Details View -> Assessment -> Reflow With command bar button visible with command bar button expanded should pass accessibility validation with command bar menu open and high contrast mode=true 1`
- Snapshot - 0
+ Received + 13
@@ -16,6 +16,19 @@
"i:nth-child(0)",
],
},
],
},
+ {
+ "id": "aria-required-children",
+ "nodes": [
+ {
+ "failureSummary": "Fix any of the following:
+ Element has children which are not allowed: button[aria-haspopup]
+ Element uses aria-busy="true" while showing a loader",
+ "selector": [
+ ".fui-MenuList",
+ ],
+ },
+ ],
+ },
]
at toMatchSnapshot (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:248:25)
at src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:80:25
|
Details View -> › Assessment -> Reflow › With command bar button visible › with command bar button expanded › should pass accessibility validation with command bar menu open and high contrast mode=false:
src/tests/end-to-end/tests/details-view/reflow-ui.test.ts#L248
expect(received).toMatchSnapshot()
Snapshot name: `Details View -> Assessment -> Reflow With command bar button visible with command bar button expanded should pass accessibility validation with command bar menu open and high contrast mode=false 1`
- Snapshot - 0
+ Received + 13
@@ -16,6 +16,19 @@
"i:nth-child(0)",
],
},
],
},
+ {
+ "id": "aria-required-children",
+ "nodes": [
+ {
+ "failureSummary": "Fix any of the following:
+ Element has children which are not allowed: button[aria-haspopup]
+ Element uses aria-busy="true" while showing a loader",
+ "selector": [
+ ".fui-MenuList",
+ ],
+ },
+ ],
+ },
]
at toMatchSnapshot (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:248:25)
at src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:80:25
|
Details View -> › Quick Assess -> Reflow › With command bar button visible › with command bar button expanded › should pass accessibility validation with command bar menu open and high contrast mode=true:
src/tests/end-to-end/tests/details-view/reflow-ui.test.ts#L248
expect(received).toMatchSnapshot()
Snapshot name: `Details View -> Quick Assess -> Reflow With command bar button visible with command bar button expanded should pass accessibility validation with command bar menu open and high contrast mode=true 1`
- Snapshot - 0
+ Received + 13
@@ -16,6 +16,19 @@
"i:nth-child(0)",
],
},
],
},
+ {
+ "id": "aria-required-children",
+ "nodes": [
+ {
+ "failureSummary": "Fix any of the following:
+ Element has children which are not allowed: button[aria-haspopup]
+ Element uses aria-busy="true" while showing a loader",
+ "selector": [
+ ".fui-MenuList",
+ ],
+ },
+ ],
+ },
]
at toMatchSnapshot (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:248:25)
at src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:131:25
|
Details View -> › Quick Assess -> Reflow › With command bar button visible › with command bar button expanded › should pass accessibility validation with command bar menu open and high contrast mode=false:
src/tests/end-to-end/tests/details-view/reflow-ui.test.ts#L248
expect(received).toMatchSnapshot()
Snapshot name: `Details View -> Quick Assess -> Reflow With command bar button visible with command bar button expanded should pass accessibility validation with command bar menu open and high contrast mode=false 1`
- Snapshot - 0
+ Received + 13
@@ -16,6 +16,19 @@
"i:nth-child(0)",
],
},
],
},
+ {
+ "id": "aria-required-children",
+ "nodes": [
+ {
+ "failureSummary": "Fix any of the following:
+ Element has children which are not allowed: button[aria-haspopup]
+ Element uses aria-busy="true" while showing a loader",
+ "selector": [
+ ".fui-MenuList",
+ ],
+ },
+ ],
+ },
]
at toMatchSnapshot (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:248:25)
at src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:131:25
|
Quick Assess › complete button › With high contrast mode=true:
src/tests/end-to-end/tests/details-view/quick-assess.test.ts#L124
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"id": "aria-required-parent", "nodes": [{"failureSummary": "Fix any of the following:
Required ARIA parents role not present: menu, menubar, group", "selector": ["div[data-automation-id=\"report-export-button\"]"]}, {"failureSummary": "Fix any of the following:
Required ARIA parents role not present: menu, menubar, group", "selector": ["div[data-automation-id=\"transfer-to-assessment-button\"]"]}]}]
at toHaveLength (src/tests/end-to-end/tests/details-view/quick-assess.test.ts:124:25)
at src/tests/end-to-end/tests/details-view/quick-assess.test.ts:95:13
|
Quick Assess › complete button › With high contrast mode=false:
src/tests/end-to-end/tests/details-view/quick-assess.test.ts#L124
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"id": "aria-required-parent", "nodes": [{"failureSummary": "Fix any of the following:
Required ARIA parents role not present: menu, menubar, group", "selector": ["div[data-automation-id=\"report-export-button\"]"]}, {"failureSummary": "Fix any of the following:
Required ARIA parents role not present: menu, menubar, group", "selector": ["div[data-automation-id=\"transfer-to-assessment-button\"]"]}]}]
at toHaveLength (src/tests/end-to-end/tests/details-view/quick-assess.test.ts:124:25)
at src/tests/end-to-end/tests/details-view/quick-assess.test.ts:95:13
|
e2e-web-tests (1/2)
Process completed with exit code 1.
|
codeql
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
|
codeql
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.18.1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-report-tests-results
Expired
|
1.36 KB |
|
e2e-web-tests-1-debug-logs
Expired
|
93.7 MB |
|
e2e-web-tests-1-results
Expired
|
7.53 KB |
|
e2e-web-tests-2-debug-logs
Expired
|
76.2 MB |
|
e2e-web-tests-2-results
Expired
|
2.73 KB |
|
unit-tests-1-results
Expired
|
163 KB |
|
unit-tests-2-results
Expired
|
161 KB |
|