mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-17 18:05:42 +02:00
* fix: redesign and compact Signed-off-by: Leonid Kaganov <lleo@lleo.me> * fix: comments Signed-off-by: Leonid Kaganov <lleo@lleo.me> * fix: correctly dropping connections in timeout Signed-off-by: Leonid Kaganov <lleo@lleo.me> * feature: loglevel in config Signed-off-by: Leonid Kaganov <lleo@lleo.me> * fix: loglevel in config Signed-off-by: Leonid Kaganov <lleo@lleo.me> * features lopt: direct personal messages between websockets by username Signed-off-by: Leonid Kaganov <lleo@lleo.me> * fix collaborator security query Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com> * Fix svelte warnings Signed-off-by: Artem Savchenko <armisav@gmail.com> * Change log Signed-off-by: Artem Savchenko <armisav@gmail.com> * Add workspace permissions enum Signed-off-by: Artem Savchenko <armisav@gmail.com> * Add changelog Signed-off-by: Artem Savchenko <armisav@gmail.com> * Permission methods Signed-off-by: Artem Savchenko <armisav@gmail.com> * Update core and account versions Signed-off-by: Artem Savchenko <armisav@gmail.com> * Update core and account versions Signed-off-by: Artem Savchenko <armisav@gmail.com> --------- Signed-off-by: Leonid Kaganov <lleo@lleo.me> Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com> Signed-off-by: Artem Savchenko <armisav@gmail.com> Co-authored-by: Leonid Kaganov <lleo@lleo.me> Co-authored-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
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