Skip to content

AndreyAD1/helsinki-guide-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

helsinki-guide-test

This repository contains UI tests for a Helsinki Guide bot.

Project Goals

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.

Getting Started

  1. Install Python 3.12 or newer.
  2. Install Poetry.
  3. Clone this repository.
  4. Open the downloaded directory in your terminal and run this command:
    poetry install --no-root
    This command will create a new virtual environment and install the project dependencies.
  5. Follow this instruction to install Selenium drivers for the browsers that you are going to test.
  6. 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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

UI tests for the Helsinki Guide bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published