platform/tests
Alex Velichko 535184be0a
TESTS-167: feat(tests): done Check that the issue backlink test (#4596)
* TESTS-167: feat(tests): done Check that the issue backlink test
---------

Signed-off-by: Alex Velichko <alex@hardcoreeng.com>
2024-02-10 11:07:31 +03:00
..
sanity TESTS-167: feat(tests): done Check that the issue backlink test (#4596) 2024-02-10 11:07:31 +03:00
sanity-ws TESTS-51: feat(tests): done Delete a component test (#4234) 2023-12-22 13:58:58 +07:00
build-reload.sh UBERF-4527: Extra logging for client (#4133) 2023-12-04 23:03:21 +07:00
create-local.sh UBER-1083: Use hours and minutes to present less than a day durations (#4111) 2023-12-01 14:27:56 +07:00
docker-compose.yaml UBERF-5337 (#4548) 2024-02-07 16:22:19 +07:00
install-elastic-plugin-setup.sh
install-elastic-plugin.sh
prepare-tests.sh UBERF-4527: Extra logging for client (#4133) 2023-12-04 23:03:21 +07:00
prepare.sh UBERF-5140: Any workspace names (#4489) 2024-02-02 16:27:27 +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-5140: Any workspace names (#4489) 2024-02-02 16:27:27 +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
update-snapshot-ci.sh
update-snapshot.sh
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