Skip to content

Commit

Permalink
Modified test:
Browse files Browse the repository at this point in the history
TC_BR_4
TC_CC_2_1
TC_CC_7_5
TC_CNET_4_12
TC_CNET_4_14
TC_CNET_4_17
TC_CNET_4_18
TC_CNET_4_19
TC_DD_1_11
TC_DESC_1_1
TC_DGWIFI_3_2
TC_DRLK_2_11
TC_DRLK_2_3
TC_DRLK_2_9
TC_I_3_1_Simulated
TC_OCC_2_2_Simulated
TC_OCC_2_4_Simulated
TC_PCC_2_2
TC_PCC_2_3
TC_PCC_2_4
TC_PRS_3_1_Simulated
TC_PS_3_1_Simulated
TC_SC_6_1
TC_ULABEL_3_1_Simulated
  • Loading branch information
manjunath-grl committed Mar 17, 2023
1 parent 379cde1 commit a38b571
Show file tree
Hide file tree
Showing 24 changed files with 421 additions and 77 deletions.
4 changes: 3 additions & 1 deletion src/app/tests/suites/certification/Test_TC_BR_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6000,7 +6000,7 @@ tests:
"Verify DUT has (during step 1a) read the NodeLabel attribute from the
Bridged Device Basic Information cluster on various endpoints,Verify
DUT contains the names for the (supported) devices from the above list"
PICS: MCORE.DEVLIST.UseDeviceState
#PICS: MCORE.DEVLIST.UseDeviceNames
verification: |
NodeLabel is supported for endpoints 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13

Expand Down Expand Up @@ -6805,6 +6805,7 @@ tests:
- label:
"Use TH/bridge-app to rename a bridged light (use key ''b'' in the
console to bridge-app to rename Light 1 to Light 1b)"
#PICS: MCORE.DEVLIST.UseDeviceNames
verification: |
./chip-tool bridgeddevicebasicinformation read node-label 1 3

Expand Down Expand Up @@ -6882,6 +6883,7 @@ tests:
disabled: true

- label: "Verify DUT contains the updated name for the renamed device"
#PICS: MCORE.DEVLIST.UseDeviceNames
verification: |
Verify on TH(bridge-app) Log
b
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_CC_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ tests:
maxValue: 4

- label: "TH reads CompensationText attribute from DUT"
PICS: CC.S.A0005
PICS: CC.S.A0006
command: "readAttribute"
attribute: "CompensationText"
response:
Expand Down
29 changes: 29 additions & 0 deletions src/app/tests/suites/certification/Test_TC_CC_7_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,35 @@ tests:
[1666947536.315798][52174:52174] CHIP:DMG: SuppressResponse = true,
[1666947536.315803][52174:52174] CHIP:DMG: InteractionModelRevision = 1
[1666947536.315805][52174:52174] CHIP:DMG: }
./chip-tool colorcontrol read current-saturation 1 1
After 20 Seconds, Verify response contains Current-saturation value in TH(all-clusters-app) Logs:
ReportDataMessage =
[1666947452.160090][52174:52174] CHIP:DMG: {
[1666947452.160094][52174:52174] CHIP:DMG: AttributeReportIBs =
[1666947452.160100][52174:52174] CHIP:DMG: [
[1666947452.160105][52174:52174] CHIP:DMG: AttributeReportIB =
[1666947452.160113][52174:52174] CHIP:DMG: {
[1666947452.160117][52174:52174] CHIP:DMG: AttributeDataIB =
[1666947452.160122][52174:52174] CHIP:DMG: {
[1666947452.160127][52174:52174] CHIP:DMG: DataVersion = 0x257547d6,
[1666947452.160132][52174:52174] CHIP:DMG: AttributePathIB =
[1666947452.160140][52174:52174] CHIP:DMG: {
[1666947452.160145][52174:52174] CHIP:DMG: Endpoint = 0x1,
[1666947452.160151][52174:52174] CHIP:DMG: Cluster = 0x300,
[1666947452.160156][52174:52174] CHIP:DMG: Attribute = 0x0000_0001,
[1666947452.160162][52174:52174] CHIP:DMG: }
[1666947452.160168][52174:52174] CHIP:DMG:
[1666947452.160174][52174:52174] CHIP:DMG: Data = 100,
[1666947452.160178][52174:52174] CHIP:DMG: },
[1666947452.160186][52174:52174] CHIP:DMG:
[1666947452.160191][52174:52174] CHIP:DMG: },
[1666947452.160197][52174:52174] CHIP:DMG:
[1666947452.160201][52174:52174] CHIP:DMG: ],
[1666947452.160209][52174:52174] CHIP:DMG:
[1666947452.160213][52174:52174] CHIP:DMG: SuppressResponse = true,
[1666947452.160218][52174:52174] CHIP:DMG: InteractionModelRevision = 1
[1666947452.160222][52174:52174] CHIP:DMG: }
disabled: true

