platform/tests
2023-06-01 23:35:36 +07:00
..
sanity UBER-170: Navigation for contacts (#3323) 2023-06-01 23:35:36 +07:00
sanity-ws
build-reload.sh
create-local.sh UBER-221 Confirm registration (#3254) 2023-05-29 13:20:59 +07:00
docker-compose.yaml TSK-1009: Configurable platform (#3055) 2023-04-25 14:34:10 +07:00
install-elastic-plugin-setup.sh
install-elastic-plugin.sh
prepare.sh UBER-221 Confirm registration (#3254) 2023-05-29 13:20:59 +07:00
readme.md
restore-local.sh TSK-1009: Configurable platform (#3055) 2023-04-25 14:34:10 +07:00
restore-workspace.sh TSK-1009: Configurable platform (#3055) 2023-04-25 14:34:10 +07:00
setup-elastic.sh
tool.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 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
rushx dev-codegen # for local setup

Test authoring.

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