Add code block copy button #1177
pull-request-validation.yml
on: pull_request
Build
3m 2s
Unit test
4m 3s
Build samples
30s
Static code analysis
4m 19s
Type definitions test
3m 31s
Matrix: html-test
Merge test results
12s
Merge test snapshots
2s
Annotations
7 errors and 2 warnings
renderMarkdown › should render code correctly:
packages/bundle/src/__tests__/renderMarkdown.spec.js#L60
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
@@ -1,6 +1,6 @@
- <pre class="webchat__render-markdown__code-block"><webchat__code-block-copy-button data-value="{
+ <pre class="webchat__render-markdown__code-block"><webchat__code-block-copy-button class="undefined" data-alt-copied="undefined" data-alt-copy="undefined" data-value="{
"hello": "World!"
}
"></webchat__code-block-copy-button><code>{
"hello": "World!"
}
at Object.toBe (packages/bundle/src/__tests__/renderMarkdown.spec.js:60:7)
|
Unit test
Process completed with exit code 1.
|
useScrollTo hook › should scroll based on activity ID:
<anonymous>#L151
expect(received).toHaveProperty(path, value)
Expected path: "activityID"
Expected value: "0"
Received value: "12"
at _callee$ (<anonymous>:151:38)
at l (https:/webchat2/__dist__/webchat-es5.js:81:12814)
at Generator._invoke (https:/webchat2/__dist__/webchat-es5.js:81:12562)
at Generator.next (https:/webchat2/__dist__/webchat-es5.js:81:13173)
at asyncGeneratorStep (<anonymous>:3:103)
at _next (<anonymous>:5:194)
|
HTML test (13/17)
Process completed with exit code 1.
|
Activity render performance › does not produce unnecessary rerenders:
<anonymous>#L124
botframework-webchat: LiveRegionTwinContext.constructor can only be used inside of <LiveRegionTwinComposer>.
at _callee$ (<anonymous>:124:50)
at l (https:/webchat2/__dist__/webchat-es5.js:81:12814)
at Generator._invoke (https:/webchat2/__dist__/webchat-es5.js:81:12562)
at Generator.next (https:/webchat2/__dist__/webchat-es5.js:81:13173)
at asyncGeneratorStep (<anonymous>:11:103)
at _next (<anonymous>:13:194)
|
HTML test (5/17)
Process completed with exit code 1.
|
Merge test snapshots
No artifacts found matching pattern 'test-snapshot-diff-*'
|
HTML test (13/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (5/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
|
106 MB |
|
test-result
|
1.27 MB |
|