Wed May 31 2017 23:02:49 GMT-0400 (EDT)

#### Metadata

App Version: 0.3.2
Test Environment: STAGING
Browser: Chrome 54.0.2840.98
Platform: Windows 10
Parallel: Scenarios
Executed: Remote
No features

#### happy 3

####
@happy @reporting
Feature:Happy HTML reporting 4 2

In order to review cucumber reports
Fred, a cucumber user
Wants to have cucumber reports in HTML

####
@testPassing
Scenario:Fred wants to see passing scenarios in the HTML report 5

Before <1ms + Show Info

    Tests INFO will print here.
    To attach INFO to Any steps, use scenario.attach function in your step definitions as shown below.

    If you pass HTML's to scenario.attach then reporter will format accordingly

    Simple String  : scenario.attach('sample data')
    Pretty JSON    : scenario.attach(JSON.stringify(json, null, 2))
    HTML Link      : scenario.attach('format the link with html-a tag'

When this feature runs with background <1ms

Given Fred runs a passing cucumber step with 2 seconds timeout 2s 3ms

When he provides cucumber JSON file to reporter <1ms

Then cucumber-html-reporter should create HTML report <1ms

####
@testScenarioOutline
Scenario:Fred runs scenario outline for John and print on HTML report 1 1 2

John & Bob wants to run cucumber scenarios
- expects to have HTML reports

When this feature runs with background <1ms

Given Fred runs a passing cucumber scenario on behalf of "John"

When he provides cucumber JSON file to reporter

Then cucumber-html-reporter should create HTML report

####
@testScenarioOutline
Scenario:Fred runs scenario outline for Bob and print on HTML report 1 1 2

John & Bob wants to run cucumber scenarios
- expects to have HTML reports

When this feature runs with background <1ms

Given Fred runs a passing cucumber scenario on behalf of "Bob"

When he provides cucumber JSON file to reporter

Then cucumber-html-reporter should create HTML report

####
@testAttachDebugData
Scenario:Fred wants to print test data in the HTML reports for debugging purpose 4

When this feature runs with background <1ms

Given Fred attaches the "test data to be printed" to the Given step of passing cucumber scenario <1ms + Show Info

    test data to be printed
    {
      "name": "cucumber-html-reporter",
      "format": "html"
    }

When he provides cucumber JSON file to reporter <1ms

Then cucumber-html-reporter should create HTML report with test-data <1ms

####
@testDocString
Scenario:Fred wants see the long doc string attached in the HTML report 4

When this feature runs with background <1ms

Given Fred runs a passing cucumber scenario with the below content <1ms

    In order to see Doc String in the HTML report
    As a Cucumber User,
    I want to print below Doc String

      Hey, I am a Doc string

When he provides cucumber JSON file to reporter <1ms

Then cucumber-html-reporter should create HTML report <1ms

####
@testDataTable
Scenario:Fred wants to use data table and print on HTML report 4

When this feature runs with background <1ms

Given Fred runs a passing scenario for the following data set 2ms

id | name | id | name | id | name | id | name | id | name | id | name | id | name
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B

When he provides cucumber JSON file to reporter <1ms

Then cucumber-html-reporter should create HTML report with data-table <1ms

#### overjoyed 2

####
@happy @reporting
Feature:Happy HTML reporting 4 2

In order to review cucumber reports
Fred, a cucumber user
Wants to have cucumber reports in HTML

####
@testPassing
Scenario:Fred wants to see passing scenarios in the HTML report 4

Before <1ms + Show Info

    Tests INFO will print here.
    To attach INFO to Any steps, use scenario.attach function in your step definitions as shown below.

    If you pass HTML's to scenario.attach then reporter will format accordingly

    Simple String  : scenario.attach('sample data')
    Pretty JSON    : scenario.attach(JSON.stringify(json, null, 2))
    HTML Link      : scenario.attach('format the link with html-a tag'

When this feature runs with background <1ms

When he provides cucumber JSON file to reporter <1ms

Then cucumber-html-reporter should create HTML report <1ms

####
@testScenarioOutline
Scenario:Fred runs scenario outline for John and print on HTML report 1 1 2

John & Bob wants to run cucumber scenarios
- expects to have HTML reports

When this feature runs with background <1ms

Given Fred runs a passing cucumber scenario on behalf of "John"

When he provides cucumber JSON file to reporter

Then cucumber-html-reporter should create HTML report

####
@testScenarioOutline
Scenario:Fred runs scenario outline for Bob and print on HTML report 1 1 2

John & Bob wants to run cucumber scenarios
- expects to have HTML reports

When this feature runs with background <1ms

Given Fred runs a passing cucumber scenario on behalf of "Bob"

When he provides cucumber JSON file to reporter

Then cucumber-html-reporter should create HTML report

####
@testAttachDebugData
Scenario:Fred wants to print test data in the HTML reports for debugging purpose 4

When this feature runs with background <1ms

Given Fred attaches the "test data to be printed" to the Given step of passing cucumber scenario <1ms + Show Info

    test data to be printed
    {
      "name": "cucumber-html-reporter",
      "format": "html"
    }

When he provides cucumber JSON file to reporter <1ms

Then cucumber-html-reporter should create HTML report with test-data <1ms

####
@testDocString
Scenario:Fred wants see the long doc string attached in the HTML report 4

When this feature runs with background <1ms

Given Fred runs a passing cucumber scenario with the below content <1ms

    In order to see Doc String in the HTML report
    As a Cucumber User,
    I want to print below Doc String

      Hey, I am a Doc string

When he provides cucumber JSON file to reporter <1ms

Then cucumber-html-reporter should create HTML report <1ms

####
@testDataTable
Scenario:Fred wants to use data table and print on HTML report 4

When this feature runs with background <1ms

Given Fred runs a passing scenario for the following data set <1ms

id | name | id | name | id | name | id | name | id | name | id | name | id | name
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B

When he provides cucumber JSON file to reporter <1ms

Then cucumber-html-reporter should create HTML report with data-table <1ms

####
@happy @reporting
Feature:Happy HTML reporting 4 2

In order to review cucumber reports
Fred, a cucumber user
Wants to have cucumber reports in HTML

####
@testPassing
Scenario:Fred wants to see passing scenarios in the HTML report 4

Before <1ms + Show Info

    Tests INFO will print here.
    To attach INFO to Any steps, use scenario.attach function in your step definitions as shown below.

    If you pass HTML's to scenario.attach then reporter will format accordingly

    Simple String  : scenario.attach('sample data')
    Pretty JSON    : scenario.attach(JSON.stringify(json, null, 2))
    HTML Link      : scenario.attach('format the link with html-a tag'

When this feature runs with background <1ms

When he provides cucumber JSON file to reporter <1ms

Then cucumber-html-reporter should create HTML report <1ms

####
@testScenarioOutline
Scenario:Fred runs scenario outline for John and print on HTML report 1 1 2

John & Bob wants to run cucumber scenarios
- expects to have HTML reports

When this feature runs with background <1ms

Given Fred runs a passing cucumber scenario on behalf of "John"

When he provides cucumber JSON file to reporter

Then cucumber-html-reporter should create HTML report

####
@testScenarioOutline
Scenario:Fred runs scenario outline for Bob and print on HTML report 1 1 2

John & Bob wants to run cucumber scenarios
- expects to have HTML reports

When this feature runs with background <1ms

Given Fred runs a passing cucumber scenario on behalf of "Bob"

When he provides cucumber JSON file to reporter

Then cucumber-html-reporter should create HTML report

####
@testAttachDebugData
Scenario:Fred wants to print test data in the HTML reports for debugging purpose 4

When this feature runs with background <1ms

Given Fred attaches the "test data to be printed" to the Given step of passing cucumber scenario <1ms + Show Info

    test data to be printed
    {
      "name": "cucumber-html-reporter",
      "format": "html"
    }

When he provides cucumber JSON file to reporter <1ms

Then cucumber-html-reporter should create HTML report with test-data <1ms

####
@testDocString
Scenario:Fred wants see the long doc string attached in the HTML report 4

When this feature runs with background <1ms

Given Fred runs a passing cucumber scenario with the below content <1ms

    In order to see Doc String in the HTML report
    As a Cucumber User,
    I want to print below Doc String

      Hey, I am a Doc string

When he provides cucumber JSON file to reporter <1ms

Then cucumber-html-reporter should create HTML report <1ms

####
@testDataTable
Scenario:Fred wants to use data table and print on HTML report 4

When this feature runs with background <1ms

Given Fred runs a passing scenario for the following data set <1ms

id | name | id | name | id | name | id | name | id | name | id | name | id | name
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B

When he provides cucumber JSON file to reporter <1ms

Then cucumber-html-reporter should create HTML report with data-table <1ms

#### unhappy 1

####
@unhappy @reporting
Feature:Unhappy HTML reporting 2 1 1

####
@attachScreenshot
Scenario:Fred wants to see a Screenshot attached to the HTML report 4

Given Fred runs a failing cucumber scenario <1ms

When he provides cucumber JSON file to reporter <1ms

And a failing scenario captures a screenshot 1ms Screenshot +

Then cucumber-html-reporter should create HTML report with Screenshot <1ms

####
@pendingStep
Scenario:Fred wants to see if steps are pending in the HTML report 1 1 1

Given Fred runs a cucumber scenario <1ms

When he left this step as a pending

Then cucumber-html-reporter should report pending step with code-snippets in HTML report

####
@undefinedStep
Scenario:Fred wants to see if steps are undefined on the HTML report 1 2

Given Fred runs a cucumber scenario <1ms

When he left this step as a undefined

    this.Then(/^he left this step as a undefined$/, function(callback) {
      // Write code here that turns the phrase above into concrete actions
      callback(null, 'pending');
    });

Then cucumber-html-reporter should create undefined step in HTML report

    this.Then(/^cucumber-html-reporter should create undefined step in HTML report$/, function(callback) {
      // Write code here that turns the phrase above into concrete actions
      callback(null, 'pending');
    });

####
@ambiguousStep
Scenario:Fred wants to see if steps are ambiguous on the HTML report 3

Given Fred runs a cucumber scenario <1ms

When he left this step to be ambiguous <1ms

Then cucumber-html-reporter should create HTML report with ambiguous steps <1ms