chore(deps): update all non-major dependencies (minor)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
eslint (source) | devDependencies | minor | 8.24.0 -> 8.25.0 |
i18next (source) | dependencies | minor | 21.9.2 -> 21.10.0 |
i18next-parser | devDependencies | minor | 6.5.0 -> 6.6.0 |
lit (source) | dependencies | minor | 2.3.1 -> 2.4.0 |
playwright-core (source) | devDependencies | minor | 1.26.1 -> 1.27.0 |
Release Notes
eslint/eslint
v8.25.0
Features
-
173e820
feat: Pass --max-warnings value to formatters (#16348) (Brandon Mills) -
6964cb1
feat: remove support for ignore files in FlatESLint (#16355) (Milos Djermanovic) -
1cc4b3a
feat:id-length
counts graphemes instead of code units (#16321) (Sosuke Suzuki)
Documentation
-
90c6028
docs: Conflicting fixes (#16366) (Ben Perlmutter) -
5a3fe70
docs: Add VS to integrations page (#16381) (Maria José Solano) -
49bd1e5
docs: remove unused link definitions (#16376) (Nick Schonning) -
3bd380d
docs: typo cleanups for docs (#16374) (Nick Schonning) -
b3a0837
docs: remove duplicate words (#16378) (Nick Schonning) -
a682562
docs: addBigInt
tonew-cap
docs (#16362) (Sosuke Suzuki) -
f6d57fb
docs: Update docs README (#16352) (Ben Perlmutter) -
7214347
docs: fix logical-assignment-operators option typo (#16346) (Jonathan Wilsson)
Chores
-
1f78594
chore: upgrade @eslint/eslintrc@1.3.3 (#16397) (Milos Djermanovic) -
8476a9b
chore: Remove CODEOWNERS (#16375) (Nick Schonning) -
720ff75
chore: use "ci" for Dependabot commit message (#16377) (Nick Schonning) -
42f5479
chore: bump actions/stale from 5 to 6 (#16350) (dependabot[bot]) -
e5e9e27
chore: removejsdoc
dev dependency (#16344) (Milos Djermanovic)
i18next/i18next-parser
v6.6.0
lit/lit
v2.4.0
Minor Changes
-
#3318
21313077
- Adds anisServer
variable export tolit
andlit-html/is-server.js
which will betrue
in Node andfalse
in the browser. This can be used when authoring components to change behavior based on whether or not the component is executing in an SSR context.
Patch Changes
Microsoft/playwright
v1.27.0
Locators
With these new APIs, inspired by Testing Library, writing locators is a joy:
-
page.getByText(text, options)
to locate by text content. -
page.getByRole(role, options)
to locate by ARIA role, ARIA attributes and accessible name. -
page.getByLabel(label, options)
to locate a form control by associated label's text. -
page.getByPlaceholder(placeholder, options)
to locate an input by placeholder. -
page.getByAltText(altText, options)
to locate an element, usually image, by its text alternative. -
page.getByTitle(title, options)
to locate an element by its title.
await page.getByLabel('User Name').fill('John');
await page.getByLabel('Password').fill('secret-password');
await page.getByRole('button', { name: 'Sign in' }).click();
await expect(page.getByText('Welcome, John!')).toBeVisible();
All the same methods are also available on Locator, FrameLocator and Frame classes.
Other highlights
-
workers
option in theplaywright.config.ts
now accepts a percentage string to use some of the available CPUs. You can also pass it in the command line:npx playwright test --workers=20%
-
New options
host
andport
for the html reporter.reporters: [['html', { host: 'localhost', port: '9223' }]]
-
New field
FullConfig.configFile
is available to test reporters, specifying the path to the config file if any. -
As announced in v1.25, Ubuntu 18 will not be supported as of Dec 2022. In addition to that, there will be no WebKit updates on Ubuntu 18 starting from the next Playwright release.
Behavior Changes
-
expect(locator).toHaveAttribute(name, value, options)
with an empty value does not match missing attribute anymore. For example, the following snippet will succeed whenbutton
does not have adisabled
attribute.await expect(page.getByRole('button')).toHaveAttribute('disabled', '');
-
Command line options
--grep
and--grep-invert
previously incorrectly ignoredgrep
andgrepInvert
options specified in the config. Now all of them are applied together.
Browser Versions
- Chromium 107.0.5304.18
- Mozilla Firefox 105.0.1
- WebKit 16.0
This version was also tested against the following stable channels:
- Google Chrome 106
- Microsoft Edge 106
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.