Files
huly-platform/tests
2025-04-10 19:47:48 +05:00
..
2025-01-29 11:35:17 +07:00
2025-03-22 13:55:46 +05:00
2025-02-24 13:12:19 +07:00
2025-03-22 13:55:46 +05:00
2025-03-22 13:55:46 +05:00
2025-03-22 13:55:46 +05:00
2025-03-22 13:55:46 +05:00
2025-03-22 13:55:46 +05: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