1
0
mirror of synced 2026-05-22 18:53:15 +00:00

chore: simplify issue templates, align with upstream (#611)

This commit is contained in:
Yury Semikhatsky
2021-09-17 16:20:30 -07:00
committed by GitHub
parent 16cc466622
commit b000a8b6df
7 changed files with 100 additions and 104 deletions
+41
View File
@@ -0,0 +1,41 @@
---
name: Bug Report
about: Something doesn't work like it should? Tell us!
title: "[BUG]"
labels: ''
assignees: ''
---
**Context:**
- Playwright Version: [what Playwright version do you use?]
- Operating System: [e.g. Windows, Linux or Mac]
- Browser: [e.g. All, Chromium, Firefox, WebKit]
- Extra: [any specific details about your environment]
<!-- CLI to auto-capture this info -->
<!-- npx envinfo --preset playwright --markdown -->
**Code Snippet**
Help us help you! Put down a short code snippet that illustrates your bug and
that we can run and debug locally. For example:
```java
import com.microsoft.playwright.*;
public class ExampleReproducible {
public static void main(String[] args) {
try (Playwright playwright = Playwright.create()) {
Browser browser = playwright.chromium().launch();
BrowserContext context = browser.newContext();
Page page = context.newPage();
// ...
}
}
}
```
**Describe the bug**
Add any other details about the problem here.
-75
View File
@@ -1,75 +0,0 @@
name: Bug Report
description: Something doesn't work like it should? Tell us!
title: "[Bug]: "
labels: []
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: input
id: version
attributes:
label: Playwright version
description: Which version of of Playwright are you using?
placeholder: ex. 1.12.0
validations:
required: true
- type: dropdown
id: operating-system
attributes:
label: Operating system
multiple: true
description: What operating system are you running Playwright on?
options:
- Windows
- MacOS
- Linux
- type: dropdown
id: browsers
attributes:
label: What browsers are you seeing the problem on?
multiple: true
options:
- Chromium
- Firefox
- WebKit
- type: textarea
id: other-information
attributes:
label: Other information
description: ex. Java version, Linux distribution etc.
- type: textarea
id: what-happened
attributes:
label: What happened? / Describe the bug
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
validations:
required: true
- type: textarea
id: reproducible
attributes:
label: Code snippet to reproduce your bug
description: Help us help you! Put down a short code snippet that illustrates your bug and that we can run and debug locally. This will be automatically formatted into code, so no need for backticks.
render: shell
placeholder: |
import com.microsoft.playwright.*;
public class ExampleReproducible {
public static void main(String[] args) {
try (Playwright playwright = Playwright.create()) {
Browser browser = playwright.chromium().launch();
BrowserContext context = browser.newContext();
Page page = context.newPage();
// ...
}
}
}
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output like [Playwright debug logs](https://playwright.dev/docs/debug#verbose-api-logs). This will be automatically formatted into code, so no need for backticks.
render: shell
+11
View File
@@ -0,0 +1,11 @@
---
name: Feature request
about: Request new features to be added
title: "[Feature]"
labels: ''
assignees: ''
---
Let us know what functionality you'd like to see in Playwright and what your use case is.
Do you think others might benefit from this as well?
@@ -1,18 +0,0 @@
name: Feature request
description: Request new features to be added
title: "[Feature]: "
labels: []
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request!
- type: textarea
id: what-happened
attributes:
label: Feature request
description: |
Let us know what functionality you'd like to see in Playwright and what is your use case.
Do you think others might benefit from this as well?
validations:
required: true
+10
View File
@@ -0,0 +1,10 @@
---
name: I have a question
about: Feel free to ask us your questions!
title: "[Question]"
labels: ''
assignees: ''
---
-11
View File
@@ -1,11 +0,0 @@
name: I have a question
description: Feel free to ask us your questions!
title: "[Question]: "
labels: []
body:
- type: textarea
id: question
attributes:
label: Your question
validations:
required: true
+38
View File
@@ -0,0 +1,38 @@
---
name: Report regression
about: Functionality that used to work and does not any more
title: "[REGRESSION]: "
labels: ''
assignees: ''
---
**Context:**
- GOOD Playwright Version: [what Playwright version worked nicely?]
- BAD Playwright Version: [what Playwright version doesn't work any more?]
- Operating System: [e.g. Windows, Linux or Mac]
- Extra: [any specific details about your environment]
**Code Snippet**
Help us help you! Put down a short code snippet that illustrates your bug and
that we can run and debug locally. For example:
```java
import com.microsoft.playwright.*;
public class ExampleReproducible {
public static void main(String[] args) {
try (Playwright playwright = Playwright.create()) {
Browser browser = playwright.chromium().launch();
BrowserContext context = browser.newContext();
Page page = context.newPage();
// ...
}
}
}
```
**Describe the bug**
Add any other details about the problem here.