Skip to content

Commit 59da178

Browse files
authored
chore: update GH issue templates (microsoft#2024)
chore: update issue templates
1 parent 42a3db2 commit 59da178

File tree

4 files changed

+70
-24
lines changed

4 files changed

+70
-24
lines changed

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,34 @@ assignees: ''
77

88
---
99

10-
**Context:**
11-
- Playwright Version: [what Playwright version do you use?]
12-
- Operating System: [e.g. Windows, Linux or Mac]
13-
- Python version: [e.g. 3.8, 3.9]
14-
- Browser: [e.g. All, Chromium, Firefox, WebKit]
15-
- Extra: [any specific details about your environment]
10+
<!-- ⚠️⚠️ Do not delete this template ⚠️⚠️ -->
1611

17-
**Code Snippet**
12+
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
13+
<!-- 🧪 Test using the latest Playwright release to see if your issue has already been fixed -->
14+
<!-- 💡 Provide enough information for us to be able to reproduce your issue locally -->
1815

19-
Help us help you! Put down a short code snippet that illustrates your bug and
20-
that we can run and debug locally.
16+
### System info
17+
- Playwright Version: [v1.XX]
18+
- Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.]
19+
- Browser: [All, Chromium, Firefox, WebKit]
20+
- Other info:
21+
22+
### Source code
23+
24+
- [ ] I provided exact source code that allows reproducing the issue locally.
25+
26+
<!-- For simple cases, please provide a self-contained test file along with the config file -->
27+
<!-- For larger cases, you can provide a GitHub repo you created for this issue -->
28+
<!-- If we can not reproduce the problem locally, we won't be able to act on it -->
29+
<!-- You can still file without the exact code and we will try to help, but if we can't repro, it will be closed -->
30+
31+
**Link to the GitHub repository with the repro**
32+
33+
[https://github.com/your_profile/playwright_issue_title]
34+
35+
or
36+
37+
**Test file (self-contained)**
2138

2239
```python
2340
from playwright.sync_api import sync_playwright
@@ -28,6 +45,14 @@ with sync_playwright() as p:
2845
browser.close()
2946
```
3047

31-
**Describe the bug**
48+
**Steps**
49+
- [Run the test]
50+
- [...]
51+
52+
**Expected**
53+
54+
[Describe expected behavior]
55+
56+
**Actual**
3257

33-
Add any other details about the problem here.
58+
[Describe actual behavior]

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
contact_links:
2-
- name: Join our Slack community
3-
url: https://aka.ms/playwright-slack
2+
- name: Join our Discord Server
3+
url: https://aka.ms/playwright/discord
44
about: Ask questions and discuss with other community members

.github/ISSUE_TEMPLATE/question.yml

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

.github/ISSUE_TEMPLATE/regression.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
```python
22+
from playwright.sync_api import sync_playwright
23+
with sync_playwright() as p:
24+
browser = p.chromium.launch()
25+
page = browser.new_page()
26+
# ...
27+
browser.close()
28+
```
29+
30+
**Describe the bug**
31+
32+
Add any other details about the problem here.

0 commit comments

Comments
 (0)