platform/tests
Alex Velichko 0a7faafa2e
TESTS: feat(tests): updated flaky tests (#4106)
Signed-off-by: Alex Velichko <nestor_007@mail.ru>
2023-11-30 00:50:03 +07:00
..
sanity TESTS: feat(tests): updated flaky tests (#4106) 2023-11-30 00:50:03 +07:00
sanity-ws TESTS-57: feat(tests): done Edit a Template test (#4079) 2023-11-28 13:02:05 +07:00
build-reload.sh Test fixes (#1197) 2022-03-24 16:04:29 +07:00
create-local.sh Revert unne (#4060) 2023-11-24 16:48:28 +07:00
docker-compose.yaml UBER-937: Extensibility changes (#3874) 2023-10-24 15:53:33 +07:00
install-elastic-plugin-setup.sh Support secret changes and token become unauchorized (#2205) 2022-07-05 11:43:17 +06:00
install-elastic-plugin.sh Kanban keyboard shortcuts (#1469) 2022-04-21 14:40:15 +07:00
prepare.sh TESTS-85: feat(tests): added issues.spec.ts test (#4025) 2023-11-22 16:14:26 +07:00
readme.md TESTS-71: feat(tests): updated allure parent suite (#4010) 2023-11-20 22:12:57 +07:00
restore-local.sh Nevdex fixes (#3714) 2023-09-19 18:11:28 +07:00
restore-workspace.sh TESTS-85: feat(tests): added issues.spec.ts test (#4025) 2023-11-22 16:14:26 +07:00
tool-local.sh Fix migrations backup/restore (#4055) 2023-11-24 13:29:35 +07:00
tool.sh Nevdex fixes (#3714) 2023-09-19 18:11:28 +07:00
update-snapshot-ci.sh Update sanity DB restore (#2836) 2023-06-09 16:36:55 +06:00
update-snapshot.sh Nevdex fixes (#3714) 2023-09-19 18:11:28 +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