feat(fluentUI-migration): ActionButton fluentui v8 to v9 migration #8086
ci.yml
on: pull_request
Matrix: unit-tests
build
1m 1s
lints
1m 22s
codeql
2m 24s
e2e-report-tests
53s
check-clearly-defined
9s
Matrix: e2e-web-tests
publish-code-coverage
0s
Annotations
26 errors and 2 warnings
build:
src/DetailsView/components/command-bar-buttons-menu.tsx#L13
'NamedFC' is declared but its value is never read.
|
build:
src/DetailsView/components/report-export-button.tsx#L7
'ButtonRefFunction' is declared but its value is never read.
|
build:
src/DetailsView/components/start-over-component-factory.tsx#L10
'ButtonRefFunction' is declared but its value is never read.
|
build:
src/DetailsView/components/start-over-dropdown.tsx#L17
'ButtonRefFunction' is declared but its value is never read.
|
build:
src/DetailsView/components/transfer-to-assessment-button.tsx#L8
'ButtonRefFunction' is declared but its value is never read.
|
build:
src/tests/unit/tests/DetailsView/components/report-export-button.test.tsx#L28
Type 'ButtonRefFunction' is not assignable to type 'RefObject<HTMLAnchorElement | HTMLButtonElement>'.
|
build:
src/tests/unit/tests/DetailsView/components/save-assessment-button.test.tsx#L40
Property 'buttonRef' is missing in type '{ deps: { getAssessmentActionMessageCreator: () => AssessmentActionMessageCreator; userConfigMessageCreator: UserConfigMessageCreator; }; download: string; href: string; userConfigurationStoreData: UserConfigurationStoreData; handleSaveAssesmentButtonClick: (event: React.MouseEvent<any>) => void; }' but required in type 'SaveAssessmentButtonProps'.
|
build:
src/tests/unit/tests/DetailsView/components/start-over-dropdown.test.tsx#L65
Type 'ButtonRefFunction' is not assignable to type 'RefObject<HTMLButtonElement>'.
|
build:
src/tests/unit/tests/DetailsView/components/start-over-dropdown.test.tsx#L101
Type 'ButtonRefFunction' is not assignable to type 'RefObject<HTMLButtonElement>'.
|
build
Process completed with exit code 2.
|
lints:
src/DetailsView/components/details-view-command-bar.tsx#L310
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
|
lints:
src/DetailsView/components/details-view-command-bar.tsx#L350
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
|
lints:
src/DetailsView/components/start-over-component-factory.tsx#L26
`react` import should occur before import of `./start-over-menu-item.scss`
|
lints:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L79
`DetailsView/components/save-assessment-dialog` import should occur before import of `DetailsView/components/start-over-component-factory`
|
lints:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L80
`DetailsView/components/save-assessment-button` import should occur before import of `DetailsView/components/save-assessment-button-factory`
|
lints
Process completed with exit code 1.
|
DetailsViewCommandBar › renders with buttons collapsed into a menu:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L330
expect(received).toMatchSnapshot()
Snapshot name: `DetailsViewCommandBar renders with buttons collapsed into a menu 1`
- Snapshot - 0
+ Received + 1
@@ -24,10 +24,11 @@
>
command-bar-test-tab-title
</span>
</mock-newtablinkwithtooltip>
</div>
+ <mock-commandbarbuttonsmenu />
<mock-exportdialog
description=""
featureflagstoredata="[object Object]"
htmlexportdata=""
htmlfilename=""
at Object.toMatchSnapshot (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:330:43)
|
DetailsViewCommandBar › renders save assessment dialog:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L377
TypeError: Cannot read properties of undefined (reading 'isOpen')
at Object.<anonymous> (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:377:72)
|
DetailsViewCommandBar › renders start test over dialog:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L413
TypeError: Cannot read properties of undefined (reading 'dialogState')
at Object.<anonymous> (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:413:67)
|
DetailsViewCommandBar › renders start assessment over dialog:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L428
TypeError: Cannot read properties of undefined (reading 'dialogState')
at Object.<anonymous> (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:428:67)
|
DetailsViewCommandBar › Button focus › do not change focus to transfer assessment button when focus ref is not set:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L513
TypeError: setRef is not a function
at Object.setRef (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:513:13)
|
DetailsViewCommandBar › Button focus › do not change focus to start over button when focus ref is not set:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L548
TypeError: Cannot read properties of undefined (reading 'dismissDialog')
at src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:548:57
at node_modules/@testing-library/react/dist/act-compat.js:48:24
at act (node_modules/react/cjs/react.development.js:2512:16)
at node_modules/@testing-library/react/dist/act-compat.js:47:25
at Object.<anonymous> (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:547:16)
|
DetailsViewCommandBar › Button focus › focus start over button when focus ref is set:
src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx#L574
TypeError: Cannot read properties of undefined (reading 'dismissDialog')
at src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:574:57
at node_modules/@testing-library/react/dist/act-compat.js:48:24
at act (node_modules/react/cjs/react.development.js:2512:16)
at node_modules/@testing-library/react/dist/act-compat.js:47:25
at Object.<anonymous> (src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx:573:16)
|
unit-tests (1/2)
Process completed with exit code 1.
|
Details View -> Overview Page › should display pinned results when loading web@2.26.0-valid-mixed-results.a11ywebassessment:
src/tests/end-to-end/common/page-controllers/page.ts#L102
page.waitForSelector: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[data-automation-id="outcome-summary-bar"]:not([aria-label="0% Passed, 100% Incomplete, 0% Failed"])') to be visible
at waitForSelector (src/tests/end-to-end/common/page-controllers/page.ts:102:43)
at wrappedFunction (src/tests/end-to-end/common/screenshot-on-error.ts:22:22)
at DetailsViewPage.screenshotOnError (src/tests/end-to-end/common/page-controllers/page.ts:200:39)
at DetailsViewPage.screenshotOnError (src/tests/end-to-end/common/page-controllers/page.ts:100:27)
at waitForSelector (src/tests/end-to-end/tests/details-view/overview.test.ts:62:28)
|
e2e-web-tests (2/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.2.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-report-tests-results
|
550 Bytes |
|
e2e-web-tests-1-results
|
6.84 KB |
|
e2e-web-tests-2-debug-logs
|
77.2 MB |
|
e2e-web-tests-2-results
|
2.35 KB |
|
unit-tests-1-results
|
155 KB |
|
unit-tests-2-results
|
156 KB |
|