Skip to content

Commit

Permalink
chore(deps): update dependency @playwright/test to ~1.43.0 (#1595)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@playwright/test](https://playwright.dev)
([source](https://togithub.com/microsoft/playwright)) | [`~1.42.0` ->
`~1.43.0`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.42.1/1.43.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@playwright%2ftest/1.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@playwright%2ftest/1.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@playwright%2ftest/1.42.1/1.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@playwright%2ftest/1.42.1/1.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>microsoft/playwright (@&#8203;playwright/test)</summary>

###
[`v1.43.0`](https://togithub.com/microsoft/playwright/releases/tag/v1.43.0)

[Compare
Source](https://togithub.com/microsoft/playwright/compare/v1.42.1...v1.43.0)

#### New APIs

- Method
[browserContext.clearCookies()](https://playwright.dev/docs/api/class-browsercontext#browser-context-clear-cookies)
now supports filters to remove only some cookies.

    ```js
    // Clear all cookies.
    await context.clearCookies();
    // New: clear cookies with a particular name.
    await context.clearCookies({ name: 'session-id' });
    // New: clear cookies for a particular domain.
    await context.clearCookies({ domain: 'my-origin.com' });
    ```

- New mode `retain-on-first-failure` for
[testOptions.trace](https://playwright.dev/docs/api/class-testoptions#test-options-trace).
In this mode, trace is recorded for the first run of each test, but not
for retires. When test run fails, the trace file is retained, otherwise
it is removed.

    ```js title=playwright.config.ts
    import { defineConfig } from '@&#8203;playwright/test';

    export default defineConfig({
      use: {
        trace: 'retain-on-first-failure',
      },
    });
    ```

- New property
[testInfo.tags](https://playwright.dev/docs/api/class-testinfo#test-info-tags)
exposes test tags during test execution.

    ```js
    test('example', async ({ page }) => {
      console.log(test.info().tags);
    });
    ```

- New method
[locator.contentFrame()](https://playwright.dev/docs/api/class-locator#locator-content-frame)
converts a `Locator` object to a `FrameLocator`. This can be useful when
you have a `Locator` object obtained somewhere, and later on would like
to interact with the content inside the frame.

    ```js
    const locator = page.locator('iframe[name="embedded"]');
    // ...
    const frameLocator = locator.contentFrame();
    await frameLocator.getByRole('button').click();
    ```

- New method
[frameLocator.owner()](https://playwright.dev/docs/api/class-framelocator#frame-locator-owner)
converts a `FrameLocator` object to a `Locator`. This can be useful when
you have a `FrameLocator` object obtained somewhere, and later on would
like to interact with the `iframe` element.

    ```js
    const frameLocator = page.frameLocator('iframe[name="embedded"]');
    // ...
    const locator = frameLocator.owner();
    await expect(locator).toBeVisible();
    ```

#### UI Mode Updates

![Playwright UI
Mode](https://togithub.com/microsoft/playwright/assets/9881434/61ca7cfc-eb7a-4305-8b62-b6c9f098f300)

-   See tags in the test list.
-   Filter by tags by typing `@fast` or clicking on the tag itself.
-   New shortcuts:
    -   <kbd>F5</kbd> to run tests.
    -   <kbd>Shift</kbd> <kbd>F5</kbd> to stop running tests.
    -   <kbd>Ctrl</kbd> <kbd>\`</kbd> to toggle test output.

#### Browser Versions

-   Chromium 124.0.6367.29
-   Mozilla Firefox 124.0
-   WebKit 17.4

This version was also tested against the following stable channels:

-   Google Chrome 123
-   Microsoft Edge 123

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm every weekday,before 5am
every weekday,every weekend" in timezone Europe/Paris, 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 these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/AmadeusITGroup/otter).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
  • Loading branch information
fpaul-1A authored Apr 5, 2024
2 parents 8e1ee17 + 3bb0563 commit d0a9201
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion apps/showcase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"@o3r/eslint-plugin": "workspace:^",
"@o3r/schematics": "workspace:^",
"@o3r/testing": "workspace:^",
"@playwright/test": "~1.42.0",
"@playwright/test": "~1.43.0",
"@schematics/angular": "~17.3.0",
"@stylistic/eslint-plugin-ts": "^1.5.4",
"@types/bootstrap": "^5.2.10",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
"@o3r/eslint-plugin": "workspace:^",
"@o3r/telemetry": "workspace:^",
"@o3r/workspace": "workspace:^",
"@playwright/test": "~1.42.0",
"@playwright/test": "~1.43.0",
"@popperjs/core": "^2.11.5",
"@schematics/angular": "~17.3.0",
"@stylistic/eslint-plugin-ts": "^1.5.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/@o3r/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"@o3r/core": "workspace:^",
"@o3r/localization": "workspace:^",
"@o3r/schematics": "workspace:^",
"@playwright/test": "~1.42.0",
"@playwright/test": "~1.43.0",
"@schematics/angular": "~17.3.0",
"pixelmatch": "^5.2.1",
"pngjs": "^7.0.0",
Expand Down Expand Up @@ -185,7 +185,7 @@
"@o3r/localization": "workspace:^",
"@o3r/schematics": "workspace:^",
"@o3r/test-helpers": "workspace:^",
"@playwright/test": "~1.42.0",
"@playwright/test": "~1.43.0",
"@schematics/angular": "~17.3.0",
"@stylistic/eslint-plugin-ts": "^1.5.4",
"@types/jest": "~29.5.2",
Expand Down
36 changes: 18 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7746,7 +7746,7 @@ __metadata:
"@o3r/eslint-plugin": "workspace:^"
"@o3r/telemetry": "workspace:^"
"@o3r/workspace": "workspace:^"
"@playwright/test": "npm:~1.42.0"
"@playwright/test": "npm:~1.43.0"
"@popperjs/core": "npm:^2.11.5"
"@schematics/angular": "npm:~17.3.0"
"@stylistic/eslint-plugin-ts": "npm:^1.5.4"
Expand Down Expand Up @@ -8505,7 +8505,7 @@ __metadata:
"@o3r/schematics": "workspace:^"
"@o3r/styling": "workspace:^"
"@o3r/testing": "workspace:^"
"@playwright/test": "npm:~1.42.0"
"@playwright/test": "npm:~1.43.0"
"@popperjs/core": "npm:^2.11.5"
"@schematics/angular": "npm:~17.3.0"
"@stylistic/eslint-plugin-ts": "npm:^1.5.4"
Expand Down Expand Up @@ -9009,7 +9009,7 @@ __metadata:
"@o3r/localization": "workspace:^"
"@o3r/schematics": "workspace:^"
"@o3r/test-helpers": "workspace:^"
"@playwright/test": "npm:~1.42.0"
"@playwright/test": "npm:~1.43.0"
"@schematics/angular": "npm:~17.3.0"
"@stylistic/eslint-plugin-ts": "npm:^1.5.4"
"@types/jest": "npm:~29.5.2"
Expand Down Expand Up @@ -9061,7 +9061,7 @@ __metadata:
"@o3r/core": "workspace:^"
"@o3r/localization": "workspace:^"
"@o3r/schematics": "workspace:^"
"@playwright/test": ~1.42.0
"@playwright/test": ~1.43.0
"@schematics/angular": ~17.3.0
pixelmatch: ^5.2.1
pngjs: ^7.0.0
Expand Down Expand Up @@ -9549,14 +9549,14 @@ __metadata:
languageName: node
linkType: hard

"@playwright/test@npm:~1.42.0":
version: 1.42.1
resolution: "@playwright/test@npm:1.42.1"
"@playwright/test@npm:~1.43.0":
version: 1.43.0
resolution: "@playwright/test@npm:1.43.0"
dependencies:
playwright: "npm:1.42.1"
playwright: "npm:1.43.0"
bin:
playwright: cli.js
checksum: 10/5bd7f1c77963cacc6f44cf4c1ef46f9ad41e79a3e6f34eb81398afaa09b1b08a4cbe0f7064f03c71c094414d1c4507d6183b61c63aa4b6a93846d386f7c651a2
checksum: 10/a30b5a9f51ae35c16a6c56d239a1e3abfbc5b8d84abf709914b9f3b02fa3afd5590cb7e01e479adafcb8282a8325c8b8afa4d70ca992502053490889f3dc714b
languageName: node
linkType: hard

Expand Down Expand Up @@ -25396,12 +25396,12 @@ __metadata:
languageName: node
linkType: hard

"playwright-core@npm:1.42.1":
version: 1.42.1
resolution: "playwright-core@npm:1.42.1"
"playwright-core@npm:1.43.0":
version: 1.43.0
resolution: "playwright-core@npm:1.43.0"
bin:
playwright-core: cli.js
checksum: 10/6a71d2e2aa5b054d6e83836f09e139a0ff4de3aa9b6aebe0e03de3ab828c735d23a20a60fafcee91c1658da490cc390f05af463325ac842beaff58a173f7ad9e
checksum: 10/f34c8c5b94c7ddd59b462b8f5dd0f9a8204ed14f470a151d46384c6854c78f5624d80a80a7873a335e2b0c15d54d0d92da2f97422ee708bf5e5693b81bb33a09
languageName: node
linkType: hard

Expand All @@ -25415,18 +25415,18 @@ __metadata:
languageName: node
linkType: hard

"playwright@npm:1.42.1":
version: 1.42.1
resolution: "playwright@npm:1.42.1"
"playwright@npm:1.43.0":
version: 1.43.0
resolution: "playwright@npm:1.43.0"
dependencies:
fsevents: "npm:2.3.2"
playwright-core: "npm:1.42.1"
playwright-core: "npm:1.43.0"
dependenciesMeta:
fsevents:
optional: true
bin:
playwright: cli.js
checksum: 10/1f866a6820e19feaaeb12cd87bfa93299d6d72e1287413098c5ae0349c7e7953eb0a303bdfbb99c12173a3493e6fdb642f89a166cfcfd8295254a520abf6eb7f
checksum: 10/481b0d13bc990b8118a02396f03577748a3d64c2ca7635a238688ffbe399e3d6c92e05bdd074ad095f5d2d56e6648b213b5debe84815820a55b13c9a6fdf2108
languageName: node
linkType: hard

Expand Down

0 comments on commit d0a9201

Please sign in to comment.