Skip to content

Multiple tag values: how to get Cypress or Playwright test tags into Test Visibility #4413

Discussion options

You must be logged in to vote

hey @cgutierrezpa! Thanks for opening the discussion.
I'll try to go point by point.

One of the things that we want to do is to add the tags that a test already has, i.e. both in Cypress and Playwright we can basically tags: ["@smoke", "@third-party"] and so on, and then we can filter tests including those tags (or run them by tag). However, these tags are not natively sent to Datadog from what I've seen so far

Could you tell me exactly how do you set those per test tags in your code? Is it by using playwright's tags? https://playwright.dev/docs/test-annotations#tag-tests

test('test login page', {
  tag: '@fast',
}, async ({ page }) => {
  // ...
});

test('test full report @slow', async (

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@cgutierrezpa
Comment options

@juan-fernandez
Comment options

@juan-fernandez
Comment options

@cgutierrezpa
Comment options

@juan-fernandez
Comment options

Answer selected by juan-fernandez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants