test(atomic): add tests & stories for atomic-product-image #23466
Annotations
10 errors, 1 warning, and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/eval at evaluate (:226:30)#L18857
1) [chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:122:5 › with an alt text field › when imageAltField is not specified › should be accessible
Error: frame.evaluate: Error: No elements found for include in page Context
at validateContext (eval at evaluate (:226:30), <anonymous>:18857:15)
at new Context (eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at validateContext (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18857:15)
at Context (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:1:44)
at AxeBuilder.runPartialRecursive (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:280:39)
at AxeBuilder.analyze (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:210:39)
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:123:36
|
Run /./.github/actions/playwright-atomic:
packages/atomic/eval at evaluate (:226:30)#L18857
1) [chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:122:5 › with an alt text field › when imageAltField is not specified › should be accessible
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: frame.evaluate: Error: No elements found for include in page Context
at validateContext (eval at evaluate (:226:30), <anonymous>:18857:15)
at new Context (eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at validateContext (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18857:15)
at Context (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:1:44)
at AxeBuilder.runPartialRecursive (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:280:39)
at AxeBuilder.analyze (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:210:39)
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:123:36
|
Run /./.github/actions/playwright-atomic:
packages/atomic/eval at evaluate (:226:30)#L18857
1) [chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:122:5 › with an alt text field › when imageAltField is not specified › should be accessible
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: frame.evaluate: Error: No elements found for include in page Context
at validateContext (eval at evaluate (:226:30), <anonymous>:18857:15)
at new Context (eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at validateContext (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18857:15)
at Context (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:1:44)
at AxeBuilder.runPartialRecursive (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:280:39)
at AxeBuilder.analyze (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:210:39)
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:123:36
|
Run /./.github/actions/playwright-atomic:
packages/atomic/eval at evaluate (:226:30)#L18857
2) [chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:132:5 › with an alt text field › when imageAltField is invalid or contains non-string values › should be accessible
Error: frame.evaluate: Error: No elements found for include in page Context
at validateContext (eval at evaluate (:226:30), <anonymous>:18857:15)
at new Context (eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at validateContext (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18857:15)
at Context (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:1:44)
at AxeBuilder.runPartialRecursive (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:280:39)
at AxeBuilder.analyze (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:210:39)
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:133:36
|
Run /./.github/actions/playwright-atomic:
packages/atomic/eval at evaluate (:226:30)#L18857
2) [chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:132:5 › with an alt text field › when imageAltField is invalid or contains non-string values › should be accessible
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: frame.evaluate: Error: No elements found for include in page Context
at validateContext (eval at evaluate (:226:30), <anonymous>:18857:15)
at new Context (eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at validateContext (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18857:15)
at Context (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:1:44)
at AxeBuilder.runPartialRecursive (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:280:39)
at AxeBuilder.analyze (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:210:39)
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:133:36
|
Run /./.github/actions/playwright-atomic:
packages/atomic/eval at evaluate (:226:30)#L18857
2) [chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:132:5 › with an alt text field › when imageAltField is invalid or contains non-string values › should be accessible
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: frame.evaluate: Error: No elements found for include in page Context
at validateContext (eval at evaluate (:226:30), <anonymous>:18857:15)
at new Context (eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at validateContext (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18857:15)
at Context (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:1:44)
at AxeBuilder.runPartialRecursive (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:280:39)
at AxeBuilder.analyze (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:210:39)
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:133:36
|
Run /./.github/actions/playwright-atomic:
packages/atomic/eval at evaluate (:226:30)#L18857
3) [chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:147:3 › as a carousel › should be accessible
Error: frame.evaluate: Error: No elements found for include in page Context
at validateContext (eval at evaluate (:226:30), <anonymous>:18857:15)
at new Context (eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at validateContext (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18857:15)
at Context (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:1:44)
at AxeBuilder.runPartialRecursive (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:280:39)
at AxeBuilder.analyze (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:210:39)
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:148:34
|
Run /./.github/actions/playwright-atomic:
packages/atomic/eval at evaluate (:226:30)#L18857
3) [chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:147:3 › as a carousel › should be accessible
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: frame.evaluate: Error: No elements found for include in page Context
at validateContext (eval at evaluate (:226:30), <anonymous>:18857:15)
at new Context (eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at validateContext (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18857:15)
at Context (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:1:44)
at AxeBuilder.runPartialRecursive (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:280:39)
at AxeBuilder.analyze (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:210:39)
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:148:34
|
Run /./.github/actions/playwright-atomic:
packages/atomic/eval at evaluate (:226:30)#L18857
3) [chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:147:3 › as a carousel › should be accessible
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: frame.evaluate: Error: No elements found for include in page Context
at validateContext (eval at evaluate (:226:30), <anonymous>:18857:15)
at new Context (eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at validateContext (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18857:15)
at Context (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18838:7)
at Object._getFrameContexts (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:18879:22)
at eval (/home/runner/work/ui-kit/ui-kit/packages/atomic/eval at evaluate (:226:30), <anonymous>:4:27)
at UtilityScript.evaluate (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/ui-kit/ui-kit/packages/atomic/<anonymous>:1:44)
at AxeBuilder.runPartialRecursive (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:280:39)
at AxeBuilder.analyze (/home/runner/work/ui-kit/ui-kit/node_modules/@axe-core/playwright/dist/index.mjs:210:39)
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:148:34
|
Run /./.github/actions/playwright-atomic
Process completed with exit code 1.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "result-lists-screenshots".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Run /./.github/actions/playwright-atomic
3 failed
[chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:122:5 › with an alt text field › when imageAltField is not specified › should be accessible
[chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:132:5 › with an alt text field › when imageAltField is invalid or contains non-string values › should be accessible
[chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:147:3 › as a carousel › should be accessible
13 passed (14.1s)
|
Loading