Index: tst_treatment_saline_data/test.py =================================================================== diff -u -r5d6a0bb96d04a86cc10936ac3f303c28be3bb249 -r316fd2f51b0fa89c0f69949d79ef246e1e4bc4ed --- tst_treatment_saline_data/test.py (.../test.py) (revision 5d6a0bb96d04a86cc10936ac3f303c28be3bb249) +++ tst_treatment_saline_data/test.py (.../test.py) (revision 316fd2f51b0fa89c0f69949d79ef246e1e4bc4ed) @@ -1,18 +1,19 @@ # -*- coding: utf-8 -*- - -## -# Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. -# copyright -# THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, -# IN PART OR IN WHOLE, -# WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. +########################################################################### # -# file tst_In_treatment -# date 2020/02/11 -# author Joseph Varghese +# Copyright (c) 2022-2025 Diality Inc. - All Rights Reserved. # -# NOTE: -# This test contradicts verification of saline bolus in In-treatment section of Application +# THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN +# WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. +# +# @file test.py +# +# @author (last) JonnyP +# @date (last) 10-Apr-2025 +# @author (original) joseph_varghese +# @date (original) 01-Mar-2022 +# +############################################################################ import names @@ -291,9 +292,8 @@ dialysis_state=TreatmentStates.TREATMENT_START_STATE.value, bloodLeakZeoringState = BloodLeakZeroingStates.BLD_ZEROING_IDLE_STATE.value) - test.compare((waitForObjectExists(names.o_treatmentHome_startFluidButton_TouchRect).enabled), False, "START BOLUS button is not enable") - test.compare((waitForObjectExists(names.o_treatmentHome_START_BOLUS_Text).enabled), False, "Start Bolus text is not enable") - test.compare(str(waitForObjectExists(names.o_treatmentHome_Maximum_cumulative_saline_bolus_volume_delivered_Text).text), "Maximum cumulative saline bolus volume delivered", "Treatment Paused text is visible") + test.compare((waitForObjectExists(names.o_treatmentHome_startFluidButton_TouchRect).enabled), True, "START BOLUS button is enabled") + test.compare((waitForObjectExists(names.o_treatmentHome_START_BOLUS_Text).enabled), True, "Start Bolus text is enabled") test.endSection()