You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error :
ReferenceError: Feature is not defined
at eval (eval at getTags (/node_modules/find-test-names/src/index.js:55:16), :1:8)
at getTags (/node_modules/find-test-names/src/index.js:55:16)
On investigating observe that eval function at line 55 fails to extract tags in method getTags()
Changing the eval function with square bracket fixes the issues. return eval[tagsText]
This is blocking us from creating test run which only includes test which are automated. would be great if we can add support for such cases.
The text was updated successfully, but these errors were encountered:
In our project we define tags as enum to avoid duplicity
e.g.
export enum Feature { sanity = 'sanity', homePage='homePage' }
Way defining tags inside it():
When running below command to extract case id and create testrun with those case id , getting following error
command
npx testrail-start-run \ --spec "path to spec file" \ "Automation run" \ "Running priority test"
Error :
ReferenceError: Feature is not defined
at eval (eval at getTags (/node_modules/find-test-names/src/index.js:55:16), :1:8)
at getTags (/node_modules/find-test-names/src/index.js:55:16)
On investigating observe that eval function at line 55 fails to extract tags in method
getTags()
Changing the eval function with square bracket fixes the issues.
return eval[tagsText]
This is blocking us from creating test run which only includes test which are automated. would be great if we can add support for such cases.
The text was updated successfully, but these errors were encountered: