-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[TC-CLCTRL-5.1] Add python test script new stop command based on test plan #38401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TC-CLCTRL-5.1] Add python test script new stop command based on test plan #38401
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
This test script will be validated once the app is finished and added to the CI at the same time. |
PR #38401: Size comparison from f6c16f6 to fa6c21f Full report (3 builds for cc32xx, stm32)
|
TestStep("2d", "TH waits for PIXIT.CLCTRL.StopDuration seconds"), | ||
TestStep("2e", "TH reads from the DUT the MainState attribute"), | ||
TestStep("3a", "TH sends command Calibrate to DUT"), | ||
TestStep("3b", "after 2 seconds, TH reads from the DUT the MainState attribute"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TestStep("3b", "after 2 seconds, TH reads from the DUT the MainState attribute"), | |
TestStep("3b", "after 1 seconds, TH reads from the DUT the MainState attribute"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pics = [ | ||
"CLCTRL.S", | ||
"CLCTRL.S.C00.Rsp(Stop)" | ||
"CLCTRL.S.F02(IS)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the test plan indicates !CLCTRL.S.F02(IS)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/python_testing/TC_CLCTRL_5_1.py
Outdated
self.step(1) | ||
attributes = Clusters.ClosureControl.Attributes | ||
|
||
feature_map = await self.read_boolcfg_attribute_expect_success(endpoint=endpoint, attribute=attributes.FeatureMap) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem to be the correct function and these steps aren't in the test plan.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if not is_ps_feature_supported: | ||
logging.info("Position feature is not supported, skipping test case") | ||
logging.info("Test step skipped") | ||
return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR #38401: Size comparison from f7f9f94 to 0704da2 Full report (3 builds for cc32xx, stm32)
|
PR #38401: Size comparison from f7f9f94 to e1b2f45 Full report (3 builds for cc32xx, stm32)
|
This PR is added in the PR #39015. |
This PR adds python script for testing the Testcase TC-CLCTRL-5.1. This script should test the functionality of the Stop command with different MainStates.
Testing