-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding YAML Test Scripts - Dec 14th (#12984)
* 1.Disabling location attribute read due to issue#12983 2.Adding manual test cases -Test_TC_DD_1_5 -Test_TC_DD_1_6 -Test_TC_DD_1_7 -Test_TC_DD_1_8 -Test_TC_DD_1_9 * Adding autogenerated files. * Updating autogenerated files after rebase.
- Loading branch information
1 parent
866e3e0
commit a9b9fca
Showing
11 changed files
with
741 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# 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: 7.1.5. [TC-DD-1.5] NFC Rules of advertisement and Onboarding | ||
|
||
config: | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: "Step 1" | ||
cluster: "LogCommands" | ||
command: "Log" | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: | ||
"Verify that the onboarding payload for NFC tags SHALL use | ||
NDEF URI Record Type Definition as defined by NFC Forum in | ||
URI Record Type Definition RTD URI" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# 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: 7.1.6. [TC-DD-1.6] QR Code Format and Label | ||
|
||
config: | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: "Step 1" | ||
cluster: "LogCommands" | ||
command: "Log" | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: "Scan the DUTs QR code using a QR code reader" | ||
|
||
- label: "Step 1 verification" | ||
cluster: "LogCommands" | ||
command: "Log" | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: | ||
"Verify the QR code gets scanned successfully and the QR | ||
code must be of sufficient size and contrast respective to | ||
surface material as to be readable with standard readers | ||
such as smartphones in normal lighting conditions" | ||
|
||
- label: "Step 2 verificaiton" | ||
cluster: "LogCommands" | ||
command: "Log" | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: "Verify QR code version is 1 or higher" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# 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: 7.1.7. [TC-DD-1.7] Setup Code Format and Label | ||
|
||
config: | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: "Precondition" | ||
cluster: "LogCommands" | ||
command: "Log" | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: | ||
"Verify manual pairing code is printed on the device or in | ||
additional provided materials" | ||
|
||
- label: "Step 1" | ||
cluster: "LogCommands" | ||
command: "Log" | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: | ||
"Verify that the Manual Pairing Code should be printed using | ||
a minimum font size of 6 points typically producing a | ||
typeface height of 2.1 mm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# 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: | ||
7.1.8. [TC-DD-1.8] QR Code Onboarding Payload Verification [DUT - | ||
Commissioner] | ||
|
||
config: | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: "Step 1" | ||
cluster: "LogCommands" | ||
command: "Log" | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: "Scan the device QR code using DUT" | ||
|
||
- label: "Step 1 verification" | ||
cluster: "LogCommands" | ||
command: "Log" | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: | ||
"Verify the DUT is able to scan and parse the QR code | ||
successfully to onboard the device onto the CHIP network" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# 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: | ||
7.1.9. [TC-DD-1.9] Manual Pairing Code Payload Verification [DUT - | ||
Commissioner] | ||
|
||
config: | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: "Precondition" | ||
cluster: "LogCommands" | ||
command: "Log" | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: | ||
"Verify that the manual pairing code is printed on the | ||
device or in additional provided materials" | ||
|
||
- label: "Step 1" | ||
cluster: "LogCommands" | ||
command: "Log" | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: | ||
"Provide the 11 digit or 21 digit pairing code from the | ||
Device in text speech or any format supported by DUT" | ||
|
||
- label: "Step 1 verification" | ||
cluster: "LogCommands" | ||
command: "Log" | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: | ||
"Verify that the manual pairing code can be provided to DUT | ||
and parsed to onboard the device onto the CHIP network" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.