Skip to content

[next] fix: extract un-escaping of text/code nodes with XML-like content #452

[next] fix: extract un-escaping of text/code nodes with XML-like content

[next] fix: extract un-escaping of text/code nodes with XML-like content #452

Triggered via pull request February 7, 2025 17:58
Status Failure
Total duration 4m 51s
Artifacts 3

playwright.yml

on: pull_request
Matrix: playwright-tests
merge-reports
32s
merge-reports
playwright-test-summary
0s
playwright-test-summary
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 1 notice
playwright-tests (1, 2)
Process completed with exit code 1.
playwright-tests (2, 2)
Process completed with exit code 1.
playwright-test-summary
Process completed with exit code 1.
[chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold: tests/component/components/NcRichText/markown-rendering.spec.ts#L418
1) [chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold, italic, XML-like syntax)) Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#root').locator('internal:control=component').locator('code') Expected string: "inline code **bold text** _italic text_ <span>text</span>" Received string: "inline code **bold text** _italic text_ &lt;span>text&lt;/span&gt;" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('#root').locator('internal:control=component').locator('code') 9 Γ— locator resolved to <code data-v-7fdbd9bf="">inline code **bold text** _italic text_ &lt;span>…</code> - unexpected value "inline code **bold text** _italic text_ &lt;span>text&lt;/span&gt;" 416 | }) 417 | > 418 | await expect(component.locator('code')).toHaveText('inline code **bold text** _italic text_ <span>text</span>') | ^ 419 | }) 420 | }) 421 | at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcRichText/markown-rendering.spec.ts:418:43
[chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold: tests/component/components/NcRichText/markown-rendering.spec.ts#L418
1) [chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold, italic, XML-like syntax)) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#root').locator('internal:control=component').locator('code') Expected string: "inline code **bold text** _italic text_ <span>text</span>" Received string: "inline code **bold text** _italic text_ &lt;span>text&lt;/span&gt;" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('#root').locator('internal:control=component').locator('code') 9 Γ— locator resolved to <code data-v-7fdbd9bf="">inline code **bold text** _italic text_ &lt;span>…</code> - unexpected value "inline code **bold text** _italic text_ &lt;span>text&lt;/span&gt;" 416 | }) 417 | > 418 | await expect(component.locator('code')).toHaveText('inline code **bold text** _italic text_ <span>text</span>') | ^ 419 | }) 420 | }) 421 | at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcRichText/markown-rendering.spec.ts:418:43
[chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold: tests/component/components/NcRichText/markown-rendering.spec.ts#L418
1) [chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold, italic, XML-like syntax)) Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#root').locator('internal:control=component').locator('code') Expected string: "inline code **bold text** _italic text_ <span>text</span>" Received string: "inline code **bold text** _italic text_ &lt;span>text&lt;/span&gt;" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('#root').locator('internal:control=component').locator('code') 9 Γ— locator resolved to <code data-v-7fdbd9bf="">inline code **bold text** _italic text_ &lt;span>…</code> - unexpected value "inline code **bold text** _italic text_ &lt;span>text&lt;/span&gt;" 416 | }) 417 | > 418 | await expect(component.locator('code')).toHaveText('inline code **bold text** _italic text_ <span>text</span>') | ^ 419 | }) 420 | }) 421 | at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcRichText/markown-rendering.spec.ts:418:43
[chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:503:2 β€Ί blockquote β€Ί blockquote (with greater then (&gt;) syntax - escaped): tests/component/components/NcRichText/markown-rendering.spec.ts#L511
2) [chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:503:2 β€Ί blockquote β€Ί blockquote (with greater then (&gt;) syntax - escaped) Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#root').locator('internal:control=component').locator('blockquote') Expected string: " blockquote " Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('#root').locator('internal:control=component').locator('blockquote') 509 | }) 510 | > 511 | await expect(component.locator('blockquote')).toHaveText('\nblockquote\n') | ^ 512 | }) 513 | 514 | test('blockquote (with bold, italic text, inline code)', async ({ mount }) => { at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcRichText/markown-rendering.spec.ts:511:49
[chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:503:2 β€Ί blockquote β€Ί blockquote (with greater then (&gt;) syntax - escaped): tests/component/components/NcRichText/markown-rendering.spec.ts#L511
2) [chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:503:2 β€Ί blockquote β€Ί blockquote (with greater then (&gt;) syntax - escaped) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#root').locator('internal:control=component').locator('blockquote') Expected string: " blockquote " Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('#root').locator('internal:control=component').locator('blockquote') 509 | }) 510 | > 511 | await expect(component.locator('blockquote')).toHaveText('\nblockquote\n') | ^ 512 | }) 513 | 514 | test('blockquote (with bold, italic text, inline code)', async ({ mount }) => { at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcRichText/markown-rendering.spec.ts:511:49
[chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:503:2 β€Ί blockquote β€Ί blockquote (with greater then (&gt;) syntax - escaped): tests/component/components/NcRichText/markown-rendering.spec.ts#L511
2) [chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:503:2 β€Ί blockquote β€Ί blockquote (with greater then (&gt;) syntax - escaped) Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#root').locator('internal:control=component').locator('blockquote') Expected string: " blockquote " Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('#root').locator('internal:control=component').locator('blockquote') 509 | }) 510 | > 511 | await expect(component.locator('blockquote')).toHaveText('\nblockquote\n') | ^ 512 | }) 513 | 514 | test('blockquote (with bold, italic text, inline code)', async ({ mount }) => { at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcRichText/markown-rendering.spec.ts:511:49
[firefox] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold: tests/component/components/NcRichText/markown-rendering.spec.ts#L418
3) [firefox] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold, italic, XML-like syntax)) Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#root').locator('internal:control=component').locator('code') Expected string: "inline code **bold text** _italic text_ <span>text</span>" Received string: "inline code **bold text** _italic text_ &lt;span>text&lt;/span&gt;" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('#root').locator('internal:control=component').locator('code') 9 Γ— locator resolved to <code data-v-7fdbd9bf="">inline code **bold text** _italic text_ &lt;span>…</code> - unexpected value "inline code **bold text** _italic text_ &lt;span>text&lt;/span&gt;" 416 | }) 417 | > 418 | await expect(component.locator('code')).toHaveText('inline code **bold text** _italic text_ <span>text</span>') | ^ 419 | }) 420 | }) 421 | at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcRichText/markown-rendering.spec.ts:418:43
[firefox] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold: tests/component/components/NcRichText/markown-rendering.spec.ts#L418
3) [firefox] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold, italic, XML-like syntax)) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#root').locator('internal:control=component').locator('code') Expected string: "inline code **bold text** _italic text_ <span>text</span>" Received string: "inline code **bold text** _italic text_ &lt;span>text&lt;/span&gt;" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('#root').locator('internal:control=component').locator('code') 9 Γ— locator resolved to <code data-v-7fdbd9bf="">inline code **bold text** _italic text_ &lt;span>…</code> - unexpected value "inline code **bold text** _italic text_ &lt;span>text&lt;/span&gt;" 416 | }) 417 | > 418 | await expect(component.locator('code')).toHaveText('inline code **bold text** _italic text_ <span>text</span>') | ^ 419 | }) 420 | }) 421 | at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcRichText/markown-rendering.spec.ts:418:43
[firefox] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold: tests/component/components/NcRichText/markown-rendering.spec.ts#L418
3) [firefox] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold, italic, XML-like syntax)) Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#root').locator('internal:control=component').locator('code') Expected string: "inline code **bold text** _italic text_ <span>text</span>" Received string: "inline code **bold text** _italic text_ &lt;span>text&lt;/span&gt;" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('#root').locator('internal:control=component').locator('code') 9 Γ— locator resolved to <code data-v-7fdbd9bf="">inline code **bold text** _italic text_ &lt;span>…</code> - unexpected value "inline code **bold text** _italic text_ &lt;span>text&lt;/span&gt;" 416 | }) 417 | > 418 | await expect(component.locator('code')).toHaveText('inline code **bold text** _italic text_ <span>text</span>') | ^ 419 | }) 420 | }) 421 | at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcRichText/markown-rendering.spec.ts:418:43
[firefox] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:503:2 β€Ί blockquote β€Ί blockquote (with greater then (&gt;) syntax - escaped): tests/component/components/NcRichText/markown-rendering.spec.ts#L511
4) [firefox] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:503:2 β€Ί blockquote β€Ί blockquote (with greater then (&gt;) syntax - escaped) Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#root').locator('internal:control=component').locator('blockquote') Expected string: " blockquote " Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('#root').locator('internal:control=component').locator('blockquote') 509 | }) 510 | > 511 | await expect(component.locator('blockquote')).toHaveText('\nblockquote\n') | ^ 512 | }) 513 | 514 | test('blockquote (with bold, italic text, inline code)', async ({ mount }) => { at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcRichText/markown-rendering.spec.ts:511:49
🎭 Playwright Run Summary
6 failed [chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold, italic, XML-like syntax)) [chromium] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:503:2 β€Ί blockquote β€Ί blockquote (with greater then (&gt;) syntax - escaped) [firefox] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold, italic, XML-like syntax)) [firefox] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:503:2 β€Ί blockquote β€Ί blockquote (with greater then (&gt;) syntax - escaped) [webkit] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:410:2 β€Ί inline code β€Ί inline code (with ignored bold, italic, XML-like syntax)) [webkit] β€Ί tests/component/components/NcRichText/markown-rendering.spec.ts:503:2 β€Ί blockquote β€Ί blockquote (with greater then (&gt;) syntax - escaped) 76 skipped 239 passed (2.5m)

Artifacts

Produced during runtime
Name Size
blob-report-1
533 KB
blob-report-2
979 KB
html-report--attempt-1
1.92 MB