Skip to content

Commit

Permalink
TC_CNET_4.9 and 4.11 Fix Verification issue and incorrect parameter c…
Browse files Browse the repository at this point in the history
…hecking (matter-test-scripts #455)
  • Loading branch information
simonhmorris1 committed Dec 5, 2024
1 parent 2bc3251 commit 419d7b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
11 changes: 1 addition & 10 deletions src/app/tests/suites/certification/Test_TC_CNET_4_11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,6 @@ tests:
"Step 4: TH sends RemoveNetwork Command to the DUT with NetworkID
field set to PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID and Breadcrumb field
set to 1"
verification: |
Verify that DUT sends NetworkConfigResponse to command with the following fields:
NetworkingStatus is success
NetworkIndex is 'Userwifi_netidx'
PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx
command: "RemoveNetwork"
arguments:
Expand Down Expand Up @@ -161,6 +156,7 @@ tests:
field set to PIXIT.CNET.WIFI_2ND_ACCESSPOINT_SSID and Breadcrumb field
set to 2"
PICS: CNET.C.C06.Tx

timedInteractionTimeoutMs: 5000
command: "ConnectNetwork"
arguments:
Expand Down Expand Up @@ -287,11 +283,6 @@ tests:
"Step 15: TH sends RemoveNetwork Command to the DUT with NetworkID
field set to PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID and Breadcrumb field
set to 1"
verification: |
Verify that DUT sends NetworkConfigResponse to command with the following fields:
NetworkingStatus is success
NetworkIndex is 'Userwifi_netidx'
PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx
command: "RemoveNetwork"
arguments:
Expand Down
14 changes: 2 additions & 12 deletions src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@ tests:
"Step 4: TH sends RemoveNetwork Command to the DUT with NetworkID
field set to PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID and Breadcrumb field
set to 1"
verification: |
Verify that DUT sends NetworkConfigResponse to command with the following fields:
NetworkingStatus is success
NetworkIndex is 'Userwifi_netidx'
PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx
command: "RemoveNetwork"
arguments:
Expand Down Expand Up @@ -133,17 +128,17 @@ tests:
command: "readAttribute"
attribute: "LastNetworkingStatus"
response:
value: 0
constraints:
type: NetworkCommissioningStatusEnum
anyOf: [0, null]

- label: "Step 7: TH reads LastNetworkID attribute from the DUT"
PICS: CNET.S.A0006
command: "readAttribute"
attribute: "LastNetworkID"
response:
value: PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID
constraints:
anyOf: [PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID, null]
type: octet_string
minLength: 1
maxLength: 32
Expand Down Expand Up @@ -247,11 +242,6 @@ tests:
"Step 14: TH sends RemoveNetwork Command to the DUT with NetworkID
field set to PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID and Breadcrumb field
set to 1"
verification: |
Verify that DUT sends NetworkConfigResponse to command with the following fields:
NetworkingStatus is success
NetworkIndex is 'Userwifi_netidx'
PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx
command: "RemoveNetwork"
arguments:
Expand Down

0 comments on commit 419d7b4

Please sign in to comment.