platform/tests
Alexander Platov 02e4d1988d
Update Filters layout ()
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
2022-05-24 20:46:19 +06:00
..
sanity Update Filters layout () 2022-05-24 20:46:19 +06:00
sanity-ws
build-reload.sh
create-local.sh Few fixes and uitest local setup () 2022-05-10 14:31:46 +07:00
docker-compose.yaml
install-elastic-plugin.sh
prepare.sh
readme.md Few fixes and uitest local setup () 2022-05-10 14:31:46 +07:00
restore-local.sh Few fixes and uitest local setup () 2022-05-10 14:31:46 +07:00
restore-workspace.sh
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-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.