Fix missing promise handling for `testAction`
What does this MR do and why?
- calling
testAction
returns promise and we need to wait for it
Related issue: #372225
Screenshots or screen recordings
N/A
How to set up and validate locally
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.