Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scenario Outline not work when use tag #174

Closed
inotnako opened this issue Apr 18, 2014 · 4 comments
Closed

Scenario Outline not work when use tag #174

inotnako opened this issue Apr 18, 2014 · 4 comments

Comments

@inotnako
Copy link

It is work

Feature: Running Cucumber with Protractor
  As a user of Protractor
  I should be able to use Cucumber
  to run my E2E tests

  Scenario: Running Cucumber with Protractor
    Given I run Cucumber with Protractor
    Then it should still do normal tests
    Then it should expose the correct global variables

  Scenario Outline: Running Cucumber with Protractor with Examples
    Given I run Cucumber with Protractor
    Then it should expose the correct global variable "<variable>"

  Examples:
    | variable |
    |protractor|
    | browser  |
    | by       |
    | element  |
    | $        |

  Scenario: Wrapping WebDriver
    Given I go on "index.html"
    Then the title should equal "My AngularJS App"

Is not work(of course run with tag)

Feature: Running Cucumber with Protractor
  As a user of Protractor
  I should be able to use Cucumber
  to run my E2E tests

  Scenario: Running Cucumber with Protractor
    Given I run Cucumber with Protractor
    Then it should still do normal tests
    Then it should expose the correct global variables

 @dev
  Scenario Outline: Running Cucumber with Protractor with Examples
    Given I run Cucumber with Protractor
    Then it should expose the correct global variable "<variable>"

  Examples:
    | variable |
    |protractor|
    | browser  |
    | by       |
    | element  |
    | $        |

  Scenario: Wrapping WebDriver
    Given I go on "index.html"
    Then the title should equal "My AngularJS App"

@inotnako inotnako changed the title Scenario Outline in not work when use tag Scenario Outline not work when use tag Apr 18, 2014
@jbpros
Copy link
Member

jbpros commented Jun 30, 2014

Confirmed. I could replicate the problem. Cucumber.js is simply ignoring tags on scenario outlines.

@jbpros jbpros added the bug label Jun 30, 2014
@jbpros jbpros added this to the 0.5 major features milestone Jun 30, 2014
@akania
Copy link
Contributor

akania commented Jun 30, 2014

Hey, can you look at #197 - i proposed a fix

@jbpros
Copy link
Member

jbpros commented Jun 30, 2014

@akania Thanks! I'm catching up with all the pending PRs and issues. I didn't get to your PR yet.

Closing this one, let's focus on #195 and #197.

@jbpros jbpros closed this as completed Jun 30, 2014
@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants