platform/tests
Andrey Sobolev 096bfacad7
UBERF-6778: Add Support to uWebSocket.js library ()
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-05-06 14:15:39 +05:00
..
sanity [EZQMS-732, EZQMS-737]: Restrict type configuration, allow deleting roles () 2024-05-05 21:18:30 +07:00
sanity-ws UBERF-6576: Move default space/project/task types into static model () 2024-05-04 17:49:31 +07:00
build-reload.sh
create-local.sh feat(planner): new slots, fixes and improvements () 2024-03-19 11:40:07 +04:00
docker-compose.yaml UBERF-6778: Add Support to uWebSocket.js library () 2024-05-06 14:15:39 +05:00
install-elastic-plugin-setup.sh
install-elastic-plugin.sh
prepare-tests.sh
prepare.sh
readme.md
restore-local.sh
restore-workspace.sh
tool-local.sh
tool.sh
update-snapshot-ci.sh
update-snapshot.sh
wait-elastic.sh

UI Sanity testing using play-wright

Prepare environment with docker to test final product.

rush update
rush build
rush bundle
rush docker:build
./prepare.sh

Restore to pure DB

To purge content of sanity workspace following command could be used.

./restore-workspace.sh

Prepare local dev environment

rush update
rush build
rush bundle
./create-local.sh

Restore to pure DB for Local setup

To purge content of sanity workspace following command could be used.

./restore-local.sh

Running UI tests

cd ./sanity
rushx uitest # for docker setup
rushx dev-uitest # for dev setup

Debugging UI tests

cd ./sanity
rushx debug -g test-name # for docker setup
rushx dev-debug -g test-name # for local setup

Capturing new testing scenarios

rushx codegen # for docker setup
rushx dev-codegen # for local setup

Test authoring.

Please update all navigation with using PlatformURI for CI and dev environment compatible testing.

Generate Allure

allure generate allure-results -o allure-report --clean
allure open allure-report