Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
carlowahlstedt committed Jun 28, 2019
2 parents f88c52b + 32b15a7 commit ff8a9d3
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Azure DevOps Version:**
- Installation: [e.g. Cloud, Azure DevOps Server, TFS 2018]
- Task Version: [e.g. 3.0.28]
- Command Log Output: [e.g. [command]C:\windows\system32\cmd.exe /D /S /C "C:\npm\prefix\newman.cmd run D:\a\r1\a\_carlowahlstedt_NewmanPostman_VSTS_Task\tsconfig.json -n 1 -e D:\a\r1\a\_carlowahlstedt_NewmanPostman_VSTS_Task\vss-extension.json"]

**Additional context**
Add any other context about the problem here.
4 changes: 3 additions & 1 deletion NewmanPostman/newmantask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ function GetToolRunner(collectionToRun: string) {
newman.argIf(typeof reporterHtmlExtraExport != 'undefined' && tl.filePathSupplied('reporterHtmlExtraExport'), ['--reporter-htmlextra-export', reporterHtmlExtraExport]);
let htmlExtraDarkTheme = tl.getBoolInput('htmlExtraDarkTheme');
newman.argIf(htmlExtraDarkTheme, ['--reporter-htmlextra-darkTheme']);
let htmlExtraLogs = tl.getBoolInput('htmlExtraLogs');
newman.argIf(htmlExtraLogs, ['--reporter-htmlextra-logs']);
let htmlExtraTestPaging = tl.getBoolInput('htmlExtraTestPaging');
newman.argIf(htmlExtraTestPaging, ['--reporter-htmlextra-testPaging']);
let htmlExtraReportTitle = tl.getInput('htmlExtraReportTitle');
Expand Down Expand Up @@ -181,4 +183,4 @@ async function run() {
}
}

run();
run();
9 changes: 8 additions & 1 deletion NewmanPostman/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,13 @@
"helpMarkDown": "Use this optional flag to switch the reporter template to the Dark Theme dashboard.",
"groupName": "report"
},
{
"name": "htmlExtraLogs",
"type": "boolean",
"label": "Enable HTML Extra Console Logs",
"helpMarkDown": "Set this optional flag to enable additional console logs from the reporter.",
"groupName": "report"
},
{
"name": "htmlExtraTestPaging",
"type": "boolean",
Expand Down Expand Up @@ -410,4 +417,4 @@
"target": "newmantask.js"
}
}
}
}

0 comments on commit ff8a9d3

Please sign in to comment.