Clone Tools
  • last updated a few seconds 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/"

Updated the test script with TDTreaRinsebackStates

Updated the test script with TDTreaRinsebackStates

As per suggestion using TDTreaRinsebackStates in test script

As per suggestion using TDTreaRinsebackStates in test script

I have updated the step by getting the value from rejections.conf file. For all the rejections message we will create new test script

I have updated the step by getting the value from rejections.conf file. For all the rejections message we will create new test script

Change the name to ArterialWindow, Art is so confusing.

Change the name to ArterialWindow, Art is so confusing.

i am good with the implementaiton

i am good with the implementaiton

RESOLVED.

RESOLVED.

RESOLVED.

RESOLVED.

Thanks for the clarification. RESOLVED.

Thanks for the clarification.
RESOLVED.

RESOLVED.

RESOLVED.

RESOLVED.

RESOLVED.

yes Behrouz NematiPour this is not part of the pre tx anymore and the changes to this common file is happening in another test case

yes Behrouz NematiPour this is not part of the pre tx anymore and the changes to this common file is happening in another test case

the default timeout for the squish API is 20000ms and i thought 20 seconds was too long so we lowered it. I think there is a way to edit this default in the squish test suite settings

the default timeout for the squish API is 20000ms and i thought 20 seconds was too long so we lowered it. I think there is a way to edit this default in the squish test suite settings

i agree lets use the definitions in td_defs as these are the most updated ones and use TDTreaRinsebackStates.RINSEBACK_STOP_INIT_STATE.value

i agree lets use the definitions in td_defs as these are the most updated ones and use TDTreaRinsebackStates.RINSEBACK_STOP_INIT_STATE.value

The states that need .value come from the td_defs that inherit from DialinEnum, and the ones that don't have .value come from the ui_defs, which are simple classes, so they don't need .value since ...

The states that need .value come from the td_defs that inherit from DialinEnum, and the ones that don't have .value come from the ui_defs, which are simple classes, so they don't need .value since those do not support metadata.
The UI_defs seem to be what I think aren't maintained anymore and last time updated was the 21 months ago.

Anything we want shall be available in the td_defs.
as an example:

# TDTreatmentStates.TREATMENT_RINSEBACK_STATE sub states
@unique
class TDTreaRinsebackStates(DialinEnum):
    RINSEBACK_STOP_INIT_STATE           = 0                     # Start state (stopped) of the rinseback sub-mode state machine
    RINSEBACK_RUN_STATE                 = 1                     # Rinseback running state of the rinseback sub-mode state machine
    RINSEBACK_PAUSED_STATE              = 2                     # Rinseback paused state of the rinseback sub-mode state machine
    RINSEBACK_STOP_STATE                = 3                     # Rinseback stopped (done) state of the rinseback sub-mode state machine
    RINSEBACK_RUN_ADDITIONAL_STATE      = 4                     # Additional rinseback volume (10 mL) state of the rinseback sub-mode state machine
    RINSEBACK_RECONNECT_PATIENT_STATE   = 5                     # Rinseback patient reconnect state of the rinseback sub-mode state machine
    NUM_OF_RINSEBACK_STATES             = 6                     # Number of rinseback sub-mode states


We should follow the same rule in the simulators and plugins.

Nicholas Ramirez I still need your feedback and correct me if I am wrong.

Nicholas Ramirez Please investigate the Dial-In code.

Nicholas Ramirez Please investigate the Dial-In code.

Oh, what is the interval of the lambda call? I have never used it this way. Not sure if that is a good or bad idea. Did we check the performance, or if it blocks the test? Nicholas Ramirez Resolve ...

Oh, what is the interval of the lambda call?
I have never used it this way.
Not sure if that is a good or bad idea.
Did we check the performance, or if it blocks the test?
Nicholas Ramirez Resolve if you are fine with the implementation.

RESOLVED

RESOLVED

Thank you for the details. I will leave this to Nicholas Ramirez to decide, and let's discuss if needed. We need to implement a Rejection reason test case and test all the reason IDs passed and the...

Thank you for the details.
I will leave this to Nicholas Ramirez to decide, and let's discuss if needed.
We need to implement a Rejection reason test case and test all the reason IDs passed and the mapped texts displayed to the user in every situation.

RESOLVED.

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
I am allowing a tolerance of 2 seconds between the expected time and the UI-displayed time.

I am allowing a tolerance of 2 seconds between the expected time and the UI-displayed time.

Added to suite conf

Added to suite conf

Added the waitForObject while navigating to the pages

Added the waitForObject while navigating to the pages

Added 60 second snooze

Added 60 second snooze