platform/tests
2023-11-24 13:29:35 +07:00
..
sanity TESTS-87: feat(tests): done Issues status can be changed by another users test (#4036) 2023-11-23 12:55:20 +07:00
sanity-ws Fix migrations backup/restore (#4055) 2023-11-24 13:29:35 +07:00
build-reload.sh
create-local.sh TESTS-85: feat(tests): added issues.spec.ts test (#4025) 2023-11-22 16:14:26 +07:00
docker-compose.yaml
install-elastic-plugin-setup.sh
install-elastic-plugin.sh
prepare.sh TESTS-85: feat(tests): added issues.spec.ts test (#4025) 2023-11-22 16:14:26 +07:00
readme.md
restore-local.sh
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