mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 11:42:30 +03:00
f258c6755a
Some checks are pending
CI / build (push) Waiting to run
CI / svelte-check (push) Blocked by required conditions
CI / formatting (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / uitest (push) Waiting to run
CI / uitest-pg (push) Waiting to run
CI / uitest-qms (push) Waiting to run
CI / docker-build (push) Blocked by required conditions
CI / dist-build (push) Blocked by required conditions
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com> |
||
---|---|---|
.. | ||
sanity | ||
sanity-ws | ||
.env | ||
branding-test.json | ||
build-reload.sh | ||
create-local.sh | ||
docker-compose.override.yaml | ||
docker-compose.yaml | ||
install-elastic-plugin-setup.sh | ||
install-elastic-plugin.sh | ||
prepare-pg.sh | ||
prepare-tests.sh | ||
prepare.sh | ||
profile-download.sh | ||
profile-generate.sh | ||
profile-start.sh | ||
readme.md | ||
restore-local.sh | ||
restore-pg.sh | ||
restore-workspace.sh | ||
tool-local.sh | ||
tool-pg.sh | ||
tool.sh | ||
update-snapshot-ci.sh | ||
update-snapshot.sh | ||
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.
Generate Allure
allure generate allure-results -o allure-report --clean
allure open allure-report