The isFeatureEnabled() function in commands_lib.js is mainly used to check if a test case can be skipped if a feature flag is not enabled. The problem with this function is that it issues a getParameter command without first authenticating as the "admin" user, therefore getting an "Unauthorized" error response that is never checked for its error code. In this situation, the function will simply look for the search key in the error response object and will always return false, causing the test case to be skipped despite the feature being enabled.
Authenticate before issuing getParameter in commands_lib.js
- Assignee:
-
Erwin Pe
- Reporter:
-
Erwin Pe
- Votes:
-
0 Vote for this issue - Watchers:
-
4 Start watching this issue
- Created:
- Updated:
- Resolved: