Skip to content

Latest commit

 

History

History
 
 

e2e-tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

E2E UI automation for Kafbat UI

This repository is for E2E UI automation.

Table of Contents

Prerequisites

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

How to install

git clone https://github.com/kafbat/kafka-ui.git
cd  e2e-tests
docker pull selenoid/vnc_chrome:117.0 

How to run checks

  1. Run kafbat-ui:
cd kafbat-ui
docker-compose -f e2e-tests/selenoid/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 'e2e-tests' test -Pprod
  1. To run tests on your local Chrome browser check selenoid-off profile on Maven panel, also there you can check headless-off

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

Reporting

Screenshots are stored in target/selenide-results/reports folder.

Reports are stored in target/allure-results folder. If you have installed allure commandline here, you can see allure report with command:

allure serve

Test Data

⚠️ todo

Actions

⚠️ todo

Checks

⚠️ todo

Parallelization

⚠️ todo

How to develop

⚠️ todo