WebStorm 2018.3.3 is available
WebStorm 2018.3.3 (build 183.5153.33) is now available!
Update to it using our neat little Toolbox App, or from the IDE. You can also download WebStorm 2018.3.3 from our website.
Running and debugging tests using Cucumber 3+
You can now run and debug tests using the latest Cucumber version in WebStorm.
To start tests, you can right-click on the feature file and select Run <file name> in the context menu. Or you can create a new run/debug Cucumber.js configuration from the Run menu – Edit configurations… and then run or debug it.
You will see the test results in the test tool window, from where you can jump to its definition in the editor.
Please note that at the moment WebStorm only supports step definitions that are written using regular expressions.
What’s new:
- Support for Set Literals in Dart (WEB-36102)
- Completion for attribute bindings in Angular (e.g.
[atrr.foo]
) (WEB-36071) - Better coding assistance for some Ionic and @angular/flex-layout attributes (WEB-36437)
What’s fixed:
- Wrong indent after self-closing JSX tags in JavaScript and TypeScript files (WEB-36263)
- Decorators are now supported in the class expressions like
let newTest = @test class Test
orexport default @observer class Test
(WEB-23326, WEB-34774) - When using the bundled TypeScript service in Angular apps, the Angular language service is now disabled. Otherwise, there’re false errors in the template files (WEB-36226).
You can find the full list of addressed issues in the Release Notes.
The WebStorm Team
Benoit Richert says:
January 11, 2019Hi,
I’m very happy you compatibilzed this plugin!
Sadly I couldn’t make it work, it seems babel registering failed.
My command:
npx cucumber-js –require-module @babel/register
works fine, but this config:
Cucumber.js arguments: –require-module @babel/register
have a babel error: import _ from “lodash” > SyntaxError: Unexpected identifier
Do you have an idea to the source of the problem? I’m in Cucumber 5.
Thanks!
Matt Travi says:
January 11, 2019I’m seeing similar behavior where transpilation is not happening, even when using `–require-module @babel/register`. I also notice that it is unable to find profiles defined in `cucumber.js` in the root of the project. Maybe the executable is not running in the correct context and is therefore unable to find files like `.babelrc` and `cucumber.js` in the project root?
Ekaterina Prigara says:
January 11, 2019Hi,

Can you please check what command is used when you run the configuration?
It’s on the top of the run tool window:
Benoit Richert says:
January 13, 2019Hi Ekaterina,
Thanks for your answer. Here is the launched command:
/usr/local/bin/node /[…]/node_modules/cucumber/bin/cucumber-js –require-module @babel/register –format ../../../../../../Applications/WebStorm.app/Contents/plugins/CucumberJavaScript/lib/cucumberjs_formatter_v3.js –format-options “{\”cucumberLibPath\”: \”/[…]/node_modules/cucumber/lib\”}” –require /[…]/test/integration
Ekaterina Prigara says:
January 14, 2019Sorry, we still can’t reproduce the problem – all works fine for us (see a sample project).
Can you please try running
cucumber-js --require-module @babel/register
in the IDE’s built-in terminal – does that work?We would appreciate it if you could share a sample project with us to help us reproduce the issue. You can send it to our technical support team: https://intellij-support.jetbrains.com/hc/en-us/requests/new
Benoit Richert says:
January 14, 2019I added the issue, with a reproduction in the sample project. 🙂
Ekaterina Prigara says:
January 14, 2019Thank you!
Matt Travi says:
January 14, 2019was there a ticket created that can be followed publicly? i’m excited to run tests w/in webstorm, so i’d love to understand any adjustments i need to make
Ekaterina Prigara says:
January 15, 2019Hello Matt, yes, here’s the issue: https://youtrack.jetbrains.com/issue/WEB-36736 The fix will land in the next WebStorm bug-fix update.
Matt Travi says:
January 15, 2019Thanks!
sl says:
January 14, 2019I’m working on webStorm
I upgraded to the latest version and it’s terrible
Ekaterina Prigara says:
January 14, 2019We are sorry to hear that. Can you please provide a bit more details on the problem that you are experiencing?
sl says:
January 14, 2019databases not loading
When I try to change the width of a window (project menu and database) it responds in a slow and smooth way
sl says:
January 14, 2019Too bad I can’t attach a picture
sl says:
January 14, 2019I removed and reinstalled the “database tool and sql” plugin and it seems that everything good
sl says:
January 14, 2019I removed and reinstalled the “database tool and sql” plugin and it seems that everything good
Ekaterina Prigara says:
January 14, 2019Thanks for the update. We have just published a new plugin version; glad to hear that it’s ok now.
Danilo says:
January 14, 2019To many bugs on resize
Image:
https://drive.google.com/file/d/1ViTv9rrKRkixs4cMs4P5mxnVZuazF11T/view?usp=sharing
Ekaterina Prigara says:
January 14, 2019Hello, what OS do you use?
Danilo says:
January 14, 2019Linux Uubuntu 18.04 with kde plasma version: plasmashell 5.12.7
Danilo says:
January 14, 2019Linux Kubuntu*
Ekaterina Prigara says:
January 15, 2019We haven’t found any related known issues and we would really appreciate it if you could send your IDE logs (menu Help – Compress logs) to our technical support for further investigation. Thank you!