# Copyright (c) 2024 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: "[TC-TBRM-3.1] Functionality with client as DUT"

PICS:
    - TBRM.C

config:
    nodeId: 0x12344321
    cluster: Thread Border Router Management
    endpoint: 1

tests:
    # Step 1
    - label: "DUT send SetActiveDatasetRequest to TH"
      PICS: TBRM.C.C03.Tx
      wait: "SetActiveDatasetRequest"

    # Step 2
    - label: "DUT send SetPendingDatasetRequest to TH"
      PICS: TBRM.C.C04.Tx
      wait: "SetPendingDatasetRequest"

    # Step 3
    - label: "DUT send GetActiveDatasetRequest to TH"
      PICS: TBRM.C.C00.Tx
      wait: "GetActiveDatasetRequest"

    # Step 4
    - label: "DUT send GetPendingDatasetRequest to TH"
      PICS: TBRM.C.C01.Tx
      wait: "GetPendingDatasetRequest"
