Fix text missing after HTML tags #1084
pull-request-validation.yml
on: pull_request
Build
3m 39s
Unit test
4m 41s
Build samples
33s
Static code analysis
5m 8s
Type definitions test
4m 13s
Matrix: html-test
Merge test results
13s
Merge test snapshots
6s
Annotations
31 errors and 10 warnings
markdownRenderHTML when set to false › should not render HTML in citation modal:
https://webchat2/__tests__/html/markdownRenderHTML/false.citationModal#L100
expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
at https:/webchat2/__tests__/html/markdownRenderHTML/false.citationModal:100:86
|
bot typing message in out-of-order fashion › should sort typing activity in its original order:
<anonymous>#L81
expect(received).toHaveProperty(path, value)
Expected path: "textContent"
- Expected value - 0
+ Received value + 1
Adipisicing cupidatat eu Lorem anim ut aute magna occaecat id cillum.
+
at _callee$ (<anonymous>:81:52)
at tryCatch (<anonymous>:4:1062)
at Generator.<anonymous> (<anonymous>:4:3008)
at Generator.next (<anonymous>:4:1699)
at asyncGeneratorStep (<anonymous>:11:70)
at _next (<anonymous>:12:163)
|
HTML test (9/17)
Process completed with exit code 1.
|
bot typing message in out-of-order fashion › should sort typing activity based on channelData.sequenceNumber:
<anonymous>#L81
expect(received).toHaveProperty(path, value)
Expected path: "textContent"
- Expected value - 0
+ Received value + 1
Adipisicing cupidatat eu Lorem anim ut aute magna occaecat id cillum.
+
at _callee$ (<anonymous>:81:52)
at tryCatch (<anonymous>:4:1062)
at Generator.<anonymous> (<anonymous>:4:3008)
at Generator.next (<anonymous>:4:1699)
at asyncGeneratorStep (<anonymous>:11:70)
at _next (<anonymous>:12:163)
|
HTML test (16/17)
Process completed with exit code 1.
|
renderMarkdown should use Markdown-It if not set in props:
__tests__/hooks/useRenderMarkdownAsHTML.js#L18
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 2
- <div xmlns="http://www.w3.org/1999/xhtml" class="webchat__render-markdown webchat__render-markdown--message-activity webchat--css-xxxxx-xxxxx"><p>Hello, World!</p></div>
+ <div xmlns="http://www.w3.org/1999/xhtml" class="webchat__render-markdown webchat__render-markdown--message-activity webchat--css-xxxxx-xxxxx"><p>Hello, World!</p>
+ </div>
↵
at toBe (__tests__/hooks/useRenderMarkdownAsHTML.js:18:5)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
renderMarkdown should add accessibility text for external links:
__tests__/hooks/useRenderMarkdownAsHTML.js#L59
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 2
- <div xmlns="http://www.w3.org/1999/xhtml" class="webchat__render-markdown webchat__render-markdown--message-activity webchat--css-xxxxx-xxxxx"><p>Click <a href="https://aka.ms/" aria-label="here Opens in a new window; external." rel="noopener noreferrer" target="_blank">here<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt="" class="webchat__render-markdown__external-link-icon" title="Opens in a new window; external." /></a> to find out more.</p></div>
+ <div xmlns="http://www.w3.org/1999/xhtml" class="webchat__render-markdown webchat__render-markdown--message-activity webchat--css-xxxxx-xxxxx"><p>Click <a href="https://aka.ms/" aria-label="here Opens in a new window; external." rel="noopener noreferrer" target="_blank">here<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt="" class="webchat__render-markdown__external-link-icon" title="Opens in a new window; external." /></a> to find out more.</p>
+ </div>
↵
at toBe (__tests__/hooks/useRenderMarkdownAsHTML.js:59:5)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
renderMarkdown should add accessibility text for external links with yue:
__tests__/hooks/useRenderMarkdownAsHTML.js#L73
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 2
- <div xmlns="http://www.w3.org/1999/xhtml" class="webchat__render-markdown webchat__render-markdown--message-activity webchat--css-xxxxx-xxxxx"><p>Click <a href="https://aka.ms/" aria-label="here 喺新嘅視窗開啟外部連結。" rel="noopener noreferrer" target="_blank">here<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt="" class="webchat__render-markdown__external-link-icon" title="喺新嘅視窗開啟外部連結。" /></a> to find out more.</p></div>
+ <div xmlns="http://www.w3.org/1999/xhtml" class="webchat__render-markdown webchat__render-markdown--message-activity webchat--css-xxxxx-xxxxx"><p>Click <a href="https://aka.ms/" aria-label="here 喺新嘅視窗開啟外部連結。" rel="noopener noreferrer" target="_blank">here<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt="" class="webchat__render-markdown__external-link-icon" title="喺新嘅視窗開啟外部連結。" /></a> to find out more.</p>
+ </div>
↵
at toBe (__tests__/hooks/useRenderMarkdownAsHTML.js:73:5)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
HTML test (2/17)
Process completed with exit code 1.
|
markdownRenderHTML when set to false › should not render HTML in message activity:
https://webchat2/__tests__/html/markdownRenderHTML/false.messageActivity#L35
expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
at https:/webchat2/__tests__/html/markdownRenderHTML/false.messageActivity:35:86
|
bot typing with chunks › should display partial message:
<anonymous>#L74
expect(received).toHaveProperty(path, value)
Expected path: "textContent"
- Expected value - 0
+ Received value + 1
Adipisicing cupidatat eu Lorem anim ut aute magna occaecat id cillum.
+
at _callee$ (<anonymous>:74:52)
at tryCatch (<anonymous>:4:1062)
at Generator.<anonymous> (<anonymous>:4:3008)
at Generator.next (<anonymous>:4:1699)
at asyncGeneratorStep (<anonymous>:11:70)
at _next (<anonymous>:12:163)
|
HTML test (10/17)
Process completed with exit code 1.
|
bot reusing concluded livestream session ID › should be ignored:
<anonymous>#L73
expect(received).toHaveProperty(path, value)
Expected path: "textContent"
- Expected value - 0
+ Received value + 1
A quick
+
at _callee$ (<anonymous>:73:52)
at tryCatch (<anonymous>:4:1062)
at Generator.<anonymous> (<anonymous>:4:3008)
at Generator.next (<anonymous>:4:1699)
at asyncGeneratorStep (<anonymous>:11:70)
at _next (<anonymous>:12:163)
|
informative typing message › should be shown as typing indicator:
https://webchat2/__tests__/html/typing/informative#L59
expect(received).toHaveProperty(path, value)
Expected path: "textContent"
- Expected value - 0
+ Received value + 1
Adipisicing cupidatat eu Lorem anim ut aute magna occaecat id cillum.
+
at https:/webchat2/__tests__/html/typing/informative:59:52
|
HTML test (11/17)
Process completed with exit code 1.
|
Livestreaming › should layout properly:
https://webchat2/test-page-object.js#L73211
Timed out while waiting for page condition "informative message show up" after 1 seconds.
at Object.became (https:/webchat2/test-page-object.js:73211:11)
|
HTML test (13/17)
Process completed with exit code 1.
|
markdownRenderHTML when set to false › should not render HTML in Adaptive Cards:
https://webchat2/__tests__/html/markdownRenderHTML/false.adaptiveCards#L62
expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
at https:/webchat2/__tests__/html/markdownRenderHTML/false.adaptiveCards:62:86
|
bot sending multiple messages › should sort typing activity in its original order:
<anonymous>#L74
expect(received).toHaveProperty(path, value)
Expected path: "textContent"
- Expected value - 0
+ Received value + 1
Adipisicing cupidatat eu Lorem anim ut aute magna occaecat id cillum.
+
at _callee$ (<anonymous>:74:52)
at tryCatch (<anonymous>:4:1062)
at Generator.<anonymous> (<anonymous>:4:3008)
at Generator.next (<anonymous>:4:1699)
at asyncGeneratorStep (<anonymous>:11:70)
at _next (<anonymous>:12:163)
|
HTML test (12/17)
Process completed with exit code 1.
|
bot typing multiple messages › should work properly:
<anonymous>#L73
expect(received).toHaveProperty(path, value)
Expected path: "textContent"
- Expected value - 0
+ Received value + 1
Adipisicing cupidatat eu Lorem anim ut aute magna occaecat id cillum.
+
at _callee$ (<anonymous>:73:52)
at tryCatch (<anonymous>:4:1062)
at Generator.<anonymous> (<anonymous>:4:3008)
at Generator.next (<anonymous>:4:1699)
at asyncGeneratorStep (<anonymous>:11:70)
at _next (<anonymous>:12:163)
|
HTML test (7/17)
Process completed with exit code 1.
|
accessibility hacks for Adaptive Cards › when rerendered should persist values:
https://webchat2/__tests__/html/accessibility.adaptiveCard.hack.persistValuesMod#L48
expect(received).toHaveProperty(path, value)
Expected path: "textContent"
- Expected value - 0
+ Received value + 1
Hello, World!
+
at https:/webchat2/__tests__/html/accessibility.adaptiveCard.hack.persistValuesMod:48:52
|
HTML test (4/17)
Process completed with exit code 1.
|
accessibility hacks for Adaptive Cards › when rerendered should persist focused element:
https://webchat2/__tests__/html/accessibility.adaptiveCard.hack.activeElementMod#L38
expect(received).toHaveProperty(path, value)
Expected path: "textContent"
- Expected value - 0
+ Received value + 1
Hello, World!
+
at https:/webchat2/__tests__/html/accessibility.adaptiveCard.hack.activeElementMod:38:52
|
HTML test (3/17)
Process completed with exit code 1.
|
transcript › with activity grouping test 43:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 1.2927517361111112% different from snapshot (5957 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/transcript-activity-grouping-js-transcript-with-activity-grouping-test-43-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
transcript › with activity grouping test 44:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.8685980902777777% different from snapshot (8005 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/transcript-activity-grouping-js-transcript-with-activity-grouping-test-44-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
transcript › with activity grouping test 45:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 2.3368055555555554% different from snapshot (10768 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/transcript-activity-grouping-js-transcript-with-activity-grouping-test-45-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
transcript › with activity grouping test 46:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 1.6839192708333333% different from snapshot (15519 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/transcript-activity-grouping-js-transcript-with-activity-grouping-test-46-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
HTML test (5/17)
Process completed with exit code 1.
|
HTML test (9/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (16/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (2/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (10/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (11/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (13/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (12/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (7/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (4/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (3/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
docker
Expired
|
101 MB |
|
test-result
|
1.28 MB |
|
test-snapshot-diff
|
2.15 MB |
|