diff --git a/src/app/tests/suites/TestActivatedCarbonFilterMonitoring.yaml b/src/app/tests/suites/TestActivatedCarbonFilterMonitoring.yaml new file mode 100644 index 00000000000000..5eca255f7539de --- /dev/null +++ b/src/app/tests/suites/TestActivatedCarbonFilterMonitoring.yaml @@ -0,0 +1,50 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: Resource Monitor Cluster Tests + +config: + nodeId: 0x12344321 + cluster: "Activated Carbon Filter Monitoring" + endpoint: 1 + ReplacementProductList: + type: "ReplacementProductStruct" + defaultValue: + [ + { + ProductIdentifierType: 1, + ProductIdentifierValue: "gtin8xac", + }, + ] + +tests: + - label: "Wait for the commissioned device to be retrieved" + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId + + - label: "Read Replacement Product List" + command: "readAttribute" + attribute: "ReplacementProductList" + response: + value: + [ + { + ProductIdentifierType: 1, + ProductIdentifierValue: "gtin8xac", + }, + ] diff --git a/src/app/tests/suites/TestResourceMonitor.yaml b/src/app/tests/suites/TestHepaFilterMonitoring.yaml similarity index 98% rename from src/app/tests/suites/TestResourceMonitor.yaml rename to src/app/tests/suites/TestHepaFilterMonitoring.yaml index 901b1235478740..f6af00f533a3d7 100644 --- a/src/app/tests/suites/TestResourceMonitor.yaml +++ b/src/app/tests/suites/TestHepaFilterMonitoring.yaml @@ -16,7 +16,7 @@ name: Resource Monitor Cluster Tests config: nodeId: 0x12344321 - cluster: "Resource Monitor" + cluster: "HEPA Filter Monitoring" endpoint: 1 ReplacementProductList: type: "ReplacementProductStruct" diff --git a/src/app/tests/suites/ciTests.json b/src/app/tests/suites/ciTests.json index 377dd568b2aea0..a22aea164ddc76 100644 --- a/src/app/tests/suites/ciTests.json +++ b/src/app/tests/suites/ciTests.json @@ -303,6 +303,8 @@ ], "Scenes": ["Test_TC_S_1_1"], "ResourceMonitoring": [ + "TestActivatedCarbonFilterMonitoring", + "TestHepaFilterMonitoring", "Test_TC_ACFREMON_1_1", "Test_TC_ACFREMON_2_1", "Test_TC_HEPAFREMON_1_1",