- label: "DUT sends StopMoveStep command to TH."
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_CNET_4_12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ tests:
"TH sends AddOrUpdateThre adNetwork command to the DUT with the
OperationalDatase t field set to PIXIT.CNET.THRE AD_2ND_OPERATI
ONALDATASET and Breadcrumb field set to 1"
PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx
PICS: CNET.S.C03.Rsp && CNET.S.C05.Tx
verification: |
Mark as not applicable and proceed to next step
disabled: true
Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_CNET_4_14.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ tests:
should be repeated RemainingNetwor kSlots times using DIFFERENT
OperationalDatase t values and Breadcrumb set to 1. Note that these
credentials are NOT required to be connectable."
PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx
PICS: CNET.S.C03.Rsp && CNET.S.C05.Tx
verification: |
./chip-tool networkcommissioning add-or-update-thread-network hex:1011101122222229 1 0 --Breadcrumb 1
Expand Down Expand Up @@ -274,7 +274,7 @@ tests:
should be repeated RemainingNetwor kSlots times using DIFFERENT
OperationalDatase t values and Breadcrumb set to 1. Note that these
credentials are NOT required to be connectable"
PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx
PICS: CNET.S.C03.Rsp && CNET.S.C05.Tx
verification: |
The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4
( Pre-Condition)
Expand Down
16 changes: 8 additions & 8 deletions src/app/tests/suites/certification/Test_TC_CNET_4_17.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tests:
disabled: true

- label: "DUT reads the MaxNetworks attribute from the TH"
PICS: CNET.S.A0000
PICS: CNET.C.A0000
verification: |
./chip-tool networkcommissioning read max-networks 1 0
Expand Down Expand Up @@ -114,7 +114,7 @@ tests:
disabled: true

- label: "DUT reads the Networks attribute from the TH"
PICS: CNET.S.A0001
PICS: CNET.C.A0001
verification: |
./chip-tool networkcommissioning read networks 1 0
Expand Down Expand Up @@ -217,7 +217,7 @@ tests:
disabled: true

- label: "DUT reads ScanMaxTimeSeconds attribute from the TH"
PICS: CNET.S.A0002
PICS: CNET.C.A0002
verification: |
./chip-tool networkcommissioning read scan-max-time-seconds 1 0
Expand Down Expand Up @@ -294,7 +294,7 @@ tests:
disabled: true

- label: "DUT reads ConnectMaxTimeSeconds attribute from the TH"
PICS: CNET.S.A0003
PICS: CNET.C.A0003
verification: |
./chip-tool networkcommissioning read connect-max-time-seconds 1 0
Expand Down Expand Up @@ -372,7 +372,7 @@ tests:
disabled: true

- label: "DUT reads InterfaceEnabled attribute from the TH"
PICS: CNET.S.A0004
PICS: CNET.C.A0004
verification: |
./chip-tool networkcommissioning read interface-enabled 1 0
Expand Down Expand Up @@ -448,7 +448,7 @@ tests:
disabled: true

- label: "DUT reads LastNetworkingStatus attribute from the TH"
PICS: CNET.S.A0005
PICS: CNET.C.A0005
verification: |
./chip-tool networkcommissioning read last-networking-status 1 0
Expand Down Expand Up @@ -524,7 +524,7 @@ tests:
disabled: true

- label: "DUT reads LastNetworkID attribute from the TH"
PICS: CNET.S.A0006
PICS: CNET.C.A0006
verification: |
./chip-tool networkcommissioning read last-network-id 1 0
Expand Down Expand Up @@ -599,7 +599,7 @@ tests:
disabled: true

- label: "DUT reads LastConnectErrorValue attribute from the TH"
PICS: CNET.S.A0007
PICS: CNET.C.A0007
verification: |
./chip-tool networkcommissioning read last-connect-error-value 1 0
Expand Down
16 changes: 8 additions & 8 deletions src/app/tests/suites/certification/Test_TC_CNET_4_18.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tests:
disabled: true

- label: "DUT reads the MaxNetworks attribute from the TH"
PICS: CNET.S.A0000
PICS: CNET.C.A0000
verification: |
./chip-tool networkcommissioning read max-networks 54 0
Expand All @@ -58,7 +58,7 @@ tests:
disabled: true

- label: "DUT reads the Networks attribute from the TH"
PICS: CNET.S.A0001
PICS: CNET.C.A0001
verification: |
./chip-tool networkcommissioning read networks 54 0
Expand All @@ -78,7 +78,7 @@ tests:
disabled: true

