platform/tests
2023-11-18 15:20:19 +07:00
..
sanity Improve My issues and fix few UI test instabilities (#4009) 2023-11-18 15:20:19 +07:00
sanity-ws feat(tests): updated tracker.loading.spec.ts test (#3989) 2023-11-15 11:13:37 +07:00
build-reload.sh
create-local.sh Nevdex fixes (#3714) 2023-09-19 18:11:28 +07:00
docker-compose.yaml UBER-937: Extensibility changes (#3874) 2023-10-24 15:53:33 +07:00
install-elastic-plugin-setup.sh
install-elastic-plugin.sh
prepare.sh
readme.md feat(tests): added page-object model example. Refactor login test to page-object model. Added a new test channel.spec.ts (#3847) 2023-10-17 12:58:56 +03:00
restore-local.sh Nevdex fixes (#3714) 2023-09-19 18:11:28 +07:00
restore-workspace.sh
tool.sh Nevdex fixes (#3714) 2023-09-19 18:11:28 +07:00
update-snapshot-ci.sh
update-snapshot.sh Nevdex fixes (#3714) 2023-09-19 18:11:28 +07:00
wait-elastic.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 environment

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.