Skip to content

Commit

Permalink
issue templates: unify environment info.
Browse files Browse the repository at this point in the history
  • Loading branch information
asafkorem committed Feb 21, 2022
1 parent 65f686c commit 23924a2
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 119 deletions.
50 changes: 11 additions & 39 deletions .github/ISSUE_TEMPLATE/BUG_REPORT_ANDROID.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,45 +38,17 @@ body:
label: Help us reproduce this issue!
description: "Provide the steps necessary to reproduce the issue. If you are seeing a regression, try to provide the last known version where the issue did not reproduce.\n\n
In case of a vague bug or a crash, please create an example project that reproduces it by forking the ready-to-go [DetoxTemplate project](https://github.com/wix-incubator/DetoxTemplate) and applying the minimal changes required for it to reproduce (e.g. add 3rd party libraries / E2E tests). For complete information, please review the guidelines there."
- type: markdown
attributes:
value: "\n---\n## In what environment did this happen?"
- type: input
id: detox-version
attributes:
label: Detox version
validations:
required: true
- type: input
id: rn-version
attributes:
label: React Native version
- type: input
id: nodejs-version
attributes:
label: Node version
- type: input
id: device-model
attributes:
label: Device model
- type: input
id: xcode-version
attributes:
label: Xcode version
- type: input
id: android-version
attributes:
label: Android version
- type: input
id: macos-version
attributes:
label: macOS version
- type: dropdown
id: test-runner
attributes:
label: Test runner
description: "Note: Test-runner is set in your detox configuration file (e.g. package.json, detox.config)."
options: ["jest-circus", "jest-jasmine2 (deprecated)", "mocha", "other"]
- type: textarea
id: environment
attributes:
label: In what environment did this happen?
description: "Note: the test-runner is set in your detox configuration file (e.g. package.json, detox.config)."
value: "Detox version:\n
React Native version:\n
Node version\n
Device model:\n
Android version:\n
Test-runner (select one): jest-circus / jest+jasmine / mocha / other"
- type: textarea
id: detox-logs
attributes:
Expand Down
52 changes: 13 additions & 39 deletions .github/ISSUE_TEMPLATE/BUG_REPORT_IOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,45 +38,19 @@ body:
label: Help us reproduce this issue!
description: "Provide the steps necessary to reproduce the issue. If you are seeing a regression, try to provide the last known version where the issue did not reproduce.\n\n
In case of a vague bug or a crash, please create an example project that reproduces it by forking the ready-to-go [DetoxTemplate project](https://github.com/wix-incubator/DetoxTemplate) and applying the minimal changes required for it to reproduce (e.g. add 3rd party libraries / E2E tests). For complete information, please review the guidelines there."
- type: markdown
attributes:
value: "\n---\n## In what environment did this happen?"
- type: input
id: detox-version
attributes:
label: Detox version
validations:
required: true
- type: input
id: rn-version
attributes:
label: React Native version
- type: input
id: nodejs-version
attributes:
label: Node version
- type: input
id: device-model
attributes:
label: Device model
- type: input
id: xcode-version
attributes:
label: Xcode version
- type: input
id: ios-version
attributes:
label: iOS version
- type: input
id: macos-version
attributes:
label: macOS version
- type: dropdown
id: test-runner
attributes:
label: Test runner
description: "Note: Test-runner is set in your detox configuration file (e.g. package.json, detox.config)."
options: ["jest-circus", "jest-jasmine2 (deprecated)", "mocha", "other"]
- type: textarea
id: environment
attributes:
label: In what environment did this happen?
description: "Note: the test-runner is set in your detox configuration file (e.g. package.json, detox.config)."
value: "Detox version:\n
React Native version:\n
Node version\n
Device model:\n
iOS version:\n
macOS version:\n
Xcode version:\n
Test-runner (select one): jest-circus / jest+jasmine / mocha / other"
- type: textarea
id: detox-logs
attributes:
Expand Down
52 changes: 11 additions & 41 deletions .github/ISSUE_TEMPLATE/HELP_WITH_USING_DETOX.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,44 +12,14 @@ body:
description: A clear and concise description of what you need help with.
validations:
required: true
- type: markdown
attributes:
value: "\n---\n## What is your project environment?"
- type: input
id: detox-version
attributes:
label: Detox version
- type: input
id: rn-version
attributes:
label: React Native version
- type: input
id: nodejs-version
attributes:
label: Node version
- type: input
id: device-model
attributes:
label: Device model
- type: input
id: xcode-version
attributes:
label: Xcode version
- type: input
id: ios-version
attributes:
label: iOS version
- type: input
id: macos-version
attributes:
label: macOS version
- type: input
id: android-version
attributes:
label: Android version
- type: dropdown
id: test-runner
attributes:
label: Test runner
description: "Note: Test-runner is set in your detox configuration file (e.g. package.json, detox.config)."
options: ["jest-circus", "jest-jasmine2 (deprecated)", "mocha", "other"]
- type: textarea
id: environment
attributes:
label: Your environment
description: "Note: the test-runner is set in your detox configuration file (e.g. package.json, detox.config)."
value: "Detox version:\n
React Native version:\n
Node version\n
Device model:\n
OS:\n
Test-runner (select one): jest-circus / jest+jasmine / mocha / other"

0 comments on commit 23924a2

Please sign in to comment.