platform/tests
Vyacheslav Tumanov bea418d46c
Increase timeout to prevent failing on teardown (#2524)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
2023-01-20 14:07:59 +07:00
..
sanity Increase timeout to prevent failing on teardown (#2524) 2023-01-20 14:07: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 Test fixes (#1197) 2022-03-24 16:04:29 +07:00
create-local.sh Fixed rendering of the right sidebar (#2219) 2022-07-07 09:13:45 +07:00
docker-compose.yaml List extract (#2505) 2023-01-14 17:54:54 +07:00
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 Kanban keyboard shortcuts (#1469) 2022-04-21 14:40:15 +07:00
prepare.sh Support secret changes and token become unauchorized (#2205) 2022-07-05 11:43:17 +06:00
readme.md Tracker: add priority to sub-issues (#2054) 2022-06-15 10:01:21 +07:00
restore-local.sh Fixed rendering of the right sidebar (#2219) 2022-07-07 09:13:45 +07:00
restore-workspace.sh Sanity testing 2022-01-27 11:36:46 +07:00
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.