platform/tests
JasminMus 73afaddc65
Rebase (#5984)
Signed-off-by: Jasmin <jasmin@hardcoreeng.com>
2024-07-03 13:53:10 +07:00
..
sanity Rebase (#5984) 2024-07-03 13:53:10 +07:00
sanity-ws Guests (#5536) 2024-05-08 16:41:44 +07:00
.env UBERF-6854: S3 provider (#5611) 2024-05-17 17:08:30 +07: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 UBERF-7362: Do not cache branding served from front (#5889) 2024-06-21 12:59:02 +04: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 UBERF-7465: Move pipeline into separate plugin (#5978) 2024-07-02 18:09:44 +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-7465: Move pipeline into separate plugin (#5978) 2024-07-02 18:09:44 +07:00
restore-workspace.sh UBERF-7465: Move pipeline into separate plugin (#5978) 2024-07-02 18:09:44 +07:00
tool-local.sh Enhanced Phased build (#4599) 2024-02-12 23:57:11 +07:00
tool.sh Change shebangs to /usr/bin/env calls for better portability (#5961) 2024-07-01 23:21:52 +07:00
update-snapshot-ci.sh Update sanity DB restore (#2836) 2023-06-09 16:36:55 +06:00
update-snapshot.sh Enhanced Phased build (#4599) 2024-02-12 23:57:11 +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