Skip to content

feat: [M3-8719] - Add a 'Mask Sensitive Data' setting to Cloud Manager #19396

feat: [M3-8719] - Add a 'Mask Sensitive Data' setting to Cloud Manager

feat: [M3-8719] - Add a 'Mask Sensitive Data' setting to Cloud Manager #19396

Triggered via pull request October 31, 2024 23:45
Status Failure
Total duration 17m 48s
Artifacts 3

ci.yml

on: pull_request
build-validation
1m 38s
build-validation
Matrix: lint
publish-sdk
0s
publish-sdk
publish-storybook
0s
publish-storybook
Fit to window
Zoom out
Zoom in

Annotations

3 errors
src/components/MaskableText/MaskableText.test.tsx > MaskableText > should render masked text if the maskSensitiveData preference is enabled: packages/manager/src/components/MaskableText/MaskableText.test.tsx#L50
TestingLibraryElementError: Unable to find an element with the text: •••••••••••. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="MuiStack-root css-11beh5z-MuiStack-root" > <p class="MuiTypography-root MuiTypography-body1 css-1fgs34v-MuiTypography-root" > •••••••••••• </p> </div> </div> </body> ❯ Object.getElementError ../../node_modules/@testing-library/dom/dist/config.js:37:19 ❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ getByText ../../node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/components/MaskableText/MaskableText.test.tsx:50:12
src/components/MaskableText/MaskableText.test.tsx > MaskableText > should render a toggleable VisibilityIcon tooltip if isToggleable is provided: packages/manager/src/components/MaskableText/MaskableText.test.tsx#L99
TestingLibraryElementError: Unable to find an element with the text: •••••••••••. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="MuiStack-root css-11beh5z-MuiStack-root" > <p class="MuiTypography-root MuiTypography-body1 css-1fgs34v-MuiTypography-root" > •••••••••••• </p> <button aria-label="Show" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge css-eipger-MuiButtonBase-root-MuiIconButton-root-StyledToggleButton" data-mui-internal-clone-element="true" data-qa-tooltip="Show" tabindex="0" type="button" > <svg aria-hidden="true" aria-label="Show" class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-6yqi1c-MuiSvgIcon-root" data-testid="VisibilityIcon" focusable="false" viewBox="0 0 24 24" > <path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3" /> </svg> <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> </div> </div> </body> ❯ Object.getElementError ../../node_modules/@testing-library/dom/dist/config.js:37:19 ❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ getByText ../../node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/components/MaskableText/MaskableText.test.tsx:99:12
test-manager
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
packages-api-v4-lib
333 KB
packages-validation-lib
156 KB
storybook-build
11.2 MB