From cd563522789fcf3ba10ac57e10ed22a2da5f8b77 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Thu, 2 Mar 2023 15:31:14 -0800 Subject: [PATCH] devops: update issue templates --- .github/ISSUE_TEMPLATE/bug.md | 47 ++++++++++++++++++++++++++--------- 1 file changed, 35 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index 02838603..7fc2b367 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -7,19 +7,34 @@ assignees: '' --- -**Context:** -- Playwright Version: [what Playwright version do you use?] -- Operating System: [e.g. Windows, Linux or Mac] -- Browser: [e.g. All, Chromium, Firefox, WebKit] -- Extra: [any specific details about your environment] + - - + + + -**Code Snippet** +### System info +- Playwright Version: [v1.XX] +- Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.] +- Browser: [All, Chromium, Firefox, WebKit] +- Other info: -Help us help you! Put down a short code snippet that illustrates your bug and -that we can run and debug locally. For example: +### Source code + +- [ ] I provided exact source code that allows reproducing the issue locally. + + + + + + +**Link to the GitHub repository with the repro** + +[https://github.com/your_profile/playwright_issue_title] + +or + +**Test file (self-contained)** ```java import com.microsoft.playwright.*; @@ -36,6 +51,14 @@ public class ExampleReproducible { } ``` -**Describe the bug** +**Steps** +- [Run the test] +- [...] -Add any other details about the problem here. +**Expected** + +[Describe expected behavior] + +**Actual** + +[Describe actual behavior]