Skip to content

Commit

Permalink
Restyled by prettier-yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and DejinChen committed Sep 3, 2024
1 parent 4bc6c63 commit a1816e8
Showing 1 changed file with 35 additions and 26 deletions.
61 changes: 35 additions & 26 deletions src/app/tests/suites/certification/Test_TC_CNET_4_23.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# limitations under the License.

name:
12.4.23. [TC-CNET-4.23] [Wi-Fi and Thread] Verification for
network interface switching between Wi-Fi and Thread [DUT-Server]
12.4.23. [TC-CNET-4.23] [Wi-Fi and Thread] Verification for network
interface switching between Wi-Fi and Thread [DUT-Server]

PICS:
- CNET.S.F00 && CNET.S.F01
Expand Down Expand Up @@ -51,7 +51,8 @@ tests:
disabled: true

- label:
"Step 2: TH reads Networks attribute on endpoint PIXIT.CNET.ENDPOINT_WIFI from the DUT"
"Step 2: TH reads Networks attribute on endpoint
PIXIT.CNET.ENDPOINT_WIFI from the DUT"
PICS: CNET.S.A0001
verification: |
./chip-tool networkcommissioning read networks 1 <PIXIT.CNET.ENDPOINT_WIFI>
Expand All @@ -69,14 +70,16 @@ tests:
disabled: true

- label:
"Step 3: TH finds the index of the Networks list entry with NetworkID for
PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID and saves it as 'Userwifi_netidx'"
"Step 3: TH finds the index of the Networks list entry with NetworkID
for PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID and saves it as
'Userwifi_netidx'"
verification: |
disabled: true

- label:
"Step 4: TH sends RemoveNetwork Command to the DUT's endpoint PIXIT.CNET.ENDPOINT_WIFI
with NetworkID field set to PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID"
"Step 4: TH sends RemoveNetwork Command to the DUT's endpoint
PIXIT.CNET.ENDPOINT_WIFI with NetworkID field set to
PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID"
PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx
verification: |
./chip-tool networkcommissioning remove-network hex:<PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID> 1 <PIXIT.CNET.ENDPOINT_WIFI>
Expand All @@ -98,8 +101,9 @@ tests:
disabled: true

- label:
"Step 5: TH sends AddOrUpdateThreadNetwork command to the DUT's endpoint PIXIT.CNET.ENDPOINT_THREAD
with operational dataset field set to PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET"
"Step 5: TH sends AddOrUpdateThreadNetwork command to the DUT's
endpoint PIXIT.CNET.ENDPOINT_THREAD with operational dataset field set
to PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET"
PICS: CNET.S.C03.Rsp && CNET.S.C05.Tx
verification: |
./chip-tool networkcommissioning add-or-update-thread-network-network hex:<PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET> 1 <PIXIT.CNET.ENDPOINT_THREAD>
Expand All @@ -120,7 +124,9 @@ tests:
[1725259143.334] [1652611:1652613] [TOO] }
disabled: true

- label: "Step 6: TH reads Networks attribute from the DUT's endpoint PIXIT.CNET.ENDPOINT_THREAD"
- label:
"Step 6: TH reads Networks attribute from the DUT's endpoint
PIXIT.CNET.ENDPOINT_THREAD"
PICS: CNET.S.A0001
verification: |
./chip-tool networkcommissioning read networks 1 <PIXIT.CNET.ENDPOINT_THREAD>
Expand All @@ -138,8 +144,8 @@ tests:
disabled: true

- label:
"Step 7: TH sends ConnectNetwork command to the DUT's endpoint PIXIT.CNET.ENDPOINT_THREAD
with NetworkID field set to `th_xpan`"
"Step 7: TH sends ConnectNetwork command to the DUT's endpoint
PIXIT.CNET.ENDPOINT_THREAD with NetworkID field set to `th_xpan`"
PICS: CNET.S.C06.Rsp
verification: |
./chip-tool networkcommissioning connect-network hex:<th_xpan> 1 <PIXIT.CNET.ENDPOINT_THREAD>
Expand All @@ -157,8 +163,7 @@ tests:
Verify that the TH successfully connects to the DUT
disabled: true

- label:
"Step 9: TH sends the CommissioningComplete command to the DUT"
- label: "Step 9: TH sends the CommissioningComplete command to the DUT"
verification: |
./chip-tool generalcommissioning commissioning-complete 1 0
Expand All @@ -173,7 +178,8 @@ tests:
disabled: true

- label:
"Step 10: TH reads Networks attribute from the DUT's endpoint PIXIT.CNET.ENDPOINT_THREAD"
"Step 10: TH reads Networks attribute from the DUT's endpoint
PIXIT.CNET.ENDPOINT_THREAD"
PICS: CNET.S.A0001
verification: |
./chip-tool networkcommissioning read networks 1 <PIXIT.CNET.ENDPOINT_THREAD>
Expand Down Expand Up @@ -208,8 +214,8 @@ tests:
disabled: true

- label:
"Step 12: TH sends RemoveNetwork Command to the DUT's endpoint PIXIT.CNET.ENDPOINT_THREAD
with NetworkID field set to `th_xpan`"
"Step 12: TH sends RemoveNetwork Command to the DUT's endpoint
PIXIT.CNET.ENDPOINT_THREAD with NetworkID field set to `th_xpan`"
PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx
verification: |
./chip-tool networkcommissioning remove-network hex:<th_xpan> 1 <PIXIT.CNET.ENDPOINT_THREAD>
Expand All @@ -231,9 +237,10 @@ tests:
disabled: true

- label:
"Step 13: TH sends AddOrUpdateWiFiNetwork command to the DUT's endpoint PIXIT.CNET.ENDPOINT_WIFI
with SSID field set to PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID,
Credentials field set to PIXIT.CNET.WIFI_1ST_ACCESSPOINT_CREDENTIALS"
"Step 13: TH sends AddOrUpdateWiFiNetwork command to the DUT's
endpoint PIXIT.CNET.ENDPOINT_WIFI with SSID field set to
PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID, Credentials field set to
PIXIT.CNET.WIFI_1ST_ACCESSPOINT_CREDENTIALS"
PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx
verification: |
./chip-tool networkcommissioning add-or-update-wi-fi-network hex:<PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID> <PIXIT.CNET.WIFI_1ST_ACCESSPOINT_CREDENTIALS> 1 <PIXIT.CNET.ENDPOINT_WIFI>
Expand All @@ -254,8 +261,9 @@ tests:
disabled: true

- label:
"Step 14: TH sends ConnectNetwork command to the DUT's endpoint PIXIT.CNET.ENDPOINT_WIFI
with NetworkID field set to PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID"
"Step 14: TH sends ConnectNetwork command to the DUT's endpoint
PIXIT.CNET.ENDPOINT_WIFI with NetworkID field set to
PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID"
PICS: CNET.S.C06.Rsp && CNET.S.C07.Tx
verification: |
./chip-tool networkcommissioning connect-network hex:<PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID> 1 <PIXIT.CNET.ENDPOINT_WIFI>
Expand All @@ -272,14 +280,14 @@ tests:
disabled: true

- label:
"Step 15: TH discovers and connects to DUT on the Wi-Fi PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID operational network"
"Step 15: TH discovers and connects to DUT on the Wi-Fi
PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID operational network"
PICS: CNET.S.A0001
verification: |
Verify that the TH successfully connects to the DUT
disabled: true

- label:
"Step 16: TH sends the CommissioningComplete command to the DUT"
- label: "Step 16: TH sends the CommissioningComplete command to the DUT"
verification: |
./chip-tool generalcommissioning commissioning-complete 1 0
Expand All @@ -294,7 +302,8 @@ tests:
disabled: true

- label:
"Step 17: TH reads Networks attribute from the DUT's endpoint PIXIT.CNET.ENDPOINT_WIFI"
"Step 17: TH reads Networks attribute from the DUT's endpoint
PIXIT.CNET.ENDPOINT_WIFI"
PICS: CNET.S.A0001
verification: |
./chip-tool networkcommissioning read networks 1 <PIXIT.CNET.ENDPOINT_WIFI>
Expand Down

0 comments on commit a1816e8

Please sign in to comment.