platform/tests
火焚 富良 8003611c37
Change shebangs to /usr/bin/env calls for better portability (#5961)
Signed-off-by: Egor Savkin <tomasfire@live.com>
2024-07-01 23:21:52 +07:00
..
sanity Remove default failed tests limit (#5955) 2024-06-29 22:53:25 +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 uberf-7342: add french lang selector (#5873) 2024-06-20 22:36:09 +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 Change shebangs to /usr/bin/env calls for better portability (#5961) 2024-07-01 23:21:52 +07:00
readme.md TESTS-71: feat(tests): updated allure parent suite (#4010) 2023-11-20 22:12:57 +07:00
restore-local.sh Enhanced Phased build (#4599) 2024-02-12 23:57:11 +07:00
restore-workspace.sh Change shebangs to /usr/bin/env calls for better portability (#5961) 2024-07-01 23:21:52 +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