mbolotov / intellij-cypress

IntelliJ-Cypress plugin: https://plugins.jetbrains.com/plugin/13819-intellij-cypress Pro version: https://plugins.jetbrains.com/plugin/13987-cypress-support-pro
MIT License
35 stars 5 forks source link

Unable to run spec typescript test file #117

Closed kubecloudsinc closed 1 year ago

kubecloudsinc commented 1 year ago

Describe the bug When the test file(spec file) is a typescript file with .ts extension, then not able to run and the plugin displays error "unable to run the test file" How do we run spec files or config files which are typescript? attached the screen shots

Versions: 3.6

mbolotov commented 1 year ago

@kubecloudsinc The Test name field is empty in your run configuration. If you want to run whole spec file, please switch to the Spec file mode: image

kubecloudsinc commented 1 year ago

Thanks, that makes sense now. Since I opened this request already want to ask for one more feature to the plugin. If you see that in the Program Arguments passing a -P option for selecting project. It would be good to have these options in the plugin to make it more usable for TypeScript projects with multiple projects in the same workspace.

mbolotov commented 1 year ago

to have these options in the plugin

I will consider this option, thanks!