Skip to content

Build: add entry points without top level side-effects #1117

Build: add entry points without top level side-effects

Build: add entry points without top level side-effects #1117

Triggered via pull request October 22, 2024 19:28
Status Failure
Total duration 15m 41s
Artifacts 3

pull-request-validation.yml

on: pull_request
Matrix: html-test
Merge test results
11s
Merge test results
Merge test snapshots
5s
Merge test snapshots
Fit to window
Zoom out
Zoom in

Annotations

47 errors and 12 warnings
upload an image: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.06727430555555555% different from snapshot (155 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/upload-image-js-upload-an-image-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 (17/17)
Process completed with exit code 1.
setup: __tests__/basic.js#L12
thrown: "Exceeded timeout of 50000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at Object.test (__tests__/basic.js:12:1)
setup: __tests__/setup/setupTestFramework.js#L132
thrown: "Exceeded timeout of 50000 ms for a hook. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at Object.afterEach (__tests__/setup/setupTestFramework.js:132:1) at Object.require (__tests__/setup/preSetupTestFramework.js:14:17)
long URLs with break-word: undefined#L1
NoSuchSessionError: This driver instance does not have a valid session ID (did you call WebDriver.quit()?) and may no longer be used. at node_modules/selenium-webdriver/lib/webdriver.js:775:9 at Object.thenFinally [as finally] (node_modules/selenium-webdriver/lib/promise.js:101:12)
Meta tag for Web Chat › should contains build variant for ES5: https://webchat2/__tests__/html/metaTag.webChat.es5#L29
expect(received).toHaveProperty(path, value) Expected path: "module-format" Expected value: "esmodules" Received value: "iife" at https:/webchat2/__tests__/html/metaTag.webChat.es5:29:27
HTML test (16/17)
Process completed with exit code 1.
customizable avatar › with default avatar: __tests__/customizableAvatar.js#L69
thrown: "Exceeded timeout of 50000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at test (__tests__/customizableAvatar.js:69:3) at Object.describe (__tests__/customizableAvatar.js:11:1)
customizable avatar › with default avatar: __tests__/setup/setupTestFramework.js#L132
thrown: "Exceeded timeout of 50000 ms for a hook. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at Object.afterEach (__tests__/setup/setupTestFramework.js:132:1) at Object.require (__tests__/setup/preSetupTestFramework.js:14:17)
customizable avatar › with default avatar: undefined#L1
NoSuchSessionError: This driver instance does not have a valid session ID (did you call WebDriver.quit()?) and may no longer be used. at node_modules/selenium-webdriver/lib/webdriver.js:775:9 at Object.thenFinally [as finally] (node_modules/selenium-webdriver/lib/promise.js:101:12)
HTML test (10/17)
Process completed with exit code 1.
rtl UI › should show "unable to connect" UI in Arabic when credentials are incorrect: __tests__/rtl.js#L37
thrown: "Exceeded timeout of 50000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at test (__tests__/rtl.js:37:3) at Object.describe (__tests__/rtl.js:28:1)
rtl UI › should show "unable to connect" UI in Arabic when credentials are incorrect: __tests__/setup/setupTestFramework.js#L132
thrown: "Exceeded timeout of 50000 ms for a hook. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at Object.afterEach (__tests__/setup/setupTestFramework.js:132:1) at Object.require (__tests__/setup/preSetupTestFramework.js:14:17)
rtl UI › unknown command with nubs should display correctly: __tests__/rtl.js#L68
thrown: "Exceeded timeout of 50000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at test (__tests__/rtl.js:68:3) at Object.describe (__tests__/rtl.js:28:1)
rtl UI › unknown command with nubs should display correctly: __tests__/setup/setupTestFramework.js#L132
thrown: "Exceeded timeout of 50000 ms for a hook. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at Object.afterEach (__tests__/setup/setupTestFramework.js:132:1) at Object.require (__tests__/setup/preSetupTestFramework.js:14:17)
rtl UI › with Adaptive Card should be displayed correctly: undefined#L1
ScriptTimeoutError: script timeout (Session info: headless chrome=110.0.5481.177) at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:521:15) at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:514:13) at Executor.execute (node_modules/selenium-webdriver/lib/http.js:446:28) at thenableWebDriverProxy.execute (node_modules/selenium-webdriver/lib/webdriver.js:744:17)
rtl UI › with Adaptive Card should be displayed correctly: undefined#L1
ScriptTimeoutError: script timeout (Session info: headless chrome=110.0.5481.177) at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:521:15) at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:514:13) at Executor.execute (node_modules/selenium-webdriver/lib/http.js:446:28) at thenableWebDriverProxy.execute (node_modules/selenium-webdriver/lib/webdriver.js:744:17)
rtl UI › with Audio Card should be displayed correctly: undefined#L1
ScriptTimeoutError: script timeout (Session info: headless chrome=110.0.5481.177) at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:521:15) at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:514:13) at Executor.execute (node_modules/selenium-webdriver/lib/http.js:446:28) at thenableWebDriverProxy.execute (node_modules/selenium-webdriver/lib/webdriver.js:744:17)
rtl UI › with Audio Card should be displayed correctly: undefined#L1
ScriptTimeoutError: script timeout (Session info: headless chrome=110.0.5481.177) at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:521:15) at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:514:13) at Executor.execute (node_modules/selenium-webdriver/lib/http.js:446:28) at thenableWebDriverProxy.execute (node_modules/selenium-webdriver/lib/webdriver.js:744:17)
rtl UI › should show suggested actions with images: undefined#L1
ScriptTimeoutError: script timeout (Session info: headless chrome=110.0.5481.177) at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:521:15) at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:514:13) at Executor.execute (node_modules/selenium-webdriver/lib/http.js:446:28) at thenableWebDriverProxy.execute (node_modules/selenium-webdriver/lib/webdriver.js:744:17)
rtl UI › should show suggested actions with images: undefined#L1
ScriptTimeoutError: script timeout (Session info: headless chrome=110.0.5481.177) at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:521:15) at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:514:13) at Executor.execute (node_modules/selenium-webdriver/lib/http.js:446:28) at thenableWebDriverProxy.execute (node_modules/selenium-webdriver/lib/webdriver.js:744:17)
input hint › of expectingInput › should turn on microphone if initiated via microphone: __tests__/inputHint.js#L15
thrown: "Exceeded timeout of 50000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at test (__tests__/inputHint.js:15:5) at describe (__tests__/inputHint.js:14:3) at Object.describe (__tests__/inputHint.js:13:1)
input hint › of expectingInput › should turn on microphone if initiated via microphone: __tests__/setup/setupTestFramework.js#L132
thrown: "Exceeded timeout of 50000 ms for a hook. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at Object.afterEach (__tests__/setup/setupTestFramework.js:132:1) at Object.require (__tests__/setup/preSetupTestFramework.js:14:17)
input hint › of expectingInput › should not turn on microphone if initiated via typing: undefined#L1
NoSuchSessionError: This driver instance does not have a valid session ID (did you call WebDriver.quit()?) and may no longer be used. at node_modules/selenium-webdriver/lib/webdriver.js:775:9 at Object.thenFinally [as finally] (node_modules/selenium-webdriver/lib/promise.js:101:12)
Meta tag for Web Chat › should contains build variant for minimal: https://webchat2/__tests__/html/metaTag.webChat.minimal#L29
expect(received).toHaveProperty(path, value) Expected path: "module-format" Expected value: "esmodules" Received value: "iife" at https:/webchat2/__tests__/html/metaTag.webChat.minimal:29:27
HTML test (3/17)
Process completed with exit code 1.
speech recognition › should not start recognition after typing on keyboard while synthesizing: __tests__/speech.recognition.js#L14
thrown: "Exceeded timeout of 50000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at test (__tests__/speech.recognition.js:14:3) at Object.describe (__tests__/speech.recognition.js:13:1)
should focus inside the attachment on ENTER: packages/test/harness/src/host/common/host/done.js#L22
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"level": "SEVERE", "message": "https://webchat2/__tests__/html/transcript.navigation.focusAttachment.enterKey - Access to script at 'https://unpkg.com/[email protected]/umd/react-dom-test-utils.production.min.js' from origin 'https://webchat2' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.", "timestamp": 1729626108374, "type": ""}, {"level": "SEVERE", "message": "https://unpkg.com/[email protected]/umd/react-dom-test-utils.production.min.js - Failed to load resource: net::ERR_FAILED", "timestamp": 1729626108375, "type": ""}] at toHaveLength (packages/test/harness/src/host/common/host/done.js:22:77) 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 (12/17)
Process completed with exit code 1.
Meta tag for Direct Line › should contains build variant for ES5: https://webchat2/__tests__/html/metaTag.directLine.es5#L15
expect(received).toMatch(expected) Expected pattern: /(^|\s)WebChat\/\d+\.\d+\.\d+(-[^\s]+)? \(ES5\)/u Received string: "DirectLine/3.0 (directlinejs; WebChat/0.0.0-0 (Full) 0.15.5)" at https:/webchat2/__tests__/html/metaTag.directLine.es5:15:38
HTML test (1/17)
Process completed with exit code 1.
getter should return dictate state: __tests__/hooks/useDictateState.js#L10
thrown: "Exceeded timeout of 50000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at Object.test (__tests__/hooks/useDictateState.js:10:1)
HTML test (15/17)
The action 'Run jest --shard=15/17' has timed out after 10 minutes.
HTML test (15/17)
An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/BotFramework-WebChat/BotFramework-WebChat/./coverage'. No such file or directory
HTML test (5/17)
An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/BotFramework-WebChat/BotFramework-WebChat/./coverage'. No such file or directory
getter should return image and initial of avatar for bot: __tests__/hooks/useAvatarForBot.js#L8
thrown: "Exceeded timeout of 50000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at Object.test (__tests__/hooks/useAvatarForBot.js:8:1)
getter should return image and initial of avatar for bot: __tests__/setup/setupTestFramework.js#L132
thrown: "Exceeded timeout of 50000 ms for a hook. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at Object.afterEach (__tests__/setup/setupTestFramework.js:132:1) at Object.require (__tests__/setup/preSetupTestFramework.js:14:17)
setter should throw exception: __tests__/hooks/useAvatarForBot.js#L28
thrown: "Exceeded timeout of 50000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at Object.test (__tests__/hooks/useAvatarForBot.js:28:1)
setter should throw exception: __tests__/setup/setupTestFramework.js#L132
thrown: "Exceeded timeout of 50000 ms for a hook. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at Object.afterEach (__tests__/setup/setupTestFramework.js:132:1) at Object.require (__tests__/setup/preSetupTestFramework.js:14:17)
calling sendMessage should send a message activity: __tests__/hooks/useSendMessage.js#L11
thrown: "Exceeded timeout of 50000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at Object.test (__tests__/hooks/useSendMessage.js:11:1)
HTML test (5/17)
The action 'Run jest --shard=5/17' has timed out after 10 minutes.
telemetry › should collect "init" event: __tests__/telemetry.js#L12
thrown: "Exceeded timeout of 20000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at test (__tests__/telemetry.js:12:3) at Object.describe (__tests__/telemetry.js:11:1)
telemetry › should collect "init" event: __tests__/setup/setupTestFramework.js#L132
thrown: "Exceeded timeout of 20000 ms for a hook. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at Object.afterEach (__tests__/setup/setupTestFramework.js:132:1) at Object.require (__tests__/setup/preSetupTestFramework.js:14:17)
telemetry › should collect fatal error: undefined#L1
NoSuchSessionError: This driver instance does not have a valid session ID (did you call WebDriver.quit()?) and may no longer be used. at node_modules/selenium-webdriver/lib/webdriver.js:775:9 at Object.thenFinally [as finally] (node_modules/selenium-webdriver/lib/promise.js:101:12)
Activity render performance › render activity profiling: __tests__/html/renderActivity.profiling.js#L4
thrown: "Exceeded timeout of 50000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at __tests__/html/renderActivity.profiling.js:4:3 at Object.<anonymous> (__tests__/html/renderActivity.profiling.js:3:1)
HTML test (7/17)
The action 'Run jest --shard=7/17' has timed out after 10 minutes.
HTML test (7/17)
An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/BotFramework-WebChat/BotFramework-WebChat/./coverage'. No such file or directory
HTML test (16/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 (8/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.
HTML test (12/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
HTML test (1/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
HTML test (15/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
HTML test (15/17)
No files were found with the provided path: ./coverage/jest-*.json ./coverage/lcov-*.info ./coverage/nunit3-*.xml ./coverage/result-*.trx. 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.
HTML test (5/17)
No files were found with the provided path: ./coverage/jest-*.json ./coverage/lcov-*.info ./coverage/nunit3-*.xml ./coverage/result-*.trx. 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 (7/17)
No files were found with the provided path: ./coverage/jest-*.json ./coverage/lcov-*.info ./coverage/nunit3-*.xml ./coverage/result-*.trx. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
docker Expired
104 MB
test-result
1.09 MB
test-snapshot-diff
408 KB