# 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.
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default

name: 3.1.7. [TC-DD-1.7] Setup Code Format and Label [DUT - Commissionee]

PICS:
    - MCORE.ROLE.COMMISSIONEE
    - MCORE.DD.MANUAL_PC

config:
    nodeId: 0x12344321
    cluster: "Basic Information"
    endpoint: 0

tests:
    - label: "Preconditions"
      verification: |
          Manual Pairing Code is printed on the Commissionee device or in additional provided materials (ex: manual, companion app, web service).
      disabled: true

    - label: "Step 1: Verify using instruments"
      verification: |
          Vendor specific field testcase that should be manually verified using the requirements in the Expected Outcome.

          The Manual Pairing Code shall meet the following requirements:

          - Printed using a minimum font size of 6 points, typically producing a typeface height of 2.1 mm (6/72 inches)

          - Include dashes between the groups of Manual Pairing Code digits with the following spacing:

          - For 11 or 21-digit codes, the first row spacing is 4-3-4 (First Row: "1234-567-8901")

          - For 21-digit codes, the second row spacing is 4-3-2-1 (Second Row:"9876-543-21-0")
      disabled: true
