From 95d57ccf731a3ba9b436cc0b50a50d6536d063ca Mon Sep 17 00:00:00 2001 From: epszaw Date: Wed, 22 May 2024 19:13:22 +0200 Subject: [PATCH] update readme section about links configuration --- packages/allure-codeceptjs/README.md | 1 + packages/allure-cucumberjs/README.md | 1 + packages/allure-cypress/README.md | 3 ++- packages/allure-jasmine/README.md | 3 ++- packages/allure-jest/README.md | 3 ++- packages/allure-playwright/README.md | 3 ++- packages/allure-vitest/README.md | 3 ++- 7 files changed, 12 insertions(+), 5 deletions(-) diff --git a/packages/allure-codeceptjs/README.md b/packages/allure-codeceptjs/README.md index 5d83333ae..5f2b2a3c6 100644 --- a/packages/allure-codeceptjs/README.md +++ b/packages/allure-codeceptjs/README.md @@ -89,6 +89,7 @@ module.exports.config = { + { + type: "${LinkType.ISSUE}", + urlTemplate: "https://example.org/issues/%s", ++ nameTemplate: "Issue: %s", + }, + { + type: "${LinkType.TMS}", diff --git a/packages/allure-cucumberjs/README.md b/packages/allure-cucumberjs/README.md index 60a8cbfec..15059be8e 100644 --- a/packages/allure-cucumberjs/README.md +++ b/packages/allure-cucumberjs/README.md @@ -140,6 +140,7 @@ export default { + pattern: [/@issue=(.*)/], + type: "issue", + urlTemplate: "https://example.com/issues/%s", ++ nameTemplate: "Issue: %s", + }, + { + pattern: [/@tms=(.*)/], diff --git a/packages/allure-cypress/README.md b/packages/allure-cypress/README.md index 12cc18ad4..d99521be5 100644 --- a/packages/allure-cypress/README.md +++ b/packages/allure-cypress/README.md @@ -89,7 +89,8 @@ module.exports = { + links: [ + { + type: "issue", -+ urlTemplate: "https://example.org/issues/%s" ++ urlTemplate: "https://example.org/issues/%s", ++ nameTemplate: "Issue: %s", + }, + { + type: "tms", diff --git a/packages/allure-jasmine/README.md b/packages/allure-jasmine/README.md index 5cae1abe4..5a8e4babe 100644 --- a/packages/allure-jasmine/README.md +++ b/packages/allure-jasmine/README.md @@ -72,7 +72,8 @@ const reporter = new AllureJasmineReporter({ + links: [ + { + type: "issue", -+ urlTemplate: "https://example.org/issues/%s" ++ urlTemplate: "https://example.org/issues/%s", ++ nameTemplate: "Issue: %s", + }, + { + type: "tms", diff --git a/packages/allure-jest/README.md b/packages/allure-jest/README.md index 15c0af354..c82f4ea4a 100644 --- a/packages/allure-jest/README.md +++ b/packages/allure-jest/README.md @@ -96,7 +96,8 @@ const config = { + links: [ + { + type: "issue", -+ urlTemplate: "https://example.org/issues/%s" ++ urlTemplate: "https://example.org/issues/%s", ++ nameTemplate: "Issue: %s", + }, + { + type: "tms", diff --git a/packages/allure-playwright/README.md b/packages/allure-playwright/README.md index 3149e18b5..145fc8c8f 100644 --- a/packages/allure-playwright/README.md +++ b/packages/allure-playwright/README.md @@ -204,7 +204,8 @@ module.exports = { + links: [ + { + type: "issue", -+ urlTemplate: "https://example.org/issues/%s" ++ urlTemplate: "https://example.org/issues/%s", ++ nameTemplate: "Issue: %s", + }, + { + type: "tms", diff --git a/packages/allure-vitest/README.md b/packages/allure-vitest/README.md index 5d00ac09b..9f0c744f0 100644 --- a/packages/allure-vitest/README.md +++ b/packages/allure-vitest/README.md @@ -100,7 +100,8 @@ export default defineConfig({ + links: [ + { + type: "issue", -+ urlTemplate: "https://example.org/issues/%s" ++ urlTemplate: "https://example.org/issues/%s", ++ nameTemplate: "Issue: %s", + }, + { + type: "tms",