Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @playwright/test to v1.34.0 #8377

Merged
merged 1 commit into from
May 20, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 20, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@playwright/test (source) 1.33.0 -> 1.34.0 age adoption passing confidence

Release Notes

Microsoft/playwright

v1.34.0

Compare Source

Highlights
  • UI Mode now shows steps, fixtures and attachments:

  • New property testProject.teardown to specify a project that needs to run after this
    and all dependent projects have finished. Teardown is useful to cleanup any resources acquired by this project.

    A common pattern would be a setup dependency with a corresponding teardown:

    // playwright.config.ts
    import { defineConfig } from '@​playwright/test';
    
    export default defineConfig({
      projects: [
        {
          name: 'setup',
          testMatch: /global.setup\.ts/,
          teardown: 'teardown',
        },
        {
          name: 'teardown',
          testMatch: /global.teardown\.ts/,
        },
        {
          name: 'chromium',
          use: devices['Desktop Chrome'],
          dependencies: ['setup'],
        },
        {
          name: 'firefox',
          use: devices['Desktop Firefox'],
          dependencies: ['setup'],
        },
        {
          name: 'webkit',
          use: devices['Desktop Safari'],
          dependencies: ['setup'],
        },
      ],
    });
  • New method expect.configure to create pre-configured expect instance with its own defaults such as timeout and soft.

    const slowExpect = expect.configure({ timeout: 10000 });
    await slowExpect(locator).toHaveText('Submit');
    
    // Always do soft assertions.
    const softExpect = expect.configure({ soft: true });
  • New options stderr and stdout in testConfig.webServer to configure output handling:

    // playwright.config.ts
    import { defineConfig } from '@​playwright/test';
    
    export default defineConfig({
      // Run your local dev server before starting the tests
      webServer: {
        command: 'npm run start',
        url: 'http://127.0.0.1:3000',
        reuseExistingServer: !process.env.CI,
        stdout: 'pipe',
        stderr: 'pipe',
      },
    });
  • New locator.and() to create a locator that matches both locators.

    const button = page.getByRole('button').and(page.getByTitle('Subscribe'));
  • New events browserContext.on('console') and browserContext.on('dialog') to subscribe to any dialogs
    and console messages from any page from the given browser context. Use the new methods consoleMessage.page()
    and dialog.page() to pin-point event source.

⚠️ Breaking changes
  • npx playwright test no longer works if you install both playwright and @playwright/test. There's no need
    to install both, since you can always import browser automation APIs from @playwright/test directly:

    // automation.ts
    import { chromium, firefox, webkit } from '@​playwright/test';
    /* ... */
  • Node.js 14 is no longer supported since it reached its end-of-life on April 30, 2023.

Browser Versions
  • Chromium 114.0.5735.26
  • Mozilla Firefox 113.0
  • WebKit 16.4

This version was also tested against the following stable channels:

  • Google Chrome 113
  • Microsoft Edge 113

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the release:chore This PR is a chore (means nothing for users) label May 20, 2023
@replay-io
Copy link

replay-io bot commented May 20, 2023

19 replays were recorded for 7ae039a.

image 0 Failed
image 19 Passed

View test run on Replay ↗︎

@renovate renovate bot force-pushed the renovate/playwright-monorepo branch 2 times, most recently from 3d0ece8 to 3131f0c Compare May 20, 2023 11:24
@renovate renovate bot force-pushed the renovate/playwright-monorepo branch from 3131f0c to 7ae039a Compare May 20, 2023 14:49
@renovate renovate bot merged commit 5cb8315 into main May 20, 2023
@renovate renovate bot deleted the renovate/playwright-monorepo branch May 20, 2023 18:19
@redwoodjs-bot redwoodjs-bot bot added this to the next-release milestone May 20, 2023
dac09 added a commit to dac09/redwood that referenced this pull request May 22, 2023
…te-default

* 'main' of github.com:redwoodjs/redwood:
  chore(deps): update dependency dependency-cruiser to v13.0.2 (redwoodjs#8381)
  fix(coherence): fix health check path (redwoodjs#8380)
  fix(deps): update dependency graphql-scalars to v1.22.0 (redwoodjs#8356)
  fix(deps): update dependency eslint to v8.41.0 (redwoodjs#8376)
  chore(deps): update dependency glob to v10.2.6 (redwoodjs#8379)
  fix(deps): update dependency @tremor/react to v2.7.0 (redwoodjs#8361)
  chore(deps): update dependency @playwright/test to v1.34.0 (redwoodjs#8377)
  fix(deps): update dependency style-loader to v3.3.3 (redwoodjs#8369)
  fix(deps): update dependency vite to v4.3.8 (redwoodjs#8371)
  fix(deps): update dependency css-loader to v6.7.4 (redwoodjs#8365)
  fix(deps): update dependency mini-css-extract-plugin to v2.7.6 (redwoodjs#8366)
  Fallback to auth-provider header case (redwoodjs#8368)
  feat(cli): Experimental support for plugins (redwoodjs#8316)
  fix(deps): update dependency @clerk/clerk-sdk-node to v4.9.2 (redwoodjs#8364)
  chore(deps): update dependency octokit to v2.0.16 (redwoodjs#8370)
  chore(deps): update dependency vite to v4.3.8 (redwoodjs#8355)
  chore(deps): update dependency @clerk/types to v3.38.1 (redwoodjs#8363)
jtoar pushed a commit that referenced this pull request May 22, 2023
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@jtoar jtoar modified the milestones: next-release, v5.3.0 Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant