Skip to content

Commit

Permalink
update readme section about links configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
epszaw committed May 22, 2024
1 parent 561ea1a commit 95d57cc
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/allure-codeceptjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ module.exports.config = {
+ {
+ type: "${LinkType.ISSUE}",
+ urlTemplate: "https://example.org/issues/%s",
+ nameTemplate: "Issue: %s",
+ },
+ {
+ type: "${LinkType.TMS}",
Expand Down
1 change: 1 addition & 0 deletions packages/allure-cucumberjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export default {
+ pattern: [/@issue=(.*)/],
+ type: "issue",
+ urlTemplate: "https://example.com/issues/%s",
+ nameTemplate: "Issue: %s",
+ },
+ {
+ pattern: [/@tms=(.*)/],
Expand Down
3 changes: 2 additions & 1 deletion packages/allure-cypress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/allure-jasmine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/allure-jest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/allure-playwright/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/allure-vitest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 95d57cc

Please sign in to comment.