Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.26 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.26 KB

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/