-
Notifications
You must be signed in to change notification settings - Fork 99
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
Fix setting comments of BPM nodes #2781
Conversation
Codecov Report
@@ Coverage Diff @@
## gsa-21.04 #2781 +/- ##
=============================================
+ Coverage 53.71% 53.86% +0.14%
=============================================
Files 1072 1075 +3
Lines 26223 26210 -13
Branches 7474 7477 +3
=============================================
+ Hits 14086 14117 +31
+ Misses 11019 10977 -42
+ Partials 1118 1116 -2
Continue to review full report at Codecov.
|
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.
I would love to see a test for this.
Afaik we don't have a testing concept for dialogs, yet. |
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.
I am feeling not very well approving this PR without a test.
I'll think about how to test dialogs today. There might be something like a prototype for that in master. |
What:
Fix setting comments of BPM nodes.
Why:
The correct value in the textfield wasn't shown and got overwritten by each single key press.
How:
Create a node with a proper comment and edit a node's comment. In both cases the current comment value was shown to the user and after clicking save it was applied to the node.
Checklist: