Skip to content

Bump playwright from 1.35.1 to 1.40.1 in /browser

Bumps playwright from 1.35.1 to 1.40.1.

Release notes

Sourced from playwright's releases.

v1.40.1

Highlights

microsoft/playwright#28319 - [REGRESSION]: Version 1.40.0 Produces corrupted traces microsoft/playwright#28371 - [BUG] The color of the 'ok' text did not change to green in the vs code test results section microsoft/playwright#28321 - [BUG] Ambiguous test outcome and status for serial mode microsoft/playwright#28362 - [BUG] Merging blobs ends up in Error: Cannot create a string longer than 0x1fffffe8 characters microsoft/playwright#28239 - fix: collect all errors in removeFolders

Browser Versions

  • Chromium 120.0.6099.28
  • Mozilla Firefox 119.0
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 119
  • Microsoft Edge 119

v1.40.0

Test Generator Update

Playwright Test Generator

New tools to generate assertions:

Here is an example of a generated test with assertions:

import { test, expect } from '@playwright/test';
test('test', async ({ page }) => {
await page.goto('https://playwright.dev/');
await page.getByRole('link', { name: 'Get started' }).click();
await expect(page.getByLabel('Breadcrumbs').getByRole('list')).toContainText('Installation');
await expect(page.getByLabel('Search')).toBeVisible();
await page.getByLabel('Search').click();
await page.getByPlaceholder('Search docs').fill('locator');
await expect(page.getByPlaceholder('Search docs')).toHaveValue('locator');
});

New APIs

Other Changes

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by dgozman-ms, a new releaser for playwright since your current version.



Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports