This repository contains UI tests for a Helsinki Guide bot.
Since the Helsinki Guide bot has a quite diverse interface, end-to-end tests are helpful. Moreover, this project nicely helps me refresh and refine my Robot Framework and Selenium skills.
- Install Python 3.12 or newer.
- Install Poetry.
- Clone this repository.
- Open the downloaded directory in your terminal and run this command:
This command will create a new virtual environment and install the project dependencies.
poetry install --no-root
- Follow this instruction to install Selenium drivers for the browsers that you are going to test.
- Determine the name of the bot chat you are going to test.
Use this name as a
BOT_NAME
variable in a test run command:robot --variable BOT_NAME:[The bot name] --variable BROWSER:chrome .
If everything works fine, you will see an open Chrome window with an invitation to log in to your account. After signing in, tests will run.
This project is licensed under the MIT License - see the LICENSE file for details.