Skip to content

Commit

Permalink
update bug template
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Jan 26, 2025
1 parent 43b93ca commit 246cf3f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ body:
- type: markdown
attributes:
value: |
Please fill the bug report in the BDD style.
Use bakcticks to format code blocks.
## Please fill in the bug details below in BDD style.
- type: textarea
id: given
Expand All @@ -16,14 +15,13 @@ body:
attributes:
label: Given
description: |
What is your setup?
Paste the relevant feature file, step definitions, playwright config, and directories structure if needed.
placeholder: |
Describe your setup. For example:
````
I have the following setup:
Feature file:
```gherkin
// your feature here...
# your feature here...
```
Step definitions:
Expand All @@ -35,6 +33,8 @@ body:
```javascript
// your Playwright config here...
```
````
placeholder: What is your setup?

- type: textarea
id: when
Expand All @@ -43,7 +43,7 @@ body:
attributes:
label: When
description: |
What command did you run or actions did you perform?
What command did you run or what actions did you perform?
placeholder: |
I run the following command:
```shell
Expand All @@ -55,7 +55,7 @@ body:
attributes:
label: Then
description: |
What did actually happen?
What actually happened?
placeholder: |
I see an error:
```
Expand All @@ -76,10 +76,10 @@ body:
- type: input
id: reproduction-url
attributes:
label: Reproduction demo url
label: Reproduction demo URL
description: |
You are **highly encouraged** to try reproducing your bug on the [playwright-bdd-example](https://github.com/vitalets/playwright-bdd-example).
It significantly reduces the time, your issue gets resolved.
It significantly reduces the time it takes to resolve your issue.
placeholder: https://github.com/%your-name%/playwright-bdd-example

- type: textarea
Expand Down

0 comments on commit 246cf3f

Please sign in to comment.