kafka-ui/kafka-ui-e2e-checks
2023-05-10 15:00:57 +05:30
..
docker [e2e] Setup selenoid for multithreading (#3609) 2023-04-04 07:56:02 +04:00
selenoid/config [e2e] Setup selenoid for multithreading (#3609) 2023-04-04 07:56:02 +04:00
src Added brokerConfig search functionality by value 2023-05-10 15:00:57 +05:30
.env.ci adding default params to e2e checks (#603) 2021-06-30 14:01:08 +03:00
.gitignore formatting fixes 2021-05-06 12:19:22 +03:00
pom.xml Bump testng from 7.7.0 to 7.7.1 (#3789) 2023-05-08 12:36:50 +04:00
QASE.md [e2e] Setup qase integration (once again) (#3441) 2023-03-06 12:59:48 +04:00
README.md [e2e] Setup selenoid for multithreading (#3609) 2023-04-04 07:56:02 +04:00

E2E UI automation for Kafka-ui

This repository is for E2E UI automation.

Table of Contents

Prerequisites

  • Docker & Docker-compose
  • Java (install aarch64 jdk if you have M1/arm chip)
  • Maven

How to install

git clone https://github.com/provectus/kafka-ui.git
cd  kafka-ui-e2e-checks
docker pull selenoid/vnc_chrome:103.0 

How to run checks

  1. Run kafka-ui:
cd kafka-ui
docker-compose -f kafka-ui-e2e-checks/docker/selenoid-local.yaml up -d
docker-compose -f documentation/compose/e2e-tests.yaml up -d
  1. To run test suite select its name (options: regression, sanity, smoke) and put it instead %s into command below
./mvnw -Dsurefire.suiteXmlFiles='src/test/resources/%s.xml' -f 'kafka-ui-e2e-checks' test -Pprod
  1. To run tests on your local Chrome browser just add next VM option to the Run Configuration
-Dbrowser=local

Expected Location of Chrome

Linux:	                    /usr/bin/google-chrome1
Mac:	                    /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
Windows XP:                 %HOMEPATH%\Local Settings\Application Data\Google\Chrome\Application\chrome.exe
Windows Vista and newer:    C:\Users%USERNAME%\AppData\Local\Google\Chrome\Application\chrome.exe

Qase integration

Found instruction for Qase.io integration (for internal use only) at kafka-ui-e2e-checks/QASE.md

Reporting

Reports are in allure-results folder. If you have installed allure commandline here) You can see allure report with command:

allure serve

Screenshots

Reference screenshots are in SCREENSHOTS_FOLDER (default,kafka-ui-e2e-checks/screenshots)

How to develop

⚠️ todo

Setting for different environments

⚠️ todo

Test Data

⚠️ todo

Actions

⚠️ todo

Checks

⚠️ todo

Parallelization

⚠️ todo

Tips

  • install Selenium UI Testing plugin in IDEA