skrashevich / double-take

Unified UI and API for processing and training images for facial recognition.
https://hub.docker.com/r/skrashevich/double-take
MIT License
515 stars 25 forks source link

build(deps-dev): bump @playwright/test from 1.41.2 to 1.44.0 #481

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 5 months ago

Bumps @playwright/test from 1.41.2 to 1.44.0.

Release notes

Sourced from @​playwright/test's releases.

v1.44.0

New APIs

Accessibility assertions

  • expect(locator).toHaveAccessibleName() checks if the element has the specified accessible name:

    const locator = page.getByRole('button');
    await expect(locator).toHaveAccessibleName('Submit');
    
  • expect(locator).toHaveAccessibleDescription() checks if the element has the specified accessible description:

    const locator = page.getByRole('button');
    await expect(locator).toHaveAccessibleDescription('Upload a photo');
    
  • expect(locator).toHaveRole() checks if the element has the specified ARIA role:

    const locator = page.getByTestId('save-button');
    await expect(locator).toHaveRole('button');
    

Locator handler

  • After executing the handler added with page.addLocatorHandler(), Playwright will now wait until the overlay that triggered the handler is not visible anymore. You can opt-out of this behavior with the new noWaitAfter option.
  • You can use new times option in page.addLocatorHandler() to specify maximum number of times the handler should be run.
  • The handler in page.addLocatorHandler() now accepts the locator as argument.
  • New page.removeLocatorHandler() method for removing previously added locator handlers.
const locator = page.getByText('This interstitial covers the button');
await page.addLocatorHandler(locator, async overlay => {
  await overlay.locator('#close').click();
}, { times: 3, noWaitAfter: true });
// Run your tests that can be interrupted by the overlay.
// ...
await page.removeLocatorHandler(locator);

Miscellaneous options

  • multipart option in apiRequestContext.fetch() now accepts FormData and supports repeating fields with the same name.

    const formData = new FormData();
    formData.append('file', new File(['let x = 2024;'], 'f1.js', { type: 'text/javascript' }));
    formData.append('file', new File(['hello'], 'f2.txt', { type: 'text/plain' }));
    context.request.post('https://example.com/uploadFiles', {
      multipart: formData
    

... (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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
relativeci[bot] commented 5 months ago

#667 Bundle Size — 6.56MiB (+0.82%).

fed17be(current) vs 0227b0c main#640(baseline)

Bundle metrics  Change 5 changes Regression 1 regression Improvement 1 improvement
                 Current
#667
     Baseline
#640
Regression  Initial JS 1.7MiB(+3.2%) 1.64MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 100% 0%
Change  Chunks 12(+9.09%) 11
No change  Assets 40 40
Change  Modules 262(+2.75%) 255
No change  Duplicate Modules 0 0
No change  Duplicate Code 0% 0%
Improvement  Packages 26(-3.7%) 27
No change  Duplicate Packages 0 0

Bundle size by type  Change 3 changes Regression 1 regression Improvement 2 improvements
|            |       Current
[#667](https://app.relative-ci.com/projects/aQOR2wibqHsYkX5B6W4W/jobs/667-zuvwjYdbGodQBaJJ9Xxo?utm_source=github&utm_medium=pr-report "View bundle analysis report") |      Baseline
[#640](https://app.relative-ci.com/projects/aQOR2wibqHsYkX5B6W4W/jobs/640-mOmy6Xd5b5hGE5D8vovR?utm_source=github&utm_medium=pr-report "View baseline bundle analysis report") | |:--|--:|--:| | Regression  [JS](https://app.relative-ci.com/projects/aQOR2wibqHsYkX5B6W4W/jobs/667-zuvwjYdbGodQBaJJ9Xxo/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-1_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D "View JS assets") | `2.65MiB` (`+2.14%`) | `2.59MiB` | | Improvement  [IMG](https://app.relative-ci.com/projects/aQOR2wibqHsYkX5B6W4W/jobs/667-zuvwjYdbGodQBaJJ9Xxo/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-0_ft.IMG-1_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D "View IMG assets") | `2.01MiB` (`-0.09%`) | `2.01MiB` | | No change  [Fonts](https://app.relative-ci.com/projects/aQOR2wibqHsYkX5B6W4W/jobs/667-zuvwjYdbGodQBaJJ9Xxo/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-0_ft.IMG-0_ft.MEDIA-0_ft.FONT-1_ft.HTML-0_ft.OTHER-0%22%7D "View Fonts assets") | `1.75MiB` | `1.75MiB` | | Improvement  [CSS](https://app.relative-ci.com/projects/aQOR2wibqHsYkX5B6W4W/jobs/667-zuvwjYdbGodQBaJJ9Xxo/assets?ba=%7B%22filters%22%3A%22ft.CSS-1_ft.JS-0_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D "View CSS assets") | `160.01KiB` (`-0.08%`) | `160.14KiB` |

Bundle analysis reportBranch dependabot/npm_and_yarn/beta/pla...Project dashboard

dependabot[bot] commented 5 months ago

Superseded by #503.