@@ -152,14 +152,16 @@ def _ask_for_vendor_commissioning_ux_operation(self, setup_params: SetupParamete
152
152
f">>> pairing onnetwork 111 { setup_params .passcode } " )
153
153
154
154
def steps_TC_MCORE_FS_1_2 (self ) -> list [TestStep ]:
155
- steps = [TestStep (1 , "TH subscribes to PartsList attribute of the Descriptor cluster of DUT_FSA endpoint 0." ),
156
- TestStep (2 , "Follow manufacturer provided instructions to have DUT_FSA commission TH_SERVER" ),
157
- TestStep (3 , "TH waits up to 30 seconds for subscription report from the PartsList attribute of the Descriptor to contain new endpoint" ),
158
- TestStep (4 , "TH uses DUT to open commissioning window to TH_SERVER" ),
159
- TestStep (5 , "TH commissions TH_SERVER" ),
160
- TestStep (6 , "TH reads all attributes in Basic Information cluster from TH_SERVER directly" ),
161
- TestStep (7 , "TH reads all attributes in the Bridged Device Basic Information cluster on new endpoint identified in step 3 from the DUT_FSA" )]
162
- return steps
155
+ return [
156
+ TestStep (0 , "Commission DUT if not done" , is_commissioning = True ),
157
+ TestStep (1 , "TH subscribes to PartsList attribute of the Descriptor cluster of DUT_FSA endpoint 0." ),
158
+ TestStep (2 , "Follow manufacturer provided instructions to have DUT_FSA commission TH_SERVER" ),
159
+ TestStep (3 , "TH waits up to 30 seconds for subscription report from the PartsList attribute of the Descriptor to contain new endpoint" ),
160
+ TestStep (4 , "TH uses DUT to open commissioning window to TH_SERVER" ),
161
+ TestStep (5 , "TH commissions TH_SERVER" ),
162
+ TestStep (6 , "TH reads all attributes in Basic Information cluster from TH_SERVER directly" ),
163
+ TestStep (7 , "TH reads all attributes in the Bridged Device Basic Information cluster on new endpoint identified in step 3 from the DUT_FSA" ),
164
+ ]
163
165
164
166
# This test has some manual steps, so we need a longer timeout. Test typically runs under 1 mins so 3 mins should
165
167
# be enough time for test to run
@@ -170,6 +172,9 @@ def default_timeout(self) -> int:
170
172
@async_test_body
171
173
async def test_TC_MCORE_FS_1_2 (self ):
172
174
175
+ # Commissioning - done
176
+ self .step (0 )
177
+
173
178
min_report_interval_sec = self .user_params .get ("min_report_interval_sec" , 0 )
174
179
max_report_interval_sec = self .user_params .get ("max_report_interval_sec" , 30 )
175
180
0 commit comments