Skip to content

Logged Test name | [object Object] when used Data #1443

Closed

Description

@Vorobeyko

What are you trying to achieve?

I used Data for parameterized tests.
Used data as array (or generator) like

Data(
  yield {name: `Automation name ${uuid4()}`};
  yield {name: `Название страницы на русском ${uuid4()}`};
).only.Scenario('Test name', async (I, pagesFactory, current) => {})

What do you get instead?

Test title logged like Test name | [object Object]

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

Pages/API/Private/Pages/Create --
  Test name | [object Object]
    Runner: runTest
    I have page spec {"name":"Automation name 5633285d-e405-49c0-9526-334aa451900b"}
    pages: createPage
    I call private method "createPage"

Details

  • CodeceptJS version: 2.0.3
  • NodeJS Version: 10.15.0
  • Operating System: Ubuntu 18.04
  • Protractor || WebDriverIO || Nightmare version (if related) REST

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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