Index: tst_pre_treatment_water_sample/test.py =================================================================== diff -u -r2e73714b63ae5fd2ef8b5acca5043e136454feff -rf3497ae0af556872a4f4234e0a3313c5e98f541c --- tst_pre_treatment_water_sample/test.py (.../test.py) (revision 2e73714b63ae5fd2ef8b5acca5043e136454feff) +++ tst_pre_treatment_water_sample/test.py (.../test.py) (revision f3497ae0af556872a4f4234e0a3313c5e98f541c) @@ -1,10 +1,19 @@ # file tst__pre_treatment_water_sample -# date 2022/03/14 -# author Akshay Rajaram Dhawan -# author Ajina S M -# author Amol Shinde -# NOTE: -# This test contradicts verification of Filter Flush Progress, Screen Titles, Page Step Indicators, Screen navigations, and buttons. +########################################################################### +# +# Copyright (c) 2022-2025 Diality Inc. - All Rights Reserved. +# +# 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) Vy +# @date (last) 01-Dec-2023 +# @author (original) Amol-77 +# @date (original) 09-Mar-2022 +# +############################################################################ import names from dialin.ui import utils @@ -56,8 +65,7 @@ test.startSection("Verify the water sample result screen") test.compare(str(waitForObjectExists(names.o_next_button).text), config.NEXT_BUTTON_TEXT, "Next Button text should be {}".format(config.NEXT_BUTTON_TEXT)) test.compare(waitForObjectExists(names.o_next_button).enabled , True,"Next button should be enabled") - mouseClick(waitForObject(names.o_next_button_MouseArea)) - mouseClick(waitForObject(names.o_next_button)) + mouseClick(waitForObject(names.o_next_button)) utility.verify_page_step_indicator(names.o_preTreatmentWaterSampleStack_PreTreatmentBase_TreatmentFlowBase,PRE_TREATMENT_STEP, config.PRE_TREATMENT_SCREENS) test.compare(str(waitForObjectExists(names.o_pass_button).text), config.PASS_TEXT,"Pass button text should be {}".format(config.PASS_TEXT)) test.compare(waitForObjectExists(names.o_pass_button).enabled , True, "Pass button should be enabled") @@ -71,7 +79,6 @@ mouseClick(waitForObject(names.o_water_sample_back_button)) test.compare(str(waitForObjectExists(names.o_next_button).text), config.NEXT_BUTTON_TEXT, "Next Button text should be {}".format(config.NEXT_BUTTON_TEXT)) test.compare(waitForObjectExists(names.o_next_button).enabled , True,"Next button should be enabled") - mouseClick(waitForObject(names.o_next_button_MouseArea)) mouseClick(waitForObject(names.o_next_button)) test.endSection()