Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

chore(deps): update all non-major dependencies #4964

Merged
merged 1 commit into from
May 13, 2022
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 12, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/node ^16.11.34 -> ^16.11.35 age adoption passing confidence
@unocss/reset ^0.33.2 -> ^0.33.4 age adoption passing confidence
playwright (source) ^1.21.1 -> ^1.22.0 age adoption passing confidence

Release Notes

unocss/unocss

v0.33.4

Compare Source

Microsoft/playwright

v1.22.0

Compare Source

Introducing Component Testing (preview)

Playwright Test can now test your React, Vue.js or Svelte components. You can use all the features of Playwright Test (such as parallelization, emulation & debugging) while running components in real browsers.

Here is what a typical component test looks like:

// App.spec.tsx
import { test, expect } from '@​playwright/experimental-ct-react';
import App from './App';

// Let's test component in a dark scheme!
test.use({ colorScheme: 'dark' });

test('should render', async ({ mount }) => {
  const component = await mount(<App></App>);

  // As with any Playwright test, assert locator text.
  await expect(component).toContainText('React');
  // Or do a screenshot 🚀
  await expect(component).toHaveScreenshot();
  // Or use any Playwright method
  await component.click();
});

Read more in our documentation.

Locators Update

  • Role selectors allow selecting elements by their ARIA role, ARIA attributes and accessible name.

    // Click a button with accessible name "log in"
    await page.click('role=button[name="log in"]')

    Read more in our documentation.

  • New locator.filter([options]) API to filter an existing locator

    const buttons = page.locator('role=button');
    // ...
    const submitButton = buttons.filter({ hasText: 'Submit' });
    await submitButton.click();

Screenshots Update

New web-first assertions expect(page).toHaveScreenshot() and expect(locator).toHaveScreenshot() that wait for screenshot stabilization and enhances test reliability.

The new assertions has screenshot-specific defaults, such as:

  • disables animations
  • uses CSS scale option
await page.goto('https://playwright.dev');
await expect(page).toHaveScreenshot();

The new expect(page).toHaveScreenshot() saves screenshots at the same location as expect(screenshot).toMatchSnapshot().

Browser Versions

  • Chromium 102.0.5005.40
  • Mozilla Firefox 99.0.1
  • WebKit 15.4

This version was also tested against the following stable channels:

  • Google Chrome 101
  • Microsoft Edge 101

Configuration

📅 Schedule: 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, click this checkbox.

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

@netlify
Copy link

netlify bot commented May 12, 2022

Deploy Preview for nuxt3-docs canceled.

Name Link
🔨 Latest commit 441d832
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/627db3d759e8b100098ef6e1

@renovate renovate bot changed the title chore(deps): update devdependency @types/node to ^16.11.35 chore(deps): update all non-major dependencies May 13, 2022
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 62a6c45 to 441d832 Compare May 13, 2022 01:26
@pi0 pi0 merged commit 8767b7e into main May 13, 2022
@pi0 pi0 deleted the renovate/all-minor-patch branch May 13, 2022 10:29
danielroe pushed a commit that referenced this pull request May 13, 2022
Co-authored-by: Renovate Bot <bot@renovateapp.com>
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants