Skip to content

jkandasa/kiali-qe-python

 
 

Repository files navigation

Kiali GUI Automation

Kiali GUI QE automation framework. This framework based on pytest Testing Framework, using Widgetastic testing tools.

Project structure

  • kiali_qe/: Root directory for all the source code.
    • components: This directory contains custom browser, UI components(widgets)
    • entities: This directory contains entities/modes to create comparable data across UI and REST.
    • fixtures: Type of fixtures available here
    • pages: UI pages as python class
    • rest: REST clients
    • tests: tests
    • utils: supporting utilities

Configurations

All the configurations will be available in one location. That is env.yaml. This file is located at conf/env.yaml

To run tests

Run in virtual environment only created and activated by running:

# clone this repository
$ git clone https://github.com/Kiali-QE/kiali-qe-python.git kiali-qe-python
$ cd kiali-qe-python/

# create virtual environment
$ virtualenv .env
# enable virtual environment
$ source .env/bin/activate

# install requirements
$ pip install -r requirements.txt

# update conf/emv.yaml (kiali hostname and selenium driver url)

# run all tests
$ pytest -s
# see the log on log/kiali_qe.log

Log file

All the logs will be created under log/

About

Python/Selenium based Kiali test automation framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%