platform/tests
Alexander Platov c577282192
Added and fixed UI tests (#6276)
Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
2024-08-07 13:42:49 +07:00
..
sanity Added and fixed UI tests (#6276) 2024-08-07 13:42:49 +07:00
sanity-ws Guests (#5536) 2024-05-08 16:41:44 +07:00
.env Move services to public (#6156) 2024-07-27 20:04:21 +05:00
branding-test.json Qfix: use http for local and test brandings (#5980) 2024-07-02 21:07:24 +07:00
build-reload.sh Change shebangs to /usr/bin/env calls for better portability (#5961) 2024-07-01 23:21:52 +07:00
create-local.sh feat(planner): new slots, fixes and improvements (#4961) 2024-03-19 11:40:07 +04:00
docker-compose.yaml Move services to public (#6156) 2024-07-27 20:04:21 +05:00
install-elastic-plugin-setup.sh Change shebangs to /usr/bin/env calls for better portability (#5961) 2024-07-01 23:21:52 +07:00
install-elastic-plugin.sh Change shebangs to /usr/bin/env calls for better portability (#5961) 2024-07-01 23:21:52 +07:00
prepare-tests.sh Change shebangs to /usr/bin/env calls for better portability (#5961) 2024-07-01 23:21:52 +07:00
prepare.sh Add DO_CLEAN into preapre.sh (#6098) 2024-07-19 15:09:13 +07:00
readme.md TESTS-71: feat(tests): updated allure parent suite (#4010) 2023-11-20 22:12:57 +07:00
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 sanity DB restore (#2836) 2023-06-09 16:36:55 +06:00
update-snapshot.sh UBERF-7603: Support multiple transactors (#6086) 2024-07-19 01:04:48 +07:00
wait-elastic.sh UBER-536: Fix test stability (#3466) 2023-06-29 11:46:28 +06:00

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