Skip to content

Commit

Permalink
chore: update GH issue templates (#2024)
Browse files Browse the repository at this point in the history
chore: update issue templates
  • Loading branch information
mxschmitt authored Jul 26, 2023
1 parent 42a3db2 commit 59da178
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 24 deletions.
47 changes: 36 additions & 11 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,34 @@ assignees: ''

---

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

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

Help us help you! Put down a short code snippet that illustrates your bug and
that we can run and debug locally.
### System info
- Playwright Version: [v1.XX]
- Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.]
- Browser: [All, Chromium, Firefox, WebKit]
- Other info:

### Source code

- [ ] I provided exact source code that allows reproducing the issue locally.

<!-- For simple cases, please provide a self-contained test file along with the config file -->
<!-- For larger cases, you can provide a GitHub repo you created for this issue -->
<!-- If we can not reproduce the problem locally, we won't be able to act on it -->
<!-- You can still file without the exact code and we will try to help, but if we can't repro, it will be closed -->

**Link to the GitHub repository with the repro**

[https://github.com/your_profile/playwright_issue_title]

or

**Test file (self-contained)**

```python
from playwright.sync_api import sync_playwright
Expand All @@ -28,6 +45,14 @@ with sync_playwright() as p:
browser.close()
```

**Describe the bug**
**Steps**
- [Run the test]
- [...]

**Expected**

[Describe expected behavior]

**Actual**

Add any other details about the problem here.
[Describe actual behavior]
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
contact_links:
- name: Join our Slack community
url: https://aka.ms/playwright-slack
- name: Join our Discord Server
url: https://aka.ms/playwright/discord
about: Ask questions and discuss with other community members
11 changes: 0 additions & 11 deletions .github/ISSUE_TEMPLATE/question.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/regression.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
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:

```python
from playwright.sync_api import sync_playwright
with sync_playwright() as p:
browser = p.chromium.launch()
page = browser.new_page()
# ...
browser.close()
```

**Describe the bug**

Add any other details about the problem here.

0 comments on commit 59da178

Please sign in to comment.