Skip to content

Commit b000a8b

Browse files
authored
chore: simplify issue templates, align with upstream (#611)
1 parent 16cc466 commit b000a8b

File tree

7 files changed

+100
-104
lines changed

7 files changed

+100
-104
lines changed

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: Bug Report
3+
about: Something doesn't work like it should? Tell us!
4+
title: "[BUG]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Context:**
11+
- Playwright Version: [what Playwright version do you use?]
12+
- Operating System: [e.g. Windows, Linux or Mac]
13+
- Browser: [e.g. All, Chromium, Firefox, WebKit]
14+
- Extra: [any specific details about your environment]
15+
16+
<!-- CLI to auto-capture this info -->
17+
<!-- npx envinfo --preset playwright --markdown -->
18+
19+
**Code Snippet**
20+
21+
Help us help you! Put down a short code snippet that illustrates your bug and
22+
that we can run and debug locally. For example:
23+
24+
```java
25+
import com.microsoft.playwright.*;
26+
27+
public class ExampleReproducible {
28+
public static void main(String[] args) {
29+
try (Playwright playwright = Playwright.create()) {
30+
Browser browser = playwright.chromium().launch();
31+
BrowserContext context = browser.newContext();
32+
Page page = context.newPage();
33+
// ...
34+
}
35+
}
36+
}
37+
```
38+
39+
**Describe the bug**
40+
41+
Add any other details about the problem here.

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 0 additions & 75 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Feature request
3+
about: Request new features to be added
4+
title: "[Feature]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
Let us know what functionality you'd like to see in Playwright and what your use case is.
11+
Do you think others might benefit from this as well?

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: I have a question
3+
about: Feel free to ask us your questions!
4+
title: "[Question]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+

.github/ISSUE_TEMPLATE/question.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Report regression
3+
about: Functionality that used to work and does not any more
4+
title: "[REGRESSION]: "
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Context:**
11+
- GOOD Playwright Version: [what Playwright version worked nicely?]
12+
- BAD Playwright Version: [what Playwright version doesn't work any more?]
13+
- Operating System: [e.g. Windows, Linux or Mac]
14+
- Extra: [any specific details about your environment]
15+
16+
**Code Snippet**
17+
18+
Help us help you! Put down a short code snippet that illustrates your bug and
19+
that we can run and debug locally. For example:
20+
21+
```java
22+
import com.microsoft.playwright.*;
23+
24+
public class ExampleReproducible {
25+
public static void main(String[] args) {
26+
try (Playwright playwright = Playwright.create()) {
27+
Browser browser = playwright.chromium().launch();
28+
BrowserContext context = browser.newContext();
29+
Page page = context.newPage();
30+
// ...
31+
}
32+
}
33+
}
34+
```
35+
36+
**Describe the bug**
37+
38+
Add any other details about the problem here.

0 commit comments

Comments
 (0)