cancel
Showing results for 
Search instead for 
Did you mean: 

Stacked and left aligned tags on Scenario Outline help

Highlighted
New Contributor

Stacked and left aligned tags on Scenario Outline help

Hi I hope someone can help me.

 

My group like to use tags for our Cucumber scenarios. However, we like to stack tags for easier readability. Example:

 

@400

@JIRA_Name_1 @JIRA_Name_2 @JIRA_Name_3

Scenario Outline

 

It seems the stacked tags above a Scenario Outline will not completely align left. They will on a Scenario but not an outline. Example:

 

@400

    @JIRA_Name_1 @JIRA_Name_2 @JIRA_Name_3

Scenario Outline

 

My question(s) is this:

1. Is there a trick to getting stacked tags to completely align left? 

2. Is it recommended to instead keep all tags on the same line?

 

I have attached a picture with generic info showing the alignments of Scenario and Scenario Outline. I am using IntelliJ IDEA 2019.3, Gherkin plugin 193.5233.144, and Cucumber for Java 193.5233.57. I have tried Reformat Code (Code > Reformat Code / Ctrl + Alt + L) and that works for general formatting alignment with the exception of the tag/Scenario Outline issue. 

 

2 REPLIES 2
Highlighted
New Contributor

Re: Stacked and left aligned tags on Scenario Outline help

No one has stacked tags vertically and either didn't notice that there were not left-aligned when used above Scenario Outline or did not care?

Highlighted
New Contributor

Re: Stacked and left aligned tags on Scenario Outline help

I think this is a problem of the Intellij Plugin, so you should probaly ask there for a fix Gherkin plugin https://plugins.jetbrains.com/plugin/9164-gherkin

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors