platform/tests
Denis Bykhov 67d1d92e24
Workspace in url (#2214)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
2022-07-06 14:02:01 +07:00
..
sanity Workspace in url (#2214) 2022-07-06 14:02:01 +07:00
sanity-ws
build-reload.sh
create-local.sh
docker-compose.yaml
install-elastic-plugin-setup.sh Support secret changes and token become unauchorized (#2205) 2022-07-05 11:43:17 +06:00
install-elastic-plugin.sh
prepare.sh Support secret changes and token become unauchorized (#2205) 2022-07-05 11:43:17 +06:00
readme.md
restore-local.sh
restore-workspace.sh
setup-elastic.sh Support secret changes and token become unauchorized (#2205) 2022-07-05 11:43:17 +06:00
tool.sh Support secret changes and token become unauchorized (#2205) 2022-07-05 11:43:17 +06: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 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.