platform/tests
Ruslan Bayandinov 4fcec640a4
Add verifications for some test steps (#2371)
* Add verifications for some test steps

Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>

* Add verifications for some test steps

Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>

* remove random from tests

Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>

* return random and fix internal loop index

Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>

* remove outer loop

Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>

Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>
2022-11-10 14:14:21 +06:00
..
sanity Add verifications for some test steps (#2371) 2022-11-10 14:14:21 +06: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
docker-compose.yaml Rework documents (#2347) 2022-11-02 14:50:14 +06:00
install-elastic-plugin-setup.sh
install-elastic-plugin.sh
prepare.sh
readme.md
restore-local.sh
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.