[WC-3464] Rich text Tiptapeditor #9603
BuildJobs.yml
on: pull_request
Check SHA in GH Actions
8s
Matrix: build
Matrix: Run automated end-to-end tests
Publish E2E test summary
34s
Annotations
9 errors and 14 warnings
|
Run code quality check
Process completed with exit code 1.
|
|
Run code quality check
@mendix/rich-text-web#lint: command (/home/runner/work/web-widgets/web-widgets/packages/pluggableWidgets/rich-text-web) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
|
|
Run code quality check:
packages/pluggableWidgets/rich-text-web/src/components/toolbars/ToolbarConfig.ts#L27
Replace `"textColor"·|·"textHighlight"·|·"cellBackground"·|·"tableBackground"` with `|·"textColor"⏎····|·"textHighlight"⏎····|·"cellBackground"⏎····|·"tableBackground"⏎···`
|
|
Run automated end-to-end tests (0)
Canceling since a higher priority waiting request for Run build jobs-refs/pull/2270/merge exists
|
|
Run automated end-to-end tests (0)
The operation was canceled.
|
|
Run automated end-to-end tests (0)
Process completed with exit code 1.
|
|
Run automated end-to-end tests (0)
@mendix/rich-text-web#e2e: command (/home/runner/work/web-widgets/web-widgets/packages/pluggableWidgets/rich-text-web) /home/runner/setup-pnpm/node_modules/.bin/pnpm run e2e exited (1)
|
|
Failed Test: compares with a screenshot baseline and checks if inline basic mode are rendered as expected:
packages/pluggableWidgets/rich-text-web/e2e/RichText.spec.js#L0
compares with a screenshot baseline and checks if inline basic mode are rendered as expected: Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('.mx-name-richText1')
Expected an image 1122px by 368px, received 1122px by 515px. 18510 pixels (ratio 0.04 of all image pixels) are different.
Snapshot: inlineBasicMode.png
Call log:
- Expect "toHaveScreenshot(inlineBasicMode.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx-name-richText1')
- locator resolved to <div class="mx-name-richText1 form-group no-columns">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 1122px by 368px, received 1122px by 515px. 18510 pixels (ratio 0.04 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx-name-richText1')
- locator resolved to <div class="mx-name-richText1 form-group no-columns">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 1122px by 368px, received 1122px by 515px. 18510 pixels (ratio 0.04 of all image pixels) are different.
- Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('.mx-name-richText1')
Expected an image 1122px by 368px, received 1122px by 515px. 18510 pixels (ratio 0.04 of all image pixels) are different.
Snapshot: inlineBasicMode.png
Call log:
- Expect "toHaveScreenshot(inlineBasicMode.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx-name-richText1')
- locator resolved to <div class="mx-name-richText1 form-group no-columns">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 1122px by 368px, received 1122px by 515px. 18510 pixels (ratio 0.04 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx-name-richText1')
- locator resolved to <div class="mx-name-richText1 form-group no-columns">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 1122px by 368px, received 1122px by 515px. 18510 pixels (ratio 0.04 of all image pixels) are different.
at /home/runner/work/web-widgets/web-widgets/packages/pluggableWidgets/rich-text-web/e2e/RichText.spec.js:16:58
|
|
Run build jobs
Canceling since a higher priority waiting request for Run build jobs-refs/pull/2270/merge exists
|
|
Plan E2E matrix
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run code quality check
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run code quality check:
packages/pluggableWidgets/rich-text-web/src/extensions/TableBackgroundColor.ts#L731
Missing return type on function
|
|
Run code quality check:
packages/pluggableWidgets/rich-text-web/src/extensions/TableBackgroundColor.ts#L719
Missing return type on function
|
|
Run code quality check:
packages/pluggableWidgets/rich-text-web/src/extensions/TableBackgroundColor.ts#L708
Missing return type on function
|
|
Run code quality check:
packages/pluggableWidgets/rich-text-web/src/extensions/TableBackgroundColor.ts#L583
Missing return type on function
|
|
Run code quality check:
packages/pluggableWidgets/rich-text-web/src/extensions/TableBackgroundColor.ts#L570
Missing return type on function
|
|
Run code quality check:
packages/pluggableWidgets/rich-text-web/src/extensions/TableBackgroundColor.ts#L19
Missing return type on function
|
|
Run code quality check:
packages/pluggableWidgets/rich-text-web/src/components/toolbars/Toolbar.tsx#L26
`classnames` import should occur before import of `react`
|
|
Run code quality check:
packages/pluggableWidgets/rich-text-web/src/components/HighlightedCodeEditor.tsx#L6
`classnames` import should occur before import of `highlight.js/lib/core`
|
|
Run code quality check:
packages/pluggableWidgets/rich-text-web/src/__tests__/RichText.spec.tsx#L3
`@testing-library/react` import should occur before import of `@mendix/widget-plugin-test-utils`
|
|
Run code quality check:
packages/pluggableWidgets/rich-text-web/src/__tests__/HelpButton.spec.tsx#L3
`@testing-library/react` import should occur before import of `@mendix/widget-plugin-test-utils`
|
|
Run automated end-to-end tests (0)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Publish E2E test summary
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6, pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
ctrf-reports-0
|
2.07 KB |
sha256:1877e69fe5e701bf99f88d9e0d53f444d46f700965ccd1600859b076c8b7f4bb
|
|