Skip to content

chore(deps-dev): Bump @playwright/test from 1.33.0 to 1.34.1 in /core - #27533

Merged
liamdebeasi merged 9 commits into
mainfrom
dependabot/npm_and_yarn/core/playwright/test-1.34.0
May 30, 2023
Merged

liamdebeasi merged 9 commits into
mainfrom
dependabot/npm_and_yarn/core/playwright/test-1.34.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 22, 2023

Copy link
Copy Markdown
Contributor

Bumps @playwright/test from 1.33.0 to 1.34.0.

Release notes

Sourced from @​playwright/test's releases.

v1.34.0

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 });

... (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 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)

Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.33.0...v1.34.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot requested a review from a team as a code owner May 22, 2023 23:57
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 22, 2023
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions Bot added the package: core @ionic/core package label May 22, 2023
@dependabot @github

dependabot Bot commented on behalf of github May 23, 2023

Copy link
Copy Markdown
Contributor Author

A newer version of @​playwright/test exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@liamdebeasi

Copy link
Copy Markdown
Contributor

It looks like our gesture tests fail if we try to swipe beyond the bounds of the screen as of Playwright ~1.34. I modified the tests to reduce the amount we swipe by to avoid going off the screen.

@liamdebeasi

Copy link
Copy Markdown
Contributor

There are also several diffs with RTL text on Safari. Example: https://github.com/ionic-team/ionic-framework/pull/27533/files#diff-0df9a6d6b91329c1b004e5b8e4a1db644189f33220e8b5f91e54ce43c3078f70

This is a correct diff. Looks like Safari fixed a bug with RTL text rendering. The behavior reflected in the diff is consistent across Chrome, Firefox, and Safari now: https://codepen.io/liamdebeasi/pen/poxmBoR

@liamdebeasi liamdebeasi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good bot

@liamdebeasi
liamdebeasi added this pull request to the merge queue May 30, 2023
@liamdebeasi
liamdebeasi removed this pull request from the merge queue due to a manual request May 30, 2023
@liamdebeasi liamdebeasi changed the title chore(deps-dev): Bump @playwright/test from 1.33.0 to 1.34.0 in /core chore(deps-dev): Bump @playwright/test from 1.33.0 to 1.34.1 in /core May 30, 2023
@liamdebeasi
liamdebeasi added this pull request to the merge queue May 30, 2023
Merged via the queue into main with commit 58d6dae May 30, 2023
@liamdebeasi
liamdebeasi deleted the dependabot/npm_and_yarn/core/playwright/test-1.34.0 branch May 30, 2023 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants