platform/tests
Vyacheslav Tumanov 9cb86c65b8
TSK-934: redirect to last location on opening main page (#2817)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
2023-03-23 14:51:59 +07:00
..
sanity TSK-934: redirect to last location on opening main page (#2817) 2023-03-23 14:51:59 +07:00
sanity-ws Fix kicked accounts could become active after upgrade (#2314) 2022-10-20 14:04:46 +07:00
build-reload.sh
create-local.sh Fixed rendering of the right sidebar (#2219) 2022-07-07 09:13:45 +07:00
docker-compose.yaml TSK-842: Fix resume recognition functionality (#2736) 2023-03-15 23:36:50 +07:00
install-elastic-plugin-setup.sh
install-elastic-plugin.sh
prepare.sh TSK-842: Fix resume recognition functionality (#2736) 2023-03-15 23:36:50 +07:00
readme.md
restore-local.sh Fixed rendering of the right sidebar (#2219) 2022-07-07 09:13:45 +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-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.