Skip to content

Commit d239082

Browse files
Snooz82claude
andcommitted
Add acceptance coverage for an untyped plugin secret
Restores the untyped plugin secret case in plugin.robot, which was lost when the atests were refactored on top of it. Uses the renamed Get Keyword Call Banner Text helper. Against the type-map-only detection the banner shows the plugin secret in clear text, so the case guards the name rule end to end alongside the unit test. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SuiwgM8Rt9kd6K7TBtFMDz
1 parent 9da5d1d commit d239082

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

atest/test/09_Plugins/plugin.robot

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,8 @@ Keyword Call Banner Covers Plugin Keywords
105105
... ValueError: Direct assignment of values or variables as 'secret' is not allowed.*
106106
... Plugin Login With Credentials css=input#username ${PLUGIN_SECRET}
107107
Get Keyword Call Banner Text == Plugin Login With Credentials \ \ \ css=input#username \ \ \ ***
108+
Run Keyword And Expect Error
109+
... ValueError: Direct assignment of values or variables as 'secret' is not allowed.*
110+
... Plugin Login Without Type Hints css=input#username ${PLUGIN_SECRET}
111+
Get Keyword Call Banner Text == Plugin Login Without Type Hints \ \ \ css=input#username \ \ \ ***
108112
[Teardown] Show Keyword Banner None

0 commit comments

Comments
 (0)