Broke formatting on cucumber features

Hi,

     After applying the latest patch 4.0.3 the formation and highlighting of all my cucumber feature files is broken.

      Here is a sample:

# language: ro
Funcţionalitate: Ca prieten neînregistrat
  După ce am primit o invitație pentru scumpără
  Vreau să mă pot înregistra

  Context:
    Dat fiind am fost invitat pe scumpără
    Când deschid emailul
    Și urmez "Acceptă invitația" din email

  Scenariu: Accept invitația
    Atunci ar trebui să văd următoarele:
      | După ce îți completezi detaliile o să fii gata să scumperi |
      | Nume                                                       |
      | Parolă                                                     |
    Și câmpul "Nume" ar trebui să conțină "Prieten"
    Și câmpul "Email" ar trebui să conțină "prieten@mail.com"
    Și câmpul "Email" ar trebuie să fie readonly

  Scenariu: Înregistrare folosind invitația
    Când completez următoarele:
      | utilizator_prenume | Ion |
    Și apăs "Înregistrează-mă"
    Atunci ar trebui să nu văd "Bine ai venit! Ai fost înregistrat cu success."

0
5 comments

Hello Calin,

please check if Ruby SDK of your project contains gem "cucumber". It's important becase RubyMine gets localization info for Cucumber language from gems "cucumber" or "gherkin".

0
Avatar
Permanently deleted user

Hi Andrey,

     Thank you for your reply,

     I do have the cucumber gem install, the tests run just fine, the only problem is the formating.
     In fact I used the exact same application to test both versions (in fact I have them installed on my machine) in 4.0.2 it work in 4.0.3 it does not work.

Regards,

0

Could you say if project tree of your project opened in RubyMine 4.0.3 contains node:

External Libraries
+<ruby...>

0
Avatar
Permanently deleted user

Hi Andrey,

I am sorry for the late reply,

The answer to you question is "yes, it contains it"

I've attached a screenshoots with what is happening.

Regards,



Attachment(s):
RubyMine4.0.2_cucumber.png
RubyMine4.0.3_cucumber.png
RubyMine4.0.3.png
0
Avatar
Permanently deleted user

I can confirm this is still broken in the latest release 4.0.3 117.230

Regards,

0

Please sign in to leave a comment.