Update jest-environment-jsdom #69
pull-request-validation.yml
on: push
Matrix: html-test
Merge test result
21s
Annotations
50 errors and 11 warnings
supplying both audioConfig and audioInputDeviceId:
packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.spec.js#L137
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `supplying both audioConfig and audioInputDeviceId 1`
- Snapshot - 1
+ Received + 1
- "botframework-webchat: \"audioConfig\" and \"audioInputDeviceId\" cannot be set at the same time; ignoring \"audioInputDeviceId\"."
+ "botframework-webchat: "audioConfig" and "audioInputDeviceId" cannot be set at the same time; ignoring "audioInputDeviceId"."
at Object.toMatchInlineSnapshot (packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.spec.js:137:27)
|
should play 16-bit chunked stream to AudioContext:
packages/directlinespeech/src/playCognitiveServicesStream.spec.js#L104
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `should play 16-bit chunked stream to AudioContext 1`
- Snapshot - 5
+ Received + 5
@@ -1,8 +1,8 @@
- Array [
- Object {
- "channelData": Array [
+ [
+ {
+ "channelData": [
Float32Array [
0,
0,
0,
0,
@@ -15,12 +15,12 @@
],
],
"samplesPerSec": 48000,
"startAtTime": 0,
},
- Object {
- "channelData": Array [
+ {
+ "channelData": [
Float32Array [
-1,
-1,
-1,
0,
at toMatchInlineSnapshot (packages/directlinespeech/src/playCognitiveServicesStream.spec.js:104:17)
at tryCatch (packages/directlinespeech/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (packages/directlinespeech/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (packages/directlinespeech/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (packages/directlinespeech/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (packages/directlinespeech/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
renderMarkdown › should render aria-labels:
packages/bundle/src/__tests__/renderMarkdown.spec.js#L56
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `renderMarkdown should render aria-labels 1`
- Snapshot - 1
+ Received + 1
- "<p><a href=\"https://sample.com\" aria-label=\"Sample label\" rel=\"noopener noreferrer\" target=\"_blank\">example<img src=\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt class=\"webchat__render-markdown__external-link-icon\" title /></a></p>
+ "<p><a href="https://sample.com" aria-label="Sample label" rel="noopener noreferrer" target="_blank">example<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt class="webchat__render-markdown__external-link-icon" title /></a></p>
"
at Object.toMatchInlineSnapshot (packages/bundle/src/__tests__/renderMarkdown.spec.js:56:8)
|
renderMarkdown › should render "open in new window" icon:
packages/bundle/src/__tests__/renderMarkdown.spec.js#L67
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `renderMarkdown should render "open in new window" icon 1`
- Snapshot - 1
+ Received + 1
- "<p><a href=\"https://sample.com\" aria-label=\"Sample label\" rel=\"noopener noreferrer\" target=\"_blank\">example<img src=\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt class=\"webchat__render-markdown__external-link-icon\" title=\"Opens in a new window, external.\" /></a></p>
+ "<p><a href="https://sample.com" aria-label="Sample label" rel="noopener noreferrer" target="_blank">example<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt class="webchat__render-markdown__external-link-icon" title="Opens in a new window, external." /></a></p>
"
at Object.toMatchInlineSnapshot (packages/bundle/src/__tests__/renderMarkdown.spec.js:67:8)
|
add to external links:
packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js#L17
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `add to external links 1`
- Snapshot - 1
+ Received + 1
- "Hello, <a href=\"https://microsoft.com/\" rel=\"noopener noreferrer\" target=\"_blank\">Microsoft</a>!"
+ "Hello, <a href="https://microsoft.com/" rel="noopener noreferrer" target="_blank">Microsoft</a>!"
at Object.toMatchInlineSnapshot (packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js:17:16)
|
don't add for hashes:
packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js#L29
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `don't add for hashes 1`
- Snapshot - 1
+ Received + 1
- "Hello, <a href=\"#microsoft\">Microsoft</a>!"
+ "Hello, <a href="#microsoft">Microsoft</a>!"
at Object.toMatchInlineSnapshot (packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js:29:16)
|
don't add for searches:
packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js#L39
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `don't add for searches 1`
- Snapshot - 1
+ Received + 1
- "Hello, <a href=\"?q=microsoft\">Microsoft</a>!"
+ "Hello, <a href="?q=microsoft">Microsoft</a>!"
at Object.toMatchInlineSnapshot (packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js:39:16)
|
don't add for cross references:
packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js#L49
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `don't add for cross references 1`
- Snapshot - 1
+ Received + 1
- "Hello, <a href=\"#microsoft\">Microsoft</a>!"
+ "Hello, <a href="#microsoft">Microsoft</a>!"
at Object.toMatchInlineSnapshot (packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js:49:16)
|
add "rel" and "target" attributes:
packages/component/src/Utils/updateMarkdownAttrs.spec.js#L16
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `add "rel" and "target" attributes 1`
- Snapshot - 5
+ Received + 5
- Object {
- "attrs": Array [
- Array [
+ {
+ "attrs": [
+ [
"href",
"https://example.org/",
],
- Array [
+ [
"rel",
"noopener noreferrer",
],
- Array [
+ [
"target",
"_blank",
],
],
}
at Object.toMatchInlineSnapshot (packages/component/src/Utils/updateMarkdownAttrs.spec.js:16:18)
|
add "rel" and "target" attributes:
packages/component/src/Utils/updateMarkdownAttrs.spec.js#L36
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `add "rel" and "target" attributes 2`
- Snapshot - 3
+ Received + 3
- Object {
- "attrs": Array [
- Array [
+ {
+ "attrs": [
+ [
"href",
"https://example.org/",
],
],
}
at Object.toMatchInlineSnapshot (packages/component/src/Utils/updateMarkdownAttrs.spec.js:36:17)
|
useTrackDimension › should track string dimension:
__tests__/hooks/useTrackDimension.js#L54
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackDimension should track string dimension 1`
- Snapshot - 5
+ Received + 5
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"hello": "aloha",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
@@ -12,13 +12,13 @@
"duration": null,
"error": null,
"name": "ping",
"type": "event",
},
- Object {
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackDimension.js:54:16)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
useTrackDimension › should not track invalid dimension name:
__tests__/hooks/useTrackDimension.js#L95
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackDimension should not track invalid dimension name 1`
- Snapshot - 3
+ Received + 3
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackDimension.js:95:16)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
useTrackDimension › should not track invalid dimension value:
__tests__/hooks/useTrackDimension.js#L121
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackDimension should not track invalid dimension value 1`
- Snapshot - 3
+ Received + 3
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackDimension.js:121:16)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
Marshalling value of › error:
packages/test/harness/src/common/marshal.spec.js#L9
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `Marshalling value of error 1`
- Snapshot - 1
+ Received + 1
- Object {
+ {
"__type": "error",
"message": "message",
"stack": "stack",
}
at Object.toMatchInlineSnapshot (packages/test/harness/src/common/marshal.spec.js:9:28)
|
Marshalling value of › object:
packages/test/harness/src/common/marshal.spec.js#L28
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `Marshalling value of object 1`
- Snapshot - 3
+ Received + 3
- Object {
+ {
"boolean": true,
- "error": Object {
+ "error": {
"__type": "error",
"message": "message",
"stack": "stack",
},
"null": null,
"number": 123,
"string": "string",
- "undef": Object {
+ "undef": {
"__type": "undefined",
},
}
at Object.toMatchInlineSnapshot (packages/test/harness/src/common/marshal.spec.js:28:7)
|
Marshalling value of › array:
packages/test/harness/src/common/marshal.spec.js#L48
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `Marshalling value of array 1`
- Snapshot - 3
+ Received + 3
- Array [
+ [
true,
- Object {
+ {
"__type": "error",
"message": "message",
"stack": "stack",
},
123,
null,
"string",
- Object {
+ {
"__type": "undefined",
},
]
at Object.toMatchInlineSnapshot (packages/test/harness/src/common/marshal.spec.js:48:68)
|
HTML test (10/20)
Process completed with exit code 1.
|
getter should return Adaptive Cards host config set in props:
__tests__/hooks/useAdaptiveCardsHostConfig.js#L19
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `getter should return Adaptive Cards host config set in props 1`
- Snapshot - 1
+ Received + 1
- Object {
+ {
"supportsInteractivity": false,
}
at toMatchInlineSnapshot (__tests__/hooks/useAdaptiveCardsHostConfig.js:19:35)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
getter should return image and initial of avatar for user:
__tests__/hooks/useAvatarForUser.js#L20
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `getter should return image and initial of avatar for user 1`
- Snapshot - 1
+ Received + 1
- Object {
+ {
"image": "about:blank#user-icon",
"initials": "WW",
}
at toMatchInlineSnapshot (__tests__/hooks/useAvatarForUser.js:20:31)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
HTML test (11/20)
Process completed with exit code 1.
|
renderMarkdown should add accessibility text for external links:
__tests__/hooks/useRenderMarkdownAsHTML.js#L43
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `renderMarkdown should add accessibility text for external links 1`
- Snapshot - 1
+ Received + 1
- "<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>
+ "<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>
"
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useRenderMarkdownAsHTML.js:43:14)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
renderMarkdown should add accessibility text for external links with yue:
__tests__/hooks/useRenderMarkdownAsHTML.js#L54
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `renderMarkdown should add accessibility text for external links with yue 1`
- Snapshot - 1
+ Received + 1
- "<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>
+ "<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>
"
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useRenderMarkdownAsHTML.js:54:14)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
HTML test (2/20)
Process completed with exit code 1.
|
should return bytes for "ja-JP":
__tests__/hooks/useByteFormatter.js#L22
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `should return bytes for "ja-JP" 1`
- Snapshot - 1
+ Received + 1
- Array [
+ [
"10 バイト",
"1 KB",
"1 MB",
"1 GB",
]
at toMatchInlineSnapshot (__tests__/hooks/useByteFormatter.js:22:18)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
HTML test (19/20)
Process completed with exit code 1.
|
useTrackException › should track exception:
__tests__/hooks/useTrackException.js#L44
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackException should track exception 1`
- Snapshot - 3
+ Received + 3
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackException.js:44:17)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
useTrackException › should track non-fatal exception:
__tests__/hooks/useTrackException.js#L71
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackException should track non-fatal exception 1`
- Snapshot - 3
+ Received + 3
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackException.js:71:17)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
getter should return image and initial of avatar for bot:
__tests__/hooks/useAvatarForBot.js#L20
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `getter should return image and initial of avatar for bot 1`
- Snapshot - 1
+ Received + 1
- Object {
+ {
"image": "about:blank#bot-icon",
"initials": "WC",
}
at toMatchInlineSnapshot (__tests__/hooks/useAvatarForBot.js:20:31)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
HTML test (7/20)
Process completed with exit code 1.
|
useTrackEvent › should track simple event:
__tests__/hooks/useTrackEvent.js#L45
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackEvent should track simple event 1`
- Snapshot - 3
+ Received + 3
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackEvent.js:45:16)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
useTrackEvent › should track simple event using info explicitly:
__tests__/hooks/useTrackEvent.js#L71
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackEvent should track simple event using info explicitly 1`
- Snapshot - 3
+ Received + 3
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackEvent.js:71:16)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
useTrackEvent › should track numeric event:
__tests__/hooks/useTrackEvent.js#L97
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackEvent should track numeric event 1`
- Snapshot - 3
+ Received + 3
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": 123,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackEvent.js:97:16)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
useTrackEvent › should track numeric event:
__tests__/hooks/useTrackEvent.js#L123
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackEvent should track numeric event 2`
- Snapshot - 3
+ Received + 3
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": "aloha",
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackEvent.js:123:16)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
useTrackEvent › should track complex event:
__tests__/hooks/useTrackEvent.js#L149
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackEvent should track complex event 1`
- Snapshot - 4
+ Received + 4
@@ -1,12 +1,12 @@
- Array [
- Object {
- "data": Object {
+ [
+ {
+ "data": {
"hello": "aloha",
"one": 1,
},
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackEvent.js:149:16)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
HTML test (3/20)
Process completed with exit code 1.
|
calling voiceSelector should use selectVoice from props:
__tests__/hooks/useVoiceSelector.js#L36
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `calling voiceSelector should use selectVoice from props 1`
- Snapshot - 1
+ Received + 1
@@ -1,6 +1,6 @@
- Object {
+ {
"default": false,
"lang": "zh-YUE",
"localService": true,
"name": "Mock Voice (zh-YUE)",
"voiceURI": "mock://web-speech/voice/zh-YUE",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useVoiceSelector.js:36:14)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
HTML test (17/20)
Process completed with exit code 1.
|
getter should get suggested actions:
__tests__/hooks/useSuggestedActions.js#L19
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `getter should get suggested actions 1`
- Snapshot - 10
+ Received + 10
@@ -1,46 +1,46 @@
- Array [
- Object {
+ [
+ {
"image": "https://corinagum.github.io/BotFramework-Offline-MockBot/assets/square-icon.png",
"title": "IM back as string",
"type": "imBack",
"value": "postback imback-string",
},
- Object {
+ {
"image": "https://corinagum.github.io/BotFramework-Offline-MockBot/assets/square-icon-red.png",
"title": "Post back as string",
"type": "postBack",
"value": "postback postback-string",
},
- Object {
+ {
"image": "https://corinagum.github.io/BotFramework-Offline-MockBot/assets/square-icon-green.png",
"text": "Some text",
"title": "Post back as JSON",
"type": "postBack",
- "value": Object {
+ "value": {
"hello": "World!",
},
},
- Object {
+ {
"displayText": "say Hello World!",
"image": "https://corinagum.github.io/BotFramework-Offline-MockBot/assets/square-icon-purple.png",
"text": "Some text",
"title": "Message back as JSON with display text",
"type": "messageBack",
- "value": Object {
+ "value": {
"hello": "World!",
},
},
- Object {
+ {
"image": "https://corinagum.github.io/BotFramework-Offline-MockBot/assets/square-icon-purple.png",
"title": "Message back as JSON without display text",
"type": "messageBack",
- "value": Object {
+ "value": {
"hello": "World!",
},
},
- Object {
+ {
"displayText": "Aloha",
"image": "https://corinagum.github.io/BotFramework-Offline-MockBot/assets/square-icon-purple.png",
"text": "echo Hello",
"title": "Message back as string with display text",
"type": "messageBack",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useSuggestedActions.js:19:94)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
should return list of activities:
__tests__/hooks/useActivity.js#L24
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `should return list of activities 1`
- Snapshot - 6
+ Received + 6
@@ -1,20 +1,20 @@
- Array [
- Object {
- "from": Object {
+ [
+ {
+ "from": {
"role": "user",
},
"speak": undefined,
"text": "Hello, World!",
"textFormat": "plain",
"type": "message",
},
- Object {
- "from": Object {
+ {
+ "from": {
"role": "bot",
},
- "speak": "Unknown command: I don't know Hello, World!. You can say \"help\" to learn more.",
+ "speak": "Unknown command: I don't know Hello, World!. You can say "help" to learn more.",
"text": "Unknown command: `Hello, World!`.
Type `help` to learn more.",
"textFormat": undefined,
"type": "message",
at toMatchInlineSnapshot (__tests__/hooks/useActivity.js:24:29)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
HTML test (16/20)
Process completed with exit code 1.
|
Unmarshalling value of › object:
packages/test/harness/src/common/unmarshal.spec.js#L28
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `Unmarshalling value of object 1`
- Snapshot - 1
+ Received + 1
@@ -1,6 +1,6 @@
- Object {
+ {
"boolean": true,
"null": null,
"number": 123,
"string": "string",
"undefined": undefined,
at Object.toMatchInlineSnapshot (packages/test/harness/src/common/unmarshal.spec.js:28:7)
|
Unmarshalling value of › array:
packages/test/harness/src/common/unmarshal.spec.js#L51
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `Unmarshalling value of array 1`
- Snapshot - 1
+ Received + 1
@@ -1,6 +1,6 @@
- Array [
+ [
true,
123,
null,
"string",
undefined,
at Object.toMatchInlineSnapshot (packages/test/harness/src/common/unmarshal.spec.js:51:7)
|
should return relative time for "yue":
__tests__/hooks/useRelativeTimeFormatter.js#L27
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `should return relative time for "yue" 1`
- Snapshot - 1
+ Received + 1
@@ -1,6 +1,6 @@
- Array [
+ [
"啱啱",
"啱啱",
"啱啱",
"一分鐘前",
"2 分鐘前",
at toMatchInlineSnapshot (__tests__/hooks/useRelativeTimeFormatter.js:27:18)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
HTML test (1/20)
Process completed with exit code 1.
|
upload a picture ›:
__tests__/upload.js#L59
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `upload a picture 1`
- Snapshot - 10
+ Received + 10
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
@@ -13,13 +13,13 @@
"fatal": null,
"name": "init",
"type": "event",
"value": null,
},
- Object {
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
@@ -29,13 +29,13 @@
"fatal": null,
"name": "sendFiles:makeThumbnail",
"type": "timingstart",
"value": null,
},
- Object {
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
@@ -45,16 +45,16 @@
"fatal": null,
"name": "sendFiles:makeThumbnail",
"type": "timingend",
"value": null,
},
- Object {
- "data": Object {
+ {
+ "data": {
"numFiles": 1,
"sumSizeInKB": 379,
},
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at toMatchInlineSnapshot (__tests__/upload.js:59:35)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
getter should return Adaptive Cards package set in props:
__tests__/hooks/useAdaptiveCardsPackage.js#L19
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `getter should return Adaptive Cards package set in props 1`
- Snapshot - 1
+ Received + 1
- Object {
+ {
"__DUMMY__": 0,
}
at toMatchInlineSnapshot (__tests__/hooks/useAdaptiveCardsPackage.js:19:32)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
HTML test (13/20)
Process completed with exit code 1.
|
telemetry › should collect "init" event:
__tests__/telemetry.js#L40
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `telemetry should collect "init" event 1`
- Snapshot - 3
+ Received + 3
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/telemetry.js:40:16)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
getter should return grammars set in props:
__tests__/hooks/useGrammars.js#L13
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `getter should return grammars set in props 1`
- Snapshot - 1
+ Received + 1
- Array [
+ [
"Tuen Mun",
"Yuen Long",
]
at toMatchInlineSnapshot (__tests__/hooks/useGrammars.js:13:20)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
HTML test (8/20)
Process completed with exit code 1.
|
HTML test (10/20)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (11/20)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (2/20)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (19/20)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (7/20)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (3/20)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (17/20)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (16/20)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (1/20)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (13/20)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (8/20)
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
|
94.5 MB |
|
test-result
Expired
|
10.3 MB |
|