platform/tests
Alexander Platov 58af65e29d
Added and fixed uitest (#5866)
Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
2024-06-20 22:36:33 +07:00
..
sanity Added and fixed uitest (#5866) 2024-06-20 22:36:33 +07:00
sanity-ws Guests (#5536) 2024-05-08 16:41:44 +07:00
.env UBERF-6854: S3 provider (#5611) 2024-05-17 17:08:30 +07:00
branding-test.json uberf-7342: add french lang selector (#5873) 2024-06-20 22:36:09 +07:00
build-reload.sh
create-local.sh feat(planner): new slots, fixes and improvements (#4961) 2024-03-19 11:40:07 +04:00
docker-compose.yaml EZQMS-951: Server branding (#5858) 2024-06-20 18:13:57 +05:00
install-elastic-plugin-setup.sh
install-elastic-plugin.sh
prepare-tests.sh feat(tests): updated reports and prepare server step (#4659) 2024-02-16 13:36:14 +07:00
prepare.sh Guests (#5536) 2024-05-08 16:41:44 +07:00
readme.md
restore-local.sh Enhanced Phased build (#4599) 2024-02-12 23:57:11 +07:00
restore-workspace.sh feat(tests): TESTS-93 updated Created date filter test (#4862) 2024-03-03 23:47:26 +07:00
tool-local.sh Enhanced Phased build (#4599) 2024-02-12 23:57:11 +07:00
tool.sh Enhanced Phased build (#4599) 2024-02-12 23:57:11 +07:00
update-snapshot-ci.sh
update-snapshot.sh Enhanced Phased build (#4599) 2024-02-12 23:57:11 +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.

Generate Allure

allure generate allure-results -o allure-report --clean
allure open allure-report