This is not how we typically spec details in function headers. Should be inputs and outputs at a minimum (see other function headers for example) and optionally alarms or messages sent or notes. We can keep these details if you like, but they should be part of the brief above.
the QR code should not be visible. This test is not valid and incorrect because this should fail as we only get QR code once we validate all this checks if that object is there which it is there but not visible. We should be testing the visible property of the QR code section.
This also needs to be moved after the FW td_Treatment_Parameters_Validation to pass
#1. Change Duration -> Verify Heparin Stop Time "active" property is set to off
1. First set Duration, then Bolus Volume, then dispensing rate and then Hep Stop time 2. Change Duration. 3. Verify the "isActive" property of o_PreTreatmentCreate_heparinStopTimeControl_ValueAdjuster is set to False
Please use the mainTreatment screen as the default. If necessary, could you create a specific enum to clean up the stack (which I do not believe is needed.)
Not able to find in your test.py, but these types of texts will change with the translation, and if the text is used as has been defined here, your test will fail in other languages. Just be aware and think of a solution to be flexible for later when testing with other languages.
ive noticed this common method being used in other test cases. If its a general method that is used throughout please move outside in a shared file and call from there. Please update other repositories that use this as well.