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

Support allure metadata in playwright test and group annotations #1220

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

simple-elf
Copy link

@simple-elf simple-elf commented Jan 15, 2025

Support allure metadata in playwright test and group annotations closes #1188

Context

      import { test } from '@playwright/test';
      import { LabelName } from 'allure-js-commons';
      test('test full report', {
        annotation: [
          { type: "foo", description: "bar" },
          { type: LabelName.ALLURE_ID, description: "foo" },
          { type: LabelName.EPIC, description: "foo" },
          { type: LabelName.FEATURE, description: "foo" },
          { type: LabelName.LAYER, description: "foo" },
          { type: LabelName.OWNER, description: "foo" },
          { type: LabelName.PARENT_SUITE, description: "foo" },
          { type: LabelName.SUB_SUITE, description: "foo" },
          { type: LabelName.SUITE, description: "foo" },
          { type: LabelName.SEVERITY, description: "foo" },
          { type: LabelName.STORY, description: "foo" },
          { type: LabelName.TAG, description: "foo" },
        ],
      }, async () => {
      });

Checklist

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

Successfully merging this pull request may close these issues.

Support playwright runtime annotations
1 participant