Update all non-major dependencies (minor) - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@typescript-eslint/eslint-plugin | devDependencies | minor | 5.29.0 -> 5.30.4 |
@typescript-eslint/parser | devDependencies | minor | 5.29.0 -> 5.30.4 |
eslint (source) | devDependencies | minor | 8.18.0 -> 8.19.0 |
playwright-core (source) | devDependencies | minor | 1.22.2 -> 1.23.1 |
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v5.30.4
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.30.3
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.30.2
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.30.1
Bug Fixes
v5.30.0
Features
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v5.30.4
Note: Version bump only for package @typescript-eslint/parser
v5.30.3
Note: Version bump only for package @typescript-eslint/parser
v5.30.2
Note: Version bump only for package @typescript-eslint/parser
v5.30.1
Note: Version bump only for package @typescript-eslint/parser
v5.30.0
Note: Version bump only for package @typescript-eslint/parser
eslint/eslint
v8.19.0
Features
-
7023628
feat: add importNames support for patterns in no-restricted-imports (#16059) (Brandon Scott) -
472c368
feat: fix handling of blocklesswith
statements in indent rule (#16068) (Milos Djermanovic)
Bug Fixes
Documentation
-
3ae0574
docs: Remove duplicate rule descriptions (#16052) (Amaresh S M) -
f50cf43
docs: Add base href to each page to fix relative URLs (#16046) (Nicholas C. Zakas) -
ae4b449
docs: make logo link clickable on small width screens (#16058) (Milos Djermanovic) -
280f898
docs: use only fenced code blocks (#16044) (Milos Djermanovic) -
f5d63b9
docs: add listener only if element exists (#16045) (Amaresh S M) -
8b639cc
docs: add missing migrating-to-8.0.0 in the user guide (#16048) (唯然) -
b8e68c1
docs: Update release process (#16036) (Nicholas C. Zakas) -
6d0cb11
docs: remove table of contents from markdown text (#15999) (Nitin Kumar)
Chores
-
e884933
chore: usegithub-slugger
for markdown anchors (#16067) (Strek) -
02e9cb0
chore: revamp carbon ad style (#16078) (Amaresh S M) -
b6aee95
chore: remove unwanted comments from rules markdown (#16054) (Strek) -
6840940
chore: correctly use .markdownlintignore in Makefile (#16060) (Bryan Mishkin) -
48904fb
chore: add missing images (#16017) (Amaresh S M) -
910f741
chore: add architecture to nav (#16039) (Strek) -
9bb24c1
chore: add correct incorrect in all rules doc (#16021) (Deepshika S) -
5a96af8
chore: prepare versions data file (#16035) (Nicholas C. Zakas) -
50afe6f
chore: Included githubactions in the dependabot config (#15985) (Naveen) -
473411e
chore: add deploy workflow for playground (#16034) (Milos Djermanovic) -
a30b66c
chore: fix print style (#16025) (Amaresh S M) -
f4dad59
chore: add noindex meta tag (#16016) (Milos Djermanovic) -
db387a8
chore: fix sitemap (#16026) (Milos Djermanovic) -
285fbc5
chore: remove TOC from printable (#16020) (Strek) -
8e84c21
chore: remove ligatures from fonts (#16019) (Strek)
Microsoft/playwright
v1.23.1
Highlights
This patch includes the following bug fixes:
https://github.com/microsoft/playwright/issues/15219 - [REGRESSION]: playwright-core 1.23.0 issue with 'TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument'
Browser Versions
- Chromium 104.0.5112.20
- Mozilla Firefox 100.0.2
- WebKit 15.4
This version was also tested against the following stable channels:
- Google Chrome 103
- Microsoft Edge 103
v1.23.0
Network Replay
Now you can record network traffic into a HAR file and re-use the data in your tests.
To record network into HAR file:
npx playwright open --save-har=github.har.zip https://github.com/microsoft
Alternatively, you can record HAR programmatically:
const context = await browser.newContext({
recordHar: { path: 'github.har.zip' }
});
// ... do stuff ...
await context.close();
Use the new methods page.routeFromHAR()
or browserContext.routeFromHAR()
to serve matching responses from the HAR file:
await context.routeFromHAR('github.har.zip');
Read more in our documentation.
Advanced Routing
You can now use route.fallback()
to defer routing to other handlers.
Consider the following example:
// Remove a header from all requests.
test.beforeEach(async ({ page }) => {
await page.route('**/*', route => {
const headers = route.request().headers();
delete headers['if-none-match'];
route.fallback({ headers });
});
});
test('should work', async ({ page }) => {
await page.route('**/*', route => {
if (route.request().resourceType() === 'image')
route.abort();
else
route.fallback();
});
});
Note that the new methods page.routeFromHAR()
and browserContext.routeFromHAR()
also participate in routing and could be deferred to.
Web-First Assertions Update
- New method
expect(locator).toHaveValues()
that asserts all selected values of<select multiple>
element. - Methods
expect(locator).toContainText()
andexpect(locator).toHaveText()
now acceptignoreCase
option.
Component Tests Update
- Support for Vue2 via the
@playwright/experimental-ct-vue2
package. - Support for component tests for create-react-app with components in
.js
files.
Read more about component testing with Playwright.
Miscellaneous
- If there's a service worker that's in your way, you can now easily disable it with a new context option
serviceWorkers
:// playwright.config.ts export default { use: { serviceWorkers: 'block', } }
- Using
.zip
path forrecordHar
context option automatically zips the resulting HAR:const context = await browser.newContext({ recordHar: { path: 'github.har.zip', } });
- If you intend to edit HAR by hand, consider using the
"minimal"
HAR recording mode that only records information that is essential for replaying:const context = await browser.newContext({ recordHar: { path: 'github.har.zip', mode: 'minimal', } });
- Playwright now runs on Ubuntu 22 amd64 and Ubuntu 22 arm64. We also publish new docker image
mcr.microsoft.com/playwright:v1.23.0-focal
.
⚠ ️ Breaking Changes ⚠ ️
WebServer is now considered "ready" if request to the specified port has any of the following HTTP status codes:
200-299
-
300-399
(new) -
400
,401
,402
,403
(new)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.