platform/tests
Andrey Sobolev e1947d3d03
Fix few issues (#1705)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2022-05-11 12:36:35 +07:00
..
sanity Fix few issues (#1705) 2022-05-11 12:36:35 +07:00
sanity-ws Remove outdated migrations (#1236) 2022-03-29 21:32:08 +07:00
build-reload.sh Test fixes (#1197) 2022-03-24 16:04:29 +07:00
create-local.sh Few fixes and uitest local setup (#1698) 2022-05-10 14:31:46 +07:00
docker-compose.yaml Fix server secret specification (#1054) 2022-02-25 16:04:02 +07:00
install-elastic-plugin.sh Kanban keyboard shortcuts (#1469) 2022-04-21 14:40:15 +07:00
prepare.sh Sanity testing 2022-01-27 11:36:46 +07:00
readme.md Few fixes and uitest local setup (#1698) 2022-05-10 14:31:46 +07:00
restore-local.sh Few fixes and uitest local setup (#1698) 2022-05-10 14:31:46 +07:00
restore-workspace.sh Sanity testing 2022-01-27 11:36:46 +07:00
setup-elastic.sh Tracker Issue tracking system (#1243) 2022-03-31 15:32:42 +07:00
tool.sh Sanity testing 2022-01-27 11:36:46 +07: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-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.