Skip to content

Commit

Permalink
Squashed 'playwright/' changes from 8f0163f3f4..e7f0635c17
Browse files Browse the repository at this point in the history
e7f0635c17 cherry-pick(#29692): docs: better addLocatorHandler example in release notes (#29697)
8709a3a24b cherry-pick(#29687): chore: fix docs roll for functions without args follow-up (#29688)
aa9f6fb718 cherry-pick(#29669): chore: strengthen linting (#29674)
f5899c1556 chore: set version to 1.42.0 (#29671)
77e1b02552 docs: 1.42 release notes (#29666)
c1421bc9f2 docs: typescript compiler invocation before tests (#29667)
bd8d044433 feat(uimode) uses relative paths to establish websocket connection (#29617)
56028269bb devops: add a hint how to create a repro (#29665)
015a1bcc1c feat(ct): double unmounting component throws error (#29650)
303d7fdac9 chore(ct): vue resolve internal type errors (#29649)
7e502e91b2 fix(ct): solid pass children when they are defined (#29648)
7eb910a652 chore: enable eslint for js (#29639)
c5af51c59d docs(intro): fix grammar mistake in docs (#29659)
9a38aedf09 feat(firefox): roll to r1440 (#29643)
6b5e273b6d chore: reuse test server wire for reporter events (#29640)
8d9c67ac5d chore(test runner): do not nest fixture setups inside each other, similar to teardown (#29619)
d7c4ee901a test: enable localhost proxy tests on webkit mac, unless bypass rules are set (#29641)
4d868f6ba8 fix(ct-react+ct-react17): only pass `children` to `React.createElement` when they are defined (#29592)
034b550810 feat(firefox-beta): roll to r1440 (#29637)
a3aea813bc chore: implement server-based list files (#29633)
2ca45ff948 chore: use test server as a singleton (#29630)
ee93136132 chore: streamline config loader (#29627)
adccd39b01 docs(dotnet): type specific addLocatorHandler handler (#29586)
ac0787d0c8 chore: expose find related files over test server (#29604)
92b1b16041 chore: update browser patches to Jan 9 2024 (#29623)
50e7d8ca7a feat(chromium-tip-of-tree): roll to r1195 (#29588)
85df43520e feat(chromium): roll to r1105 (#29613)
fde5db4eb8 feat(webkit): roll to r1983 (#29615)
5ca8e17a2d fix: resend overridden headers on redirect without merging (#29605)
e846afeb98 docs(python): Clarify Pytest v.s. Library on Python intro page (#29590)
82b17bdda1 chore: mark server-related fixture options as such (#29602)
ba72f7e429 chore: an iteration on test server (#29589)
7c9ca0c7ef feat(chromium): roll to r1104 (#29595)
a023cd1f57 fix(output): clear output before global setup (#29584)
b811df4ac1 fix(fixtures): attribute teardown step to the right TestInfo instance (#29523)
9a1e0a8ff7 docs: custom reporter path in --reporter option (#29585)
f9aebda5db fix(fixtures): attribute teardown step to the right TestInfo instance (#29523)
6c8d81d957 chore(deps): bump ip from 2.0.0 to 2.0.1 in /packages/playwright-core/bundles/utils (#29583)
6494bb30a0 JUnit codegen (#29424)
3f46ba0680 docs(auth): Fix double use of `JSON.stringify` in Session storage example (#29554)
593feea166 fix: use addEventListener instead of onmessage in portTransport.ts (#29581)
d573c515a3 chore: add test server stub (#29568)
84fefdaac6 fix(console-api): locator filter with hasText (#29563)
023ef97c49 feat(webkit): roll to r1982 (#29570)
e06f7a881d feat(webkit): roll to r1981 (#29567)
a99652b0d9 chore: remove clearCompilationCache, do not push cache it into loader… (#29548)
31bd58f8f3 chore(deps-dev): bump undici from 5.28.2 to 5.28.3 (#29533)
ce8cda006e feat(webkit): roll to r1980 (#29540)
7b59932b45 docs(contributing): update required node version (#29547)
f414227ed8 chore(test runner): make FixturePool.registrations private (#29539)
ce55cdffb8 fix: update path to cli.js in run-driver-win.cmd (#29538)
f3fde992eb chore: remove --project-grep, add wildcard support (#29537)
043c5aaffb chore: follow up to web socket util extraction (#29536)
4f1d8cdd63 chore: hide test server related cli commands (#29532)
269a293ba1 chore(test runner): allow TestInfoImpl without a TestCase (#29534)
dbf0b25146 chore(test runner): do not rely on zones for fixture steps (#29519)
05e6b5b5c7 test: unflake electron tests (#29520)
dc9cddde95 chore: do not rely on zones for predefined steps (#29485)
08afb34c14 chore(test runner): make timeout error an Error (#29515)
bd5403dcad chore: remove `--tag` and `tagFilter` (#29468)
fb48bfcbe6 Revert "devops: auto close questions (#29513)"
bc2d4302f5 test: fix a broken reporter test (#29514)
09d0a099a2 devops: auto close questions (#29513)
b11b118e02 feat(chromium): expose parameters to generate outline / tagged PDF (#29494)
a3d62acbdd feat(chromium): roll to r1103 (#29506)
2be5e97a29 feat(chromium-tip-of-tree): roll to r1194 (#29507)
edc1c13f31 docs: locator handler type should be Runnable in java (#29503)
93a2c00a1d docs(webServer): add missing options (#29490)
ce5d970929 docs: make sure to await route.* methods (#29489)
918c26fa02 docs(other-locators): hide css:light selector engine (#29491)
593bf35eb7 feat(webkit): roll to r1979 (#29493)
217c0618df chore: rename find-related-tests to find-related-test-files (#29483)
2693614c7a Revert "fix(chromium): best effort 304 status on reload (#29373)" (#29481)
2550ba3396 Update test-fixtures-js.md (#29283)
7aef5249d8 chore: pass the private data to the runner via config (#29467)
8fca4c86aa test: make Android/WebView2 bots green (#29477)
ff4191335d feat(chromium-tip-of-tree): roll to r1193 (#29473)
e14ded7af3 fix(ct): svelte export MountResult (#29385)
30557ed28c fix(electron): stalling on delayed process close (#29431)
f605a5009b fix(esmLoader): do not serialize the whole compilation cache after each import (#29464)
b947639d3a fix(ct): fix component.d.ts core types (#29463)
fe81790221 fix(accessibility): firefox with aria-invalid element (#29462)
498b8bb269 fix(tracing): do not serialise out-of-process Buffers (#29425)
b15a7076dc test: unskip 'msedge' tests (#29456)
7834beb932 chore: extract --project-grep option for matching with regex (#29445)
586d14f02c chore: add find-related-tests command (#29439)
f0244b8a76 chore: rename handleLocator to addLocatorHandler (#29443)
61b88a851d fix(merge): blobs before tags API (#29438)
abd8502490 devops: do not publish sha-X Docker images (#29433)
7a86bf4af6 chore: delete store.ts (#29423)
7f81c6e138 feat(ct): allow clearing cached build and test transformations (#29410)
32a1d49729 feat(webkit): roll to r1978 (#29421)
61955e55b1 fix(handleLocator): address API review feedback (#29412)
a131843c59 feat(chromium-tip-of-tree): roll to r1192 (#29416)
03659e1d2d feat(chromium): roll to r1102 (#29415)
84dea09cb9 fix(ct): resolve components used in tests during the vite build (#29407)
3abd7c808e fix(connectOverCDP): send custom headers in /json/version request (#29408)
6b37a706db chore(codegen): disable multiple locators choice in UI (#29409)
3331a40647 feat(test runner): tags/annotations (#29248)
58f580dbde feat(chromium-tip-of-tree): roll to r1191 (#29401)
bb380691f0 docs: reference GitHub actions/checkout@v4 and actions/setup-node@v4 (#29392)
9e285ce919 docs: do not call custom expect message an "error message" (#29390)
721d84f17a fix(har): do not throw on -1 status code (#29371)
18ce0fa370 fix(trace viewer): replace blue dot with red dot+warning (#29380)
cfefac74ab feat(webkit): roll to r1977 (#29377)
20699c36ba chore: simplify types handling in toHaveScreenshot (#29374)
fb29d90052 docs: remove overloads from test.* APIs (#29376)
286adf3af3 chore(ct): export MountResult (#29375)
17bc8f9a15 fix(chromium): best effort 304 status on reload (#29373)
4bafe71eb1 chore: unconflict ct test ports (#29332)
5f5e058e96 fix(fixtures): tear down base fixture after error in derived (#29337)
8c007fd3fc fix(toHaveScreenshot): stylePath as first arg (#29372)
57d841ffae test: vendor 'proxy' dependency (#29370)
47f8ba2a04 feat(electron): expose ElectronApplication console events (#29322)
2690e4c827 devops: fix Android tests (#29335)
bf31f2865f chore: disable blank issue templates (#29368)
36eed69fe2 docs(emulation): fix incorrect code snippet for using JavaScriptEnabled (#29333)
79e379fc11 chore: do not set metadata.error for expect failure results (#29310)
dd0ef72cd8 feat(tsconfig): respect tsconfig references (#29330)
b9565ea26e chore(test runner): refactor beforeAll/afterAll hooks and modifiers (#29309)
a6e0af6767 feat: parse projects option as RegExp (#29327)
85e4589a90 Update feature.yml
9e383c8b19 feat(webkit): roll to r1976 (#29326)
7d64ca4c54 fix(trace viewer): correctly trim locations on Windows (#29321)
ab95aabec5 feat(webkit): roll to r1975 (#29320)
9ed344a765 feat(webkit): roll to r1974 (#29319)
e69f159f43 devops: fix roll into PR action (#29318)
fcd3c7b523 Revert "fix(ct): resolve paths before detecting JS" (#29312)
eb8cbbbf62 fix(ct): resolve paths before detecting JS (#29308)
d56a50245b chore: Jest-inspired GitHub templates (thanks Jest!) (#29303)
08729cd2e6 fix(recorder): reference Language enum for recorderTypes (#29294)
b88a008a87 feat(codegen): slider support (#29087)
020a39860d chore: polish network panel highlight (#29299)
4784139bb0 fix(test): do not allow mixing tests from different types (#29284)
a89dbe3813 devops: custom blob report name for test runner tests (#29280)
cf6549687c fix(trace viewer): reveal error location when it comes from the test (#29268)
80189c9daf feat(chromium-tip-of-tree): roll to r1190 (#29291)
b32a539470 feat(chromium): roll to r1101 (#29290)
7cb886ce07 fix(codegen): refresh overlay listeners upon documentElement change (#29277)
b5082e10fd fix: do not retry missing snapshot errors (#29272)
ad0be80717 feat(webkit): roll to r1973 (#29274)
622153db18 Revert "chore: remove fake `error` from expect calls (#28112)" (#29271)
15a20259b9 feat(webkit): roll to r1972 (#29269)
0f8d619012 docs(dotnet): add docs for SetDefaultExpectTimeout (#29259)
aff6cf3c83 chore: extract ws server util (#29247)
aeafd44726 chore: strip Authorization header on ws redirect (#29246)
be6ab76c04 docs: add CLI documentation for `--no-deps` (#29235)
4c0db7ba78 feat(firefox-beta): roll to r1439 (#29243)
7b440d48f7 feat(chromium-tip-of-tree): roll to r1189 (#29244)
082d4d5552 feat(firefox): roll to r1439 (#29242)
4affcdef71 devops: run tests on macOS 14 (#29241)
289127d523 docs: fix python mock docs (#29230)
14f94fcff5 fix: python mock doc Missing (#29187)
13550b7329 fix: add new line before sourceURL (#29199)
ad6e40538a fix(electron): make sure user arguments go first (#29204)
82f40d0802 docs: Add Warning about Github Annotations (#29202)
c85308d717 chore: remove deprecated debug controller events (#29203)
e9a8fc944c fix: Add support for exif jpeg file formats (#29208)
3e2d5b2800 docs: add an example of how to use "+" key as part of a shortcut (#29221)
4df4054f19 feat(driver): add option to strip out lone surrogates (#29179)
f4b8ff9c95 fix: don't use git status for workspace consistency (#29224)
1db4e2effb devops: bump GitHub Actions workflow actions (#29219)
cf70a01836 test: should serialize storageState with lone surrogates (#29089)
acc72c2663 fix(codegen): assertValue works with disabled input (#29205)
36ebdfb441 fix: provisional fix for Trace Viewer source 404 (#29192)
5ee7179b13 fix(test runner): make TestTracing responsible for trace management (#29181)
32034728ad test: request overrides and routeFromHar (#29200)
82981a8091 fix: interception id not found error in route.continue (#29180)
12a9a308f8 chore: replace "node.js" mention in shared docs (#29119)
f741f08b3b test: fix itest (follow up to #28932)
0113e8455b fix: make TeleSuite.project work for all suites (#29177)
85c42939b1 devops: do not use broken overwrite: true for uploads (#29160)
4c4789c740 chore: validate deps during install (#28932)
6a14b1dc51 chore: automatically detect the dev server (#29176)
24ff2e2bad chore: provisional fix for win install test failure (#29175)
b5e175e6e2 fix: tolerate wrongly-typed annotations (#29162)
f7fb1e4d4e chore(ct): use sticky test server if available (#29136)
f5de6e5538 feat(codegen): generate multiple selectors to choose from (#29154)
bc83d7084c fix(chromium): emulate navigator.userAgentData along with UA (#29159)
129f5bfdbe feat(chromium): roll to r1100 (#29167)
6a04ed6a1e feat(chromium-tip-of-tree): roll to r1188 (#29169)
f49426b006 docs: update browsers when updating playwright (#29128)
86c881f206 feat(chromium-tip-of-tree): roll to r1187 (#29153)
ba8d141de8 chore: drop Ubuntu 18.04 (#29145)
d50479a76f devops: switch to ISO date string for Canary versions (#29142)
0752f0202f docs: teardown examples (#29134)
ea855e232e docs: update note on filtering dependent projects (#29135)
9cd2916623 docs: add a new fruit when mocking response (#29137)
cec2ff1772 chore: split cli processing into cli endpoint and program (#29131)
1ce3ca25a2 chore(role): cache element list by role (#29130)
8898a537e0 chore: extract a dev variation of the ct plugin (#29126)
8e607d509f fix(recorder): disallow external imports (#29129)
5bc5056a1f chore(role): cache pseudo content calculation (#29115)
41c15cb176 chore: move vite root dir into template folder (#29081)
d89ed88679 docs: do not recommend PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD anymore (#29121)
3e2d7fe7e7 feat(chromium): roll to r1099 (#29120)
9b974e0026 chore: speedup frequent element text normalization (#29113)
fbf87ef904 fix: test.fail wrapper method (#29112)
b2de9bc865 fix: mock safari.pushNotification (#29107)
db00aa7305 fix: remove unused TestInfo.stdout/stderr (#29076)
4e877f270d feat(webkit): roll to r1970 (#29103)
c3566d259f chore: better error messages when stable channel installations fail on Windows (#29077)
4b0e55abda devops: make sure uploaded reports always contain directory (#29080)
c635fc9a19 chore(deps): bump vite from 5.0.11 to 5.0.12 (#29078)
d7958ba4ad chore: quote path only if contains whitespaces (#29079)
d61f99034a fix(ct-react): do not reset mount hooks upon update (#29072)
f3fac6f4e9 feat: `page.handleLocator` that closes any interstitial pages/dialogs (#29029)
71a48c2562 chore: migrate ct to vite5 (#29033)
54c57fdebe chore(ct): revert export mount result (#29070)
e551506c9e Revert "feat(codegen): add range input recording support (#28767)" (#29069)
674988c633 chore: add quotes to the path only when necessary (#29057)
6a15d43539 docs: rename example env var (#29061)
057b0dd0ab feat(firefox-beta): roll to r1438 (#29063)
4010940315 chore: move off babel proposals to plugins (#29053)
b7d22b64e8 feat(merge): prepend bot name to global errors (#29055)
c76f5294ce fix: quote trace file path when printing error message (#29052)
4a45724633 fix: open 0.0.0.0 as localhost (#29054)
b5e766e99e chore: remove unused ncp dependency (#29043)
84cf633c92 feat(chromium-tip-of-tree): roll to r1186 (#29044)
7d7198c055 feat(webkit): roll to r1969 (#29050)
03815b9eb1 chore: migrate to Node 18 lockFileVersion 3 (#29051)
a217d6a08d docs: fix typo for stylePath (#29034)
ee3960529e fix(ct): allow passing date, url, bigint as properties (#29031)
2328b83af7 test: add a props.children test (#29026)
300a0127de Revert "feat(trace): allow Trace Viewer to include credentials when fetching traces cross-origin (#28502)" (#29024)
c82919859c chore: add an image import component test (#29016)
0fa85143a0 docs: add missing imports (#29014)
1db18711a2 fix(ct): move import list into the compilation cache data (#28986)
e6d51cf7bd chore: refactor actionability check to go through node-side retry (#28982)
a3c38bc1f9 devops: merge paginated results when downloading blobs (#29013)
d023829dd5 fix(locator parser): allow escaped quotes in the digest function (#29012)
9b657b54fb fix(launcher): unregister global process handlers when all browser are closed (#29011)
775ef30e43 fix(test runner): make TestCase.id not depend on the path separator (#29010)
ab7d1b5e53 feat(webkit): roll to r1968 (#29009)
7e6072583b docs(docker): various enhancements (#28994)
7721f910b2 chore: roll stable-test-runner to 1.41.0-beta-1705101589000 (#28993)
25ec071277 feat(chromium-tip-of-tree): roll to r1185 (#29003)
4c0a972b69 feat(expect): Make toPass's option configurable by TestConfig (#28231)
bbe26dbdbb chore: build import registry source (#28978)
92ad1b385c chore: refactor import processing in ct (#28975)
f2ebc53f18 chore: mark version 1.42.0-next (#28973)
REVERT: 8f0163f3f4 chore: mark 1.41.1 (#29075)
REVERT: 98a661824d cherry-pick(#29069): Revert "feat(codegen): add range input recording support (#28767)" (#29074)
REVERT: 50f1f08e9c cherry-pick(#29070): chore(ct): revert export mount result
REVERT: e5d201b459 cherry-pick(#29031): fix(ct): allow passing date, url, bigint as properties
REVERT: 8ee2d81143 cherry-pick(#29026): test: add a props.children test
REVERT: 50a8e4f52a cherry-pick(#29016): chore: add an image import component test
REVERT: cb6c64cc33 cherry-pick(#28986): fix(ct): move import list into the compilation cache data
REVERT: 06518b2091 cherry-pick(#28978): chore: build import registry source
REVERT: d47ed6a076 cherry-pick(#28975): chore: refactor import processing in ct
REVERT: 4d9f923dfe cherry-pick(#29034): docs: fix typo for stylePath (#29035)
REVERT: ece2a97702 Revert "feat(trace): allow Trace Viewer to include credentials when fetching traces cross-origin (#28502)" (#29024)
REVERT: 38d699f64f chore: mark 1.41.0 (#29007)

git-subtree-dir: playwright
git-subtree-split: e7f0635c17ac5c178b0960cb35f849edd3cf69ef
  • Loading branch information
ruifigueira committed Feb 27, 2024
1 parent 5c8c833 commit 5ed38c4
Show file tree
Hide file tree
Showing 473 changed files with 16,565 additions and 14,463 deletions.
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
test/assets/modernizr.js
/tests/third_party/
/packages/*/lib/
*.js
/packages/playwright-core/src/generated/*
Expand All @@ -18,4 +19,5 @@ tests/components/
tests/installation/fixture-scripts/
examples/
DEPS
.cache/
.cache/
utils/
15 changes: 15 additions & 0 deletions .eslintrc-with-ts-config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
extends: "./.eslintrc.js",
parserOptions: {
ecmaVersion: 9,
sourceType: "module",
project: "./tsconfig.json",
},
rules: {
"@typescript-eslint/no-base-to-string": "error",
"@typescript-eslint/no-unnecessary-boolean-literal-compare": 2,
},
parserOptions: {
project: "./tsconfig.json"
},
};
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ module.exports = {
"arrow-parens": [2, "as-needed"],
"prefer-const": 2,
"quote-props": [2, "consistent"],
"nonblock-statement-body-position": [2, "below"],

// anti-patterns
"no-var": 2,
Expand Down
34 changes: 0 additions & 34 deletions .github/ISSUE_TEMPLATE/bug.md

This file was deleted.

100 changes: 100 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: Bug Report 🪲
description: Create a bug report to help us improve
title: '[Bug]: '
body:
- type: markdown
attributes:
value: |
# Please follow these steps first:
- type: markdown
attributes:
value: |
## Troubleshoot
If Playwright is not behaving the way you expect, we'd ask you to look at the [documentation](https://playwright.dev/docs/intro) and search the issue tracker for evidence supporting your expectation.
Please make reasonable efforts to troubleshoot and rule out issues with your code, the configuration, or any 3rd party libraries you might be using.
Playwright offers [several debugging tools](https://playwright.dev/docs/debug) that you can use to troubleshoot your issues.
- type: markdown
attributes:
value: |
## Ask for help through appropriate channels
If you feel unsure about the cause of the problem, consider asking for help on for example [StackOverflow](https://stackoverflow.com/questions/ask) or our [Discord channel](https://aka.ms/playwright/discord) before posting a bug report. The issue tracker is not a help forum.
- type: markdown
attributes:
value: |
## Make a minimal reproduction
To file the report, you will need a GitHub repository with a minimal (but complete) example and simple/clear steps on how to reproduce the bug.
The simpler you can make it, the more likely we are to successfully verify and fix the bug. You can create a new project with `npm init playwright@latest new-project` and then add the test code there.
- type: markdown
attributes:
value: |
> [!IMPORTANT]
> Bug reports without a minimal reproduction will be rejected.
---
- type: input
id: version
attributes:
label: Version
description: |
The version of Playwright you are using.
Is it the [latest](https://github.com/microsoft/playwright/releases)? Test and see if the bug has already been fixed.
placeholder: ex. 1.41.1
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Steps to reproduce
description: Please link to a repository with a minimal reproduction and describe accurately how we can reproduce/verify the bug.
placeholder: |
Example steps (replace with your own):
1. Clone my repo at https://github.com/<myuser>/example
2. npm install
3. npm run test
4. You should see the error come up
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
description: A description of what you expect to happen.
placeholder: I expect to see X or Y
validations:
required: true
- type: textarea
id: what-happened
attributes:
label: Actual behavior
description: |
A clear and concise description of the unexpected behavior.
Please include any relevant output here, especially any error messages.
placeholder: A bug happened!
validations:
required: true
- type: textarea
id: context
attributes:
label: Additional context
description: Anything else that might be relevant
validations:
required: false
- type: textarea
id: envinfo
attributes:
label: Environment
description: |
Please paste the output of running `npx envinfo --preset playwright`.
This will be automatically formatted as a code block, so no need for backticks.
placeholder: |
System:
OS: Linux 6.2 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
CPU: (8) arm64
Binaries:
Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
npmPackages:
@playwright/test: 1.41.1 => 1.41.1
render: shell
validations:
required: true
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
blank_issues_enabled: false
contact_links:
- name: Join our Discord Server
url: https://aka.ms/playwright/discord
Expand Down
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Documentation 📖
description: Submit a request to add or update documentation
title: '[Docs]: '
labels: ['Documentation :book:']
body:
- type: markdown
attributes:
value: |
### Thank you for helping us improve our documentation!
Please be sure you are looking at [the Next version of the documentation](https://playwright.dev/docs/next/intro) before opening an issue here.
- type: textarea
id: links
attributes:
label: Page(s)
description: |
Links to one or more documentation pages that should be modified.
If you are reporting an issue with a specific section of a page, try to link directly to the nearest anchor.
If you are suggesting that a new page be created, link to the parent of the proposed page.
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: |
Describe the change you are requesting.
If the issue pertains to a single function or matcher, be sure to specify the entire call signature.
validations:
required: true
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Feature Request 🚀
description: Submit a proposal for a new feature
title: '[Feature]: '
body:
- type: markdown
attributes:
value: |
### Thank you for taking the time to suggest a new feature!
- type: textarea
id: description
attributes:
label: '🚀 Feature Request'
description: A clear and concise description of what the feature is.
validations:
required: true
- type: textarea
id: example
attributes:
label: Example
description: Describe how this feature would be used.
validations:
required: false
- type: textarea
id: motivation
attributes:
label: Motivation
description: |
Outline your motivation for the proposal. How will it make Playwright better?
validations:
required: true
11 changes: 0 additions & 11 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'Questions / Help 💬'
description: If you have questions, please check StackOverflow or Discord
title: '[Please read the message below]'
labels: [':speech_balloon: Question']
body:
- type: markdown
attributes:
value: |
## Questions and Help 💬
This issue tracker is reserved for bug reports and feature requests.
For anything else, such as questions or getting help, please see:
- [The Playwright documentation](https://playwright.dev)
- [Our Discord server](https://aka.ms/playwright/discord)
- type: checkboxes
id: no-post
attributes:
label: |
Please do not submit this issue.
description: |
> [!IMPORTANT]
> This issue will be closed.
options:
- label: I understand
required: true
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/regression.md

This file was deleted.

Loading

0 comments on commit 5ed38c4

Please sign in to comment.