Skip to content

Re-opening #3526: Scenario titles containing data from an Examples table are logged incorrectly.  #4027

Closed
@snehabhandge

Description

@snehabhandge

What are you trying to achieve?

This is an improvement.

If scenario title contains data from Examples like below it is not getting reported as expected.

Scenario Outline: Below are the users - <user>
Examples:
    | user   |
    | Sneha  | 
    | Ram    |

The expected logged Scenario name

Below are the users - Sneha
Below are the users - Ram

If scenario title contains data from Examples like below it is not getting reported as expected.

Scenario Outline: Below are the users - <user>
Examples:
    | user   |
    | Sneha  | 
    | Ram    |

The expected logged Scenario name

Below are the users - Sneha
Below are the users - Ram

What do you get instead?

The actual logged Scenario name

Below are the users - <user> {\"user\":\"Sneha\"}"
Below are the users - <user> {\"user\":\"Ram\"}"

Provide console output if related. Use --verbose mode for more details.

# paste output here

Provide test source code if related

// paste test

Details

  • CodeceptJS version: 3.5.8
  • NodeJS Version: 18.18.0
  • Operating System: windows
  • puppeteer || webdriverio || testcafe version (if related)
  • Configuration file:
# paste config here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions