-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Describe the bug
Any Capability with a value of long number more than 16 digits in string format is updated to a different number.
To Reproduce
- Install botium-cli and botium-connector-fbwebhook
- Clone the botium-connector-fbwebhook repo and start the sample botkit server
- Use the following given botium.json
- Start the emulator in verbose mode using
botium-cli emulator -v - Send a message and observer the payload that the emulator sent. The
sender.idwould be of different number than what we have set in the botium.json
{
"botium": {
"Capabilities": {
"PROJECTNAME": "Facebook Tests",
"CONTAINERMODE": "fbwebhook",
"FBWEBHOOK_WEBHOOKURL": "http://127.0.0.1:3000/api/messages",
"FBWEBHOOK_PAGEID": "123456",
"FBWEBHOOK_APPSECRET": "mysecret",
"SIMPLEREST_INBOUND_PORT": 45100,
"SCRIPTING_MATCHING_MODE": "equals",
"FBWEBHOOK_USERID": "1234567892343434344"
}
}
}Expected behavior
The payload sent should have same sender.id that we set using FBWEBHOOK_USERID in the botium.json
Screenshots and Log files
botium-cli emulator logs:
log.txt
Botium Flavour:
- Botium Box ?
- Botium CLI ? - Yes
- Botium Bindings ? - Yes
Botium Version
The bug exists in the latest version(1.15.6) of botium-core.
Metadata
Metadata
Assignees
Labels
No labels