Comments (7)
TH performs commissioning during the test suite setup before executing the test cases. These parameters should be set in the project config, under the "test_parameters" section. For example:
"test_parameters": {
"int-arg": "use_pase_only:0",
"qr-code": "<value>",
"manual-code": "<value>"
}
As of right now these parameters are expected to have a underscore instead of a hyphen (int-arg
, qr-code
, manual-code
), but soon that is going to be updated and the test_parameters will be expected to be set just like you use in the command line for the python tests.
So, for now, use it like this:
"test_parameters": {
"int_arg": "use_pase_only:0",
"qr_code": "<value>",
"manual_code": "<value>"
}
However, the test cases from the TC_DeviceBasicComposition.py
have a known issue that we're working on solving. These test cases don't expect the DUT to be commissioned when executed and TH is performing the commissioning before executing the test cases, which is causing the failure.
Regarding TC_DeviceConformance.py
, I've tried running it the arguments you mentioned but it's failing for some reason, we'll have to investigate.
UI_Test_Run_2023_12_15_14_27_15.log
from certification-tool.
possibly silly question, but Device composition and conformance both use the data model XMLs from the SDK. Are those available in the TH?
from certification-tool.
possibly silly question, but Device composition and conformance both use the data model XMLs from the SDK. Are those available in the TH?
That's a great point, actually. I believe they're not, I'll check it out.
from certification-tool.
The data model XML files issue has been solved in the following PR:
from certification-tool.
This 2 python script has the below mention test cases, So instead of using these script directly adding the testcases in the UI can be better.
The following PR has updated the parser to show each individual test from a test script in the TH UI and allow them to be run separately:
from certification-tool.
@ccruzagralopes Adding the below parameters to the test_parameters make the commission to fail
"test_parameters": {
"int-arg": "use_pase_only: 0",
"manual_code": "34970112332"
}
Reference log: TC-SM-1-1.log
from certification-tool.
Hey @Saravana-kr22, there shouldn't be a space between use_pase_only:
and the value (0). Please try using:
"test_parameters": {
"int-arg": "use_pase_only:0",
"manual_code": "34970112332"
}
from certification-tool.
Related Issues (20)
- [Bug] TC-CNET-4.16 semi-automated procedure needs to be updated HOT 1
- [Feature] Program-specific default project config
- [Feature] Backend / Frontend and SDK SHA to be displayed in Frontend UI
- [Feature] Setup Script to do the entire install after installing the ubuntu server for users HOT 1
- [Issue] Error happen during "Forming Thread Network and Generating Dataset for Thread Pairing" HOT 1
- Update User Guide with project default configuration
- [Bug] Fixed Label cluster has no FeatureMap attribute on certification test device
- [Bug] [Test Failed] Test_TC_TSTAT_2_2.yaml - Steps 16 and 18 [Reads back OccupiedCoolingSetpoint and OccupiedHeatingSetpoint] fail
- [Bug] Unable to update chip_use_paa_certs attribute of project config HOT 7
- [Bug] Dependency issue apt-transport-https 2.4.11 on fresh 1.3 TH (beta) fails auto-install script HOT 2
- [Bug] Ble-thread Pairing is failed in automated yaml script. HOT 2
- [Bug] Show execution or repeat execution from Python Testing Suite - Legacy suite is not working
- Yaml files location has to be updated in TH user guide
- [Bug] [TC-CADMIN-1.24]The DUT that support Ble-thread failed in the step 1 when testing CADMIN in UI. HOT 1
- [Bug] Two dependencies are unavailable HOT 1
- [Bug] [PICS-Tool] [TC-CNET-4.4] needs to have CNET.S.F00(WI) as top level PICS instead of CNET.S
- [Bug] - TH user guide links to CSG area iso all-members
- [Bug] ! backend The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3)
- [Bug] [PICS-tool] SWTCH.S.F## validation issue
- [TC-OO-3.2] How to run Simulated Test?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from certification-tool.