codeforequity-at / codeforequity-at/botium-core

Getting error consistently when 1 or 2 utterances from botium-bindings

Open
#709 4 comments 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
JavaScript
Stars
251
Forks
70
Avg merge
3h 37m
Merged PRs (30d)
7

Description

**Describe the bug**
Hi,
I am getting the following error for some utterances when I run the tests. The same utterance works fine the next time but the other utterance fails with the same error. It happens very frequently. Out of 400 tests, 4 to 5 are failing with this error. Is this a timeout issue?

Error: Convos_fit-A005/UTT-L01/Cell A5: error sending to bot - Cannot read properties of undefined (reading 'error')
########################################
Convos_fit-A005/UTT-L01/Cell A5: error sending to bot - Cannot read properties of undefined (reading 'error')
------------ TRANSCRIPT ----------------------------
#me: what day is today
at BotiumBindings.wrapBotiumError (/Users/testuser/specs/node_modules/botium-bindings/src/BotiumBindings.js:77:14)
at /Users/testuser/specs/node_modules/botium-bindings/src/BotiumBindings.js:134:33
at processTicksAndRejections (node:internal/process/task_queues:96:5)

**To Reproduce**

**Expected behavior**
All tests need to run successfully. It only fails when the test is run automatically but succeeds when we run it using botium-cli emulator.

**Screenshots and Log files**
If applicable, add screenshots and/or logfiles to help explain your problem.
- [How to get logs from Botium Box](https://botium.atlassian.net/wiki/spaces/BOTIUM/pages/29360129/Enable+Diagnostics+and+Inspect+Logs)
- [How to get logs from Botium Bindings](https://botium.atlassian.net/wiki/spaces/BOTIUM/pages/426128/Troubleshooting)
- For Botium CLI, add the *--verbose* command line switch

**Botium Flavour:**
- Botium Box ?
- Botium CLI ?
- Botium Bindings ?

**Botium Version**
- "botium-cli": "^1.1.0",
- "botium-bindings": "^2.1.13",

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.