feat: [M3-8719] - Add a 'Mask Sensitive Data' setting to Cloud Manager #19396
ci.yml
on: pull_request
build-validation
1m 38s
test-search
1m 29s
test-ui
1m 27s
Matrix: lint
test-manager
14m 5s
typecheck-ui
1m 29s
typecheck-manager
2m 16s
build-manager
0s
publish-sdk
0s
publish-storybook
0s
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 |
|