Karate: Scenarios with quotes in title will be skiped in intellij test result overview

Created on 6 Nov 2019  路  6Comments  路  Source: intuit/karate

The following feature:

Feature: Issue..

  Scenario: First 'scenario' with single quotes in title
    * print 1

  Scenario: Second 'scenario' with single quotes in title
    * print 1 + 1

  Scenario: First scenario without quotes in title
    * print 1 + 1 + 1

Will result in the following test result view when running directly via intellij idea:

image

Removing the single quotes from the scenario titles above fixes that.

Just to be sure..

Feature: Issue..

  Scenario: First scenario with single quotes in title
    * print 1

  Scenario: Second scenario with single quotes in title
    * print 1 + 1

  Scenario: First scenario without quotes in title
    * print 1 + 1 + 1

Results in:
image

PS: Tested with 0.9.5.RC3

bug fixed

All 6 comments

@peterquiel can you check if this works. I'm also having some trouble after switching machines, maybe it is a new version of Intellij - unless there are errors, I don't see the hierarchy of tests any more - do you know how to fix this
image

@ptrthomas : Thanks, the dev build works on my machine .. ;-)

image

My setup:

IDEA Version:
IntelliJ IDEA 2019.2.4 (Ultimate Edition)
Build #IU-192.7142.36, built on October 29, 2019
Runtime version: 11.0.4+10-b304.77 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-66-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8

I don't know how IDEA parses the output, but I could have a look at it over the weekend.

What's your setup?

IntelliJ IDEA 2019.2.4 (Ultimate Edition)
Build #IU-192.7142.36, built on October 29, 2019
Runtime version: 11.0.4+10-b304.77 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.5
GC: ParNew, ConcurrentMarkSweep

weird !

@peterquiel I am so relieved ! I had to enable the "tick mark" for "Show Passed" (right next to that "play" button) which for some reason was in the "off" state. working fine now.

Good to know, that the solution was so simple.

released 0.9.5

Was this page helpful?
0 / 5 - 0 ratings