-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVerify_AuxTel_Housekeeping.robot
39 lines (32 loc) · 1.43 KB
/
Verify_AuxTel_Housekeeping.robot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
*** Settings ***
Resource Global_Vars.resource
Resource CSC_Lists.resource
Resource Common_Keywords.resource
Force Tags athousekeeping
Suite Setup Check If Failed
*** Variables ***
@{port_field} selected
@{instrument_port} 2 #Nasymth2
*** Test Cases ***
Execute AuxTel Housekeeping
[Tags] execute auxtel
${scripts} ${states}= Execute Integration Test auxtel_housekeeping
Verify Scripts Completed Successfully ${scripts} ${states}
Verify ATMCS Set to Nasmyth2
[Tags] atmcs
Verify Topic Attribute ATMCS logevent_m3PortSelected ${port_field} ${instrument_port}
Verify AuxTel is Parked
[Tags] atmcs atptg
Verify Telescope Parked auxtel
Verify ATDome is Parked
[Tags] atdome
Comment The Dome park process can take several seconds to finish, even though the command is complete.
Wait Until Keyword Succeeds 5x 2s Verify Dome Parked auxtel
Verify ATMCS Tracking is Disabled
[Tags] atmcs
${dataframe}= Get Recent Samples ATMCS logevent_atMountState ["*",] 1 None
Should Be Equal As Integers ${dataframe.state.values}[0] 8 #TrackingDisabled
Verify ATPtg Tracking is Disabled
[Tags] atptg
${dataframe}= Get Recent Samples ATPtg logevent_detailedState ["detailedState",] 1 None
Should Be Equal As Integers ${dataframe.detailedState.values}[0] 1 #NOTTRACKING