tst_service_institutional

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Now added function that return configuration folder path def configuration_folder_path(): """ Check for Path.home() is /home/denali then return configuration folder location else return Device conf...

Now added function that return configuration folder path
def configuration_folder_path():
"""
Check for Path.home() is /home/denali then return configuration folder location
else return Device configuration folder location
"""
home_dir = str(Path.home())
if home_dir == "/home/denali":
return "/home/denali/Public/luis/config/configurations/"
else:
return "/opt/leahi/config/configurations/"

Now added function that return configuration folder path def configuration_folder_path(): """ Check for Path.home() is /home/denali then return configuration folder location else return Device conf...

Now added function that return configuration folder path
def configuration_folder_path():
"""
Check for Path.home() is /home/denali then return configuration folder location
else return Device configuration folder location
"""
home_dir = str(Path.home())
if home_dir == "/home/denali":
return "/home/denali/Public/luis/config/configurations/"
else:
return "/opt/leahi/config/configurations/"

same as: https://devapps.diality.us/cru/LEAHI-TESTSUITES-LDT-3153-1#c29805

same as:
https://devapps.diality.us/cru/LEAHI-TESTSUITES-LDT-3153-1#c29805

remove the Path.home() and use the /home/denali/ On the device, it is not even in the home folder, so the path will be entirely different. on the VM: conf_path = "/home/denali/Public/luis/config/c...

remove the Path.home() and use the /home/denali/
On the device, it is not even in the home folder, so the path will be entirely different.

on the VM:

conf_path = "/home/denali/Public/luis/config/configurations/" + Alarms/Rejections.conf

on the device, there MAY be something like this:

conf_path = "/opt/leahi/config/configurations/" + Alarms/Rejections.conf
storing general configurations folder path in config.py

storing general configurations folder path in config.py

changed direct file path to dynamic user perspective and storing general configurations folder path in config.py

changed direct file path to dynamic user perspective and storing general configurations folder path in config.py

RESOLVED>

RESOLVED>

Generally, any path should be a variable in a global location.

Generally, any path should be a variable in a global location.

Take this in a global place. Testing on the device will be different.

Take this in a global place.
Testing on the device will be different.

Added test.fail as per comment

Added test.fail as per comment

Does Squish report the remaining tests as failed? Also, it should stop all of the other tests too, because almost all the tests depend on the CANBus communication.

Does Squish report the remaining tests as failed?
Also, it should stop all of the other tests too, because almost all the tests depend on the CANBus communication.

RESOLVED.

RESOLVED.

RESOLVED.

RESOLVED.

updated code as per comment

updated code as per comment

updated code as per comment

updated code as per comment

merged with staging branch and added all the scripts

merged with staging branch and added all the scripts

this is a good test for each test main function, but needs to be one time t the top of the main function. And I believe if that fails you need to exit and do not continue to the rest of the test. ...

this is a good test for each test main function, but needs to be one time t the top of the main function.
And I believe if that fails you need to exit and do not continue to the rest of the test.

make a checkblock and return if fails.

if there is no = in the line then we do not have index 1 nd the code will fail. please first split check the size then get the index if exitsts.

if there is no = in the line then we do not have index 1 nd the code will fail.
please first split check the size then get the index if exitsts.

please just add test case to the end and not remove all the prior ones

please just add test case to the end and not remove all the prior ones

updated as per comment

updated as per comment

updated as per comment

updated as per comment

LDT-2841 Service - SW - 02 - Institutional - Q&R - 15: SIT - Software Integration Tests - Squish Qt

  1. … 1 more file in changeset.
instead of hard coding can you test against the INSTITUTIONAL_CONFIGURATIONS_BLOOD_FLOW_CUSTOM_RANGE[vBloodFlowDef] ? update for each of these

instead of hard coding can you test against the INSTITUTIONAL_CONFIGURATIONS_BLOOD_FLOW_CUSTOM_RANGE[vBloodFlowDef] ? update for each of these

please only add test case to the end

please only add test case to the end

LDT-2841 Service - SW - 02 - Institutional - Q&R - 15: SIT - Software Integration Tests - Squish Qt

updated as per comment

updated as per comment

updated as per comment

updated as per comment

mouseClick(waitForObject(utility.findChildByText(post_treatment, config.AUTO_EJECT), 2000))

mouseClick(waitForObject(utility.findChildByText(post_treatment, config.AUTO_EJECT), 2000))