Skip to content

Conversation

@angular-robot
Copy link
Contributor

@angular-robot angular-robot commented Aug 5, 2024

This PR contains the following updates:

Package Type Update Change
@inquirer/prompts (source) devDependencies patch 5.3.7 -> 5.3.8
playwright-core (source) devDependencies minor 1.45.3 -> 1.46.0
renovate (source) dependencies minor 38.18.15 -> 38.19.0
zone.js (source, changelog) devDependencies patch 0.14.8 -> 0.14.10

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

SBoudrias/Inquirer.js (@​inquirer/prompts)

v5.3.8

Compare Source

microsoft/playwright (playwright-core)

v1.46.0

Compare Source

TLS Client Certificates

Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication.

When client certificates are specified, all browser traffic is routed through a proxy that establishes the secure TLS connection, provides client certificates to the server and validates server certificates.

The following snippet sets up a client certificate for https://example.com:

import { defineConfig } from '@​playwright/test';

export default defineConfig({
  // ...
  use: {
    clientCertificates: [{
      origin: 'https://example.com',
      certPath: './cert.pem',
      keyPath: './key.pem',
      passphrase: 'mysecretpassword',
    }],
  },
  // ...
});

You can also provide client certificates to a particular test project or as a parameter of browser.newContext() and apiRequest.newContext().

--only-changed cli option

New CLI option --only-changed allows to only run test files that have been changed since the last git commit or from a specific git "ref".

### Only run test files with uncommitted changes
npx playwright test --only-changed

### Only run test files changed relative to the "main" branch
npx playwrigh test --only-changed=main

Component Testing: New router fixture

This release introduces an experimental router fixture to intercept and handle network requests in component testing.
There are two ways to use the router fixture:

  • Call router.route(url, handler) that behaves similarly to page.route().
  • Call router.use(handlers) and pass MSW library request handlers to it.

Here is an example of reusing your existing MSW handlers in the test.

import { handlers } from '@​src/mocks/handlers';

test.beforeEach(async ({ router }) => {
  // install common handlers before each test
  await router.use(...handlers);
});

test('example test', async ({ mount }) => {
  // test as usual, your handlers are active
  // ...
});

This fixture is only available in component tests.

UI Mode / Trace Viewer Updates

  • Test annotations are now shown in UI mode.
  • Content of text attachments is now rendered inline in the attachments pane.
  • New setting to show/hide routing actions like route.continue().
  • Request method and status are shown in the network details tab.
  • New button to copy source file location to clipboard.
  • Metadata pane now displays the baseURL.

Miscellaneous

Browser Versions

  • Chromium 128.0.6613.18
  • Mozilla Firefox 128.0
  • WebKit 18.0

This version was also tested against the following stable channels:

  • Google Chrome 127
  • Microsoft Edge 127
renovatebot/renovate (renovate)

v38.19.0

Compare Source

Features
Code Refactoring

v38.18.17

Compare Source

Bug Fixes
  • manager/pep621: prevent side effects through shallow copy (#​30605) (8e97c90)
Miscellaneous Chores
  • utils: extend fs utils with createCacheReadStream and statCach… (#​30600) (5bdb821)

v38.18.16

Compare Source

Build System
angular/angular (zone.js)

v0.14.10

Compare Source

Features
  • zone.js: Add 'flush' parameter option to fakeAsync to flush after the test (#​57137) (99d679d)

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Renovate Bot.

@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker comp: build renovate managed labels Aug 5, 2024
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Aug 5, 2024
@angular-robot angular-robot force-pushed the ng-renovate/all-non-major-dependencies branch from a6907da to fbc87bd Compare August 6, 2024 09:07
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@josephperrott
Copy link
Member

This PR was merged into the repository by commit 9aa0e2c.

The changes were merged into the following branches: main

@angular-robot angular-robot deleted the ng-renovate/all-non-major-dependencies branch August 6, 2024 14:05
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project comp: build renovate managed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants