playwright-test-commons - v0.8.0
    Preparing search index...

    Function generateTestDescription

    • Builds a test title from its id, description and tags.

      Parameters

      Returns string

      e.g. "#0012 | shows the latest post first @ui @regression"

      Error if id is not a positive whole number

      test(generateTestDescription({ id: 12, description: "lists products", tags: [TAGS.API] }), async () => {
      // ...
      });