Skip to content

Commit

Permalink
Modified scripts
Browse files Browse the repository at this point in the history
TC-ACE-1.5
TC-BRBINFO-1.1
TC-SC-6.1
  • Loading branch information
manjunath-grl committed May 12, 2023
1 parent c6da3b4 commit 4e0c3a5
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 400 deletions.
33 changes: 33 additions & 0 deletions src/app/tests/suites/certification/Test_TC_ACE_1_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,40 @@ tests:
response:
saveAs: th1FabricIndex

- label:
"Step 3 & 4: TH1 puts DUT into commissioning mode, TH2 commissions DUT
using admin node ID N2"
verification: |
Open a commissioning window On TH1(Chiptool)using below command
./chip-tool pairing open-commissioning-window 1 1 400 2000 3841
[1657186324.710951][10820:10825] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0
[1657186324.710980][10820:10825] CHIP:CTL: Successfully opened pairing window On TH(Chiptool)e device
[1657186324.711048][10820:10825] CHIP:CTL: Manual pairing code: [36253605617]
[1657186324.711108][10820:10825] CHIP:CTL: SetupQRCode: [MT:-24J0IRV01A7TB7E700]
Commission TH2(Chiptool) to DUT using manualcode generated in TH1 using open commission window
./chip-tool pairing code 2 36253605617 --commissioner-name beta --commissioner-nodeid 223344
[1657186359.584672][3509:3514] CHIP:CTL: Successfully finished commissioning step 'Cleanup'
[1657186359.584743][3509:3514] CHIP:TOO: Device commissioning completed with success
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "Enter 'y' after success"
- name: "expectedValue"
value: "y"

- label: "Open Commissioning Window from alpha"
cluster: "Administrator Commissioning"
command: "OpenCommissioningWindow"
timedInteractionTimeoutMs: 10000
PICS: PICS_SDK_CI_ONLY
arguments:
values:
- name: "CommissioningTimeout"
Expand All @@ -72,6 +102,7 @@ tests:
- label: "Waiting after opening commissioning window"
cluster: "DelayCommands"
command: "WaitForMs"
PICS: PICS_SDK_CI_ONLY
arguments:
values:
- name: "ms"
Expand All @@ -81,6 +112,7 @@ tests:
identity: "beta"
cluster: "CommissionerCommands"
command: "PairWithCode"
PICS: PICS_SDK_CI_ONLY
arguments:
values:
- name: "nodeId"
Expand All @@ -92,6 +124,7 @@ tests:
identity: beta
cluster: "DelayCommands"
command: "WaitForCommissionee"
PICS: PICS_SDK_CI_ONLY
arguments:
values:
- name: "nodeId"
Expand Down
61 changes: 15 additions & 46 deletions src/app/tests/suites/certification/Test_TC_BRBINFO_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,52 +186,21 @@ tests:
type: list
contains: [18]

- label: "TH1 reads EventList from DUT"
PICS: " !BRBINFO.S.E00 && !BRBINFO.S.E01 && !BRBINFO.S.E02 &&
!BRBINFO.S.E03
"
command: "readAttribute"
attribute: "EventList"
response:
value: []
constraints:
type: list

- label: "TH1 reads optional event (StartUp) in EventList"
PICS: BRBINFO.S.E00
command: "readAttribute"
attribute: "EventList"
response:
constraints:
type: list
contains: [0]

- label: "TH1 reads optional event (ShutDown) in EventList"
PICS: BRBINFO.S.E01
command: "readAttribute"
attribute: "EventList"
response:
constraints:
type: list
contains: [1]

- label: "TH1 reads optional event (Leave) in EventList"
PICS: BRBINFO.S.E02
command: "readAttribute"
attribute: "EventList"
response:
constraints:
type: list
contains: [2]

- label: "TH1 reads optional event (ReachableChanged) in EventList"
PICS: BRBINFO.S.E03
command: "readAttribute"
attribute: "EventList"
response:
constraints:
type: list
contains: [3]
#Commenting out the step EventList attribute which is out of scope for matter V1.0
#- label:
# "Read EventList attribute from the DUT and Verify that the DUT
# response provides a list of supported events."
# verification: |
# Not implemented in chip-tool
# cluster: "LogCommands"
# command: "UserPrompt"
# PICS: PICS_USER_PROMPT
# arguments:
# values:
# - name: "message"
# value: "Please enter 'y' for success"
# - name: "expectedValue"
# value: "y"

- label: "TH1 reads AcceptedCommandList from DUT"
command: "readAttribute"
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_SC_6_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ tests:
disabled: true

- label:
"DUT binds GroupId with GroupKeySetID in the GroupKeyMap attribute
"DUT binds GroupID with GroupKeySetID in the GroupKeyMap attribute
list on GroupKeyManagement cluster"
PICS: GRPKEY.C.A0000
verification: |
Expand Down
Loading

0 comments on commit 4e0c3a5

Please sign in to comment.