codeforequity-at / botium-core

The Selenium for Chatbots - Bots Testing Bots
https://www.botium.ai
MIT License
229 stars 64 forks source link

Unable to run the test cases from the Shared Folder #383

Closed Aishwarya-J-S closed 5 years ago

Aishwarya-J-S commented 5 years ago

I have tried running my test cases from the Shared Folder which is not getting executed

I have created a set of test cases with 613 convo files. I have placed in the test set folder of Botium backend and registered this shared folder path into the remote repository. Also I have compiled the test sets and it shows the count of convo file in the UI.

But when i tried to run the test session, it is showing as the Job is completed. But test cases were not getting executed.

In the logs, I am getting the following

2019-09-24T09:40:48.723Z: 2019-09-24T09:40:48.713Z botium-ScriptingProvider ReadConvosFromDirectory(/app/server/testsets/convo_testscripts) found filenames: 

2019-09-24T09:40:48.743Z: 2019-09-24T09:40:48.714Z botium-ScriptingProvider ReadConvosFromDirectory(/app/server/testsets/convo_testscripts) found convos:
 none

2019-09-24T09:40:48.743Z: 2019-09-24T09:40:48.714Z botium-ScriptingProvider ReadConvosFromDirectory(/app/server/testsets/convo_testscripts) found utterances:
 none

2019-09-24T09:40:48.744Z: 2019-09-24T09:40:48.714Z botium-ScriptingProvider ReadConvosFromDirectory(/app/server/testsets/convo_testscripts) found partial convos:
 none

2019-09-24T09:40:48.757Z: 2019-09-24T09:40:48.714Z botium-ScriptingProvider ReadConvosFromDirectory(/app/server/testsets/convo_testscripts) scripting memories:
 none

Is there anything else to be done for running the test cases from shared folder.

codeforequity-at commented 5 years ago

You are not using Botium Box Community Edition, correct ? In this case, you will have to map the "testsets" folder to the same path for your agent.

  agent:
    image: botium/botium-box-agent:${BOX_VERSION}
    ...
    volumes:
      - "./testsets:/app/server/testsets"

With Botium Box 1.8, there will be a better solution

Aishwarya-J-S commented 5 years ago

Yeah..I am using the EE 1.7.3. Currently the temporary solution worked. Thanks!!