- label: "DUT reads ScanMaxTimeSeconds attribute from the TH"
PICS: CNET.S.A0002
PICS: CNET.C.A0002
verification: |
./chip-tool networkcommissioning read scan-max-time-seconds 54 0
Expand All @@ -96,7 +96,7 @@ tests:
disabled: true

- label: "DUT reads ConnectMaxTimeSeconds attribute from the TH"
PICS: CNET.S.A0003
PICS: CNET.C.A0003
verification: |
./chip-tool networkcommissioning read connect-max-time-seconds 54 0
Expand All @@ -114,7 +114,7 @@ tests:
disabled: true

- label: "DUT reads InterfaceEnabled attribute from the TH"
PICS: CNET.S.A0004
PICS: CNET.C.A0004
verification: |
./chip-tool networkcommissioning read interface-enabled 54 0
Expand All @@ -132,7 +132,7 @@ tests:
disabled: true

- label: "DUT reads LastNetworkingStatus attribute from the TH"
PICS: CNET.S.A0005
PICS: CNET.C.A0005
verification: |
./chip-tool networkcommissioning read last-networking-status 54 0
Expand All @@ -153,7 +153,7 @@ tests:
disabled: true

- label: "DUT reads LastNetworkID attribute from the TH"
PICS: CNET.S.A0006
PICS: CNET.C.A0006
verification: |
./chip-tool networkcommissioning read last-network-id 54 0
Expand All @@ -174,7 +174,7 @@ tests:
disabled: true

- label: "DUT reads LastConnectErrorValue attribute from the TH"
PICS: CNET.S.A0007
PICS: CNET.C.A0007
verification: |
./chip-tool networkcommissioning read last-connect-error-value 54 0
Expand Down
12 changes: 6 additions & 6 deletions src/app/tests/suites/certification/Test_TC_CNET_4_19.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tests:
disabled: true

- label: "DUT reads the MaxNetworks attribute from the TH"
PICS: CNET.S.A0000
PICS: CNET.C.A0000
verification: |
./chip-tool networkcommissioning read max-networks 1 0
Expand Down Expand Up @@ -114,7 +114,7 @@ tests:
disabled: true

- label: "DUT reads the Networks attribute from the TH"
PICS: CNET.S.A0001
PICS: CNET.C.A0001
verification: |
./chip-tool networkcommissioning read networks 1 0
Expand Down Expand Up @@ -216,7 +216,7 @@ tests:
disabled: true

- label: "DUT reads InterfaceEnabled attribute from the TH"
PICS: CNET.S.A0004
PICS: CNET.C.A0004
verification: |
./chip-tool networkcommissioning read interface-enabled 1 0
Expand Down Expand Up @@ -291,7 +291,7 @@ tests:
disabled: true

- label: "DUT reads LastNetworkingStatus attribute from the TH"
PICS: CNET.S.A0005
PICS: CNET.C.A0005
verification: |
./chip-tool networkcommissioning read last-networking-status 1 0
Expand Down Expand Up @@ -366,7 +366,7 @@ tests:
disabled: true

- label: "DUT reads LastNetworkID attribute from the TH"
PICS: CNET.S.A0006
PICS: CNET.C.A0006
verification: |
./chip-tool networkcommissioning read last-network-id 1 0
Expand Down Expand Up @@ -441,7 +441,7 @@ tests:
disabled: true

- label: "DUT reads LastConnectErrorValue attribute from the TH"
PICS: CNET.S.A0007
PICS: CNET.C.A0007
verification: |
./chip-tool networkcommissioning read last-connect-error-value 1 0
Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_DD_1_11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ tests:
disabled: true

- label:
"Verify the DUT follows the correct order of onboarding the TH devices
which must be from first to last starting from left to right."
"Verify the DUT indicates to the user the need to commission TH
devices one by one by scanning their individual QR codes."
PICS:
"!(MCORE.DD.CTRL_CONCATENATED_QR_CODE_1) &&
MCORE.DD.CTRL_CONCATENATED_QR_CODE_2"
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_DESC_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default

name: 84.1.1. [TC-DESC-1.1] Descriptor Cluster Attributes with DUT as Server
name: 84.1.1. [TC-DESC-1.1] Global Attributes [DUT-Server]

PICS:
- DESC.S
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_DGWIFI_3_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tests:
disabled: true

- label: "DUT sends ResetCounts command to TH"
PICS: DGWIFI.S.C00.Rsp
PICS: DGWIFI.C.C00.Tx
verification: |
./chip-tool wifinetworkdiagnostics reset-counts 1 0
Expand Down
Loading

0 comments on commit a38b571

Please sign in to comment.