Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

Revert "chore: add new GitHub issue templates (#7477)" (#8118)

Pavel Feldmanb0d3a69256a6
diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md
new file mode 100644
index 0000000000..3277cf41ba
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug.md
@@ -0,0 +1,36 @@
+---
+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]
+- Node.js version: [e.g. 12.22, 14.6]
+- 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:
+
+```javascript
+const {chromium, webkit, firefox} = require('playwright');
+
+(async () => {
+ const browser = await chromium.launch();
+ // ...
+})();
+```
+
+**Describe the bug**
+
+Add any other details about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
deleted file mode 100644
index 70b6c89a23..0000000000
--- a/.github/ISSUE_TEMPLATE/bug.yml
+++ /dev/null
@@ -1,69 +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. Node.js 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: |
- const { chromium, webkit, firefox } = require('playwright');
-
- (async () => {
- const browser = await chromium.launch();
- // ...
- })();
- - 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
-
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 0000000000..1e9bca54b6
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -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 is your use case.
+Do you think others might benefit from this as well?
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
deleted file mode 100644
index 8a755a4242..0000000000
--- a/.github/ISSUE_TEMPLATE/feature_request.yml
+++ /dev/null
@@ -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
diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md
new file mode 100644
index 0000000000..55abfc3ec0
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/question.md
@@ -0,0 +1,10 @@
+---
+name: I have a question
+about: Feel free to ask us your questions!
+title: "[Question]"
+labels: ''
+assignees: ''
+
+---
+
+
diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml
deleted file mode 100644
index c805b9812f..0000000000
--- a/.github/ISSUE_TEMPLATE/question.yml
+++ /dev/null
@@ -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
diff --git a/.github/ISSUE_TEMPLATE/regression.md b/.github/ISSUE_TEMPLATE/regression.md
new file mode 100644
index 0000000000..0116f9a416
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/regression.md
@@ -0,0 +1,32 @@
+---
+name: 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:
+
+```javascript
+const {chromium, webkit, firefox} = require('playwright');
+
+(async () => {
+ const browser = await chromium.launch();
+ // ...
+})();
+```
+
+**Describe the bug**
+
+Add any other details about the problem here.