Files
huly-platform/tests
Andrey SobolevandGitHub 6bb8bf5e1b Fix #1947 (#1993)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2022-06-03 11:24:38 +07:00
..
2022-06-03 11:24:38 +07:00
2022-03-24 16:04:29 +07:00
2022-01-27 11:36:46 +07:00
2022-01-27 11:36:46 +07:00
2022-01-27 11:36:46 +07: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-workdspace.sh

Prepare local dev enviornment

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
ruwhx dev-codegen # for local setup

Test authoring.

Please update all navigation with using PlatformURI for CI and dev environment compatible testing.