Tuesday, July 22, 2025
2 changes · saas-18.3
Code cleanup and technical improvements
This update reorganizes how Point of Sale test data is prepared by moving it into the mock server used during automated testing. It should make test coverage easier to maintain and reduce false failures from overly slow test scenarios, without changing day-to-day user workflows.
Original PR description
*: pos_account_tax_python, pos_adyen, pos_event, pos_hr, pos_loyalty, pos_pine_labs, pos_razorpay, pos_restaurant, pos_restaurant_adyen, pos_sale, pos_self_order, pos_stripe, pos_viva_com Change data generation for tests to have it in the mock server. Also adding load arguements to search_read of models of mock server. --- This PR also removes the test `test_load_pos_demo_data_by_pos_admin` which performs an action that takes too long, so towers consider the test to be erroneous.
Test data for several Point of Sale-related apps is now generated through the mock server instead of separate test files. This makes automated tests easier to maintain and helps keep quality checks more consistent across appointment, IoT, restaurant, payment, and delivery integrations.
Original PR description
*: , pos_iot, pos_restaurant_appointment, pos_tyro, pos_urban_piper Change data generation for tests to have it in the mock server.