vtstats / web

VTubers Statistics and Data Visualization
https://vt.poi.cat
134 stars 28 forks source link

build(deps-dev): bump playwright from 1.16.3 to 1.18.0 in /web #757

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps playwright from 1.16.3 to 1.18.0.

Release notes

Sourced from playwright's releases.

v1.18.0

Locator Improvements

  • [locator.dragTo(locator)]
  • [expect(locator).toBeChecked({ checked })]
  • Each locator can now be optionally filtered by the text it contains:
    await page.locator('li', { hasText: 'my item' }).locator('button').click();
    
    Read more in [locator documentation].

Testing API improvements

  • [expect(response).toBeOK()]
  • [testInfo.attach()]
  • [test.info()]

Improved TypeScript Support

  1. Playwright Test now respects tsconfig.json's baseUrl and paths, so you can use aliases
  2. There is a new environment variable PW_EXPERIMENTAL_TS_ESM that allows importing ESM modules in your TS code, without the need for the compile step. Don't forget the .js suffix when you are importing your esm modules. Run your tests as follows:
npm i --save-dev @playwright/test@1.18.0
PW_EXPERIMENTAL_TS_ESM=1 npx playwright test

Create Playwright

The npm init playwright command is now generally available for your use:

# Run from your project's root directory
npm init playwright
# Or create a new project
npm init playwright new-project

This will scaffold everything needed to get started with Playwright Test: configuration file, optionally add examples, a GitHub Action workflow and a first test example.spec.ts.

New APIs & changes

  • new [testCase.repeatEachIndex] API
  • new [option fixtures]
  • [acceptDownloads] option now defaults to true

Browser Versions

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
cloudflare-workers-and-pages[bot] commented 2 years ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 73c8436
Status: ✅  Deploy successful!
Preview URL: https://b2960983.holostats.pages.dev

View logs

dependabot[bot] commented 2 years ago

Superseded by #765.