platform/tests
Rostislav Nazmeev 9a9d7195bf
UBERF-8047: Add tests to channels and chats (#6496)
Signed-off-by: Rostislav Nazmeev <rostropovich@culturalcode.ru>
2024-09-10 12:38:54 +07:00
..
sanity UBERF-8047: Add tests to channels and chats (#6496) 2024-09-10 12:38:54 +07:00
sanity-ws
.env Move services to public (#6156) 2024-07-27 20:04:21 +05:00
branding-test.json
build-reload.sh
create-local.sh
docker-compose.yaml UBERF-7684: Workspace service (#6460) 2024-09-02 23:12:04 +07:00
install-elastic-plugin-setup.sh
install-elastic-plugin.sh
prepare-tests.sh
prepare.sh Add DO_CLEAN into preapre.sh (#6098) 2024-07-19 15:09:13 +07:00
readme.md
restore-local.sh UBERF-7796: Rework index creation logic (#6246) 2024-08-05 12:37:13 +07:00
restore-workspace.sh UBERF-7796: Rework index creation logic (#6246) 2024-08-05 12:37:13 +07:00
tool-local.sh UBERF-7603: Support multiple transactors (#6086) 2024-07-19 01:04:48 +07:00
tool.sh UBERF-7603: Support multiple transactors (#6086) 2024-07-19 01:04:48 +07:00
update-snapshot-ci.sh
update-snapshot.sh UBERF-7603: Support multiple transactors (#6086) 2024-07-19 01:04:48 +07:00
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