From d296d057d3b6515010478c16cb771860685720aa Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Fri, 1 Dec 2023 09:33:51 -0800 Subject: [PATCH] Update bug.md Signed-off-by: Pavel Feldman --- .github/ISSUE_TEMPLATE/bug.md | 45 +++-------------------------------- 1 file changed, 3 insertions(+), 42 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index 52eb7d6a3e..662784b912 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -7,12 +7,6 @@ assignees: '' --- - - - - - - ### System info - Playwright Version: [v1.XX] - Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.] @@ -21,44 +15,11 @@ assignees: '' ### Source code -- [ ] I provided exact source code that allows reproducing the issue locally. +[We will only be able to work on the issues that we can reproduce.] - - - - +[Please provide a self-contained example in a form of a snippet, archive or a repository.] -**Link to the GitHub repository with the repro** - -[https://github.com/your_profile/playwright_issue_title] - -or - -**Config file** - -```js -// playwright.config.ts -import { defineConfig, devices } from '@playwright/test'; - -export default defineConfig({ - projects: [ - { - name: 'chromium', - use: { ...devices['Desktop Chrome'], }, - }, - ] -}); -``` - -**Test file (self-contained)** - -```js -it('should check the box using setChecked', async ({ page }) => { - await page.setContent(``); - await page.getByRole('checkbox').check(); - await expect(page.getByRole('checkbox')).toBeChecked(); -}); -``` +[Repro scenario can't be large or have external dependencies.] **Steps** - [Run the test]