refactor(atomic): split the atomic store into composable parts #25605
Annotations
2 errors and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L155
1) [chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:152:13 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button
Error: expect(locator).not.toBeVisible()
Locator: getByRole('button', { name: 'Show less' })
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 7000ms
- waiting for getByRole('button', { name: 'Show less' })
2 × locator resolved to <button title="Show less" class="btn-text-primary expandable-text-button p-1 text-xs ripple-parent ripple-relative">…</button>
- unexpected value "visible"
153 | productDescription,
154 | }) => {
> 155 | expect(productDescription.showLessButton).not.toBeVisible();
| ^
156 | });
157 | });
158 | });
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:155:61
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L1
1) [chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:152:13 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button
Error: Test ended.
Browser logs:
<launching> /home/runner/.cache/ms-playwright/chromium_headless_shell-1148/chrome-linux/headless_shell --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-QD2VP4 --remote-debugging-pipe --no-startup-window
<launched> pid=7063
[pid=7063][err] [1223/164807.010754:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
[pid=7063][err] [1223/164807.011663:WARNING:viz_main_impl.cc(85)] VizNullHypothesis is disabled (not a warning)
[pid=7063][err] [1223/164807.205294:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[pid=7063] <gracefully close start>
|
Run /./.github/actions/playwright-atomic
1 flaky
[chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:152:13 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button
22 passed (53.6s)
|
Loading