From 38560cf13ace406c21b9584f63a95a71df28ca49 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 23:59:56 +0000 Subject: [PATCH] Chore(deps-dev): Bump @playwright/test from 1.42.1 to 1.45.3 in /src-ui (#7367) * Chore(deps-dev): Bump @playwright/test from 1.42.1 to 1.45.3 in /src-ui Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.42.1 to 1.45.3. - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.42.1...v1.45.3) --- updated-dependencies: - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Fix failing test --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> --- .../e2e/document-list/document-list.spec.ts | 9 ++---- src-ui/package-lock.json | 30 +++++++++---------- src-ui/package.json | 2 +- 3 files changed, 18 insertions(+), 23 deletions(-) diff --git a/src-ui/e2e/document-list/document-list.spec.ts b/src-ui/e2e/document-list/document-list.spec.ts index 5dea9985e..7cacdfcd0 100644 --- a/src-ui/e2e/document-list/document-list.spec.ts +++ b/src-ui/e2e/document-list/document-list.spec.ts @@ -84,13 +84,8 @@ test('date filtering', async ({ page }) => { await page.getByRole('button', { name: 'Dates' }).click() await page.getByRole('menuitem', { name: 'Last 3 months' }).first().click() await expect(page.locator('pngx-document-list')).toHaveText(/one document/i) - await page.getByRole('button', { name: 'Dates Clear selected' }).click() - await page.getByRole('button', { name: 'Dates' }).click() - await page - .getByRole('menuitem', { name: 'After mm/dd/yyyy' }) - .getByRole('button') - .first() - .click() + await page.getByRole('menuitem', { name: 'Last 3 months' }).first().click() + await page.getByLabel('Datesselected').getByRole('button').first().click() await page.getByRole('combobox', { name: 'Select month' }).selectOption('12') await page.getByRole('combobox', { name: 'Select year' }).selectOption('2022') await page.getByText('11', { exact: true }).click() diff --git a/src-ui/package-lock.json b/src-ui/package-lock.json index 4b2d02eb4..5250b4c3a 100644 --- a/src-ui/package-lock.json +++ b/src-ui/package-lock.json @@ -48,7 +48,7 @@ "@angular-eslint/template-parser": "18.2.0", "@angular/cli": "~18.1.3", "@angular/compiler-cli": "~18.1.3", - "@playwright/test": "^1.42.1", + "@playwright/test": "^1.45.3", "@types/jest": "^29.5.12", "@types/node": "^22.0.2", "@typescript-eslint/eslint-plugin": "^8.0.0", @@ -5651,18 +5651,18 @@ } }, "node_modules/@playwright/test": { - "version": "1.42.1", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.42.1.tgz", - "integrity": "sha512-Gq9rmS54mjBL/7/MvBaNOBwbfnh7beHvS6oS4srqXFcQHpQCV1+c8JXWE8VLPyRDhgS3H8x8A7hztqI9VnwrAQ==", + "version": "1.45.3", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.45.3.tgz", + "integrity": "sha512-UKF4XsBfy+u3MFWEH44hva1Q8Da28G6RFtR2+5saw+jgAFQV5yYnB1fu68Mz7fO+5GJF3wgwAIs0UelU8TxFrA==", "dev": true, "dependencies": { - "playwright": "1.42.1" + "playwright": "1.45.3" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/@popperjs/core": { @@ -16346,33 +16346,33 @@ } }, "node_modules/playwright": { - "version": "1.42.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.42.1.tgz", - "integrity": "sha512-PgwB03s2DZBcNRoW+1w9E+VkLBxweib6KTXM0M3tkiT4jVxKSi6PmVJ591J+0u10LUrgxB7dLRbiJqO5s2QPMg==", + "version": "1.45.3", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.45.3.tgz", + "integrity": "sha512-QhVaS+lpluxCaioejDZ95l4Y4jSFCsBvl2UZkpeXlzxmqS+aABr5c82YmfMHrL6x27nvrvykJAFpkzT2eWdJww==", "dev": true, "dependencies": { - "playwright-core": "1.42.1" + "playwright-core": "1.45.3" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" }, "optionalDependencies": { "fsevents": "2.3.2" } }, "node_modules/playwright-core": { - "version": "1.42.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.42.1.tgz", - "integrity": "sha512-mxz6zclokgrke9p1vtdy/COWBH+eOZgYUVVU34C73M+4j4HLlQJHtfcqiqqxpP0o8HhMkflvfbquLX5dg6wlfA==", + "version": "1.45.3", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.45.3.tgz", + "integrity": "sha512-+ym0jNbcjikaOwwSZycFbwkWgfruWvYlJfThKYAlImbxUgdWFO2oW70ojPm4OpE4t6TAo2FY/smM+hpVTtkhDA==", "dev": true, "bin": { "playwright-core": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/playwright/node_modules/fsevents": { diff --git a/src-ui/package.json b/src-ui/package.json index 309b5a755..576b9b69a 100644 --- a/src-ui/package.json +++ b/src-ui/package.json @@ -50,7 +50,7 @@ "@angular-eslint/template-parser": "18.2.0", "@angular/cli": "~18.1.3", "@angular/compiler-cli": "~18.1.3", - "@playwright/test": "^1.42.1", + "@playwright/test": "^1.45.3", "@types/jest": "^29.5.12", "@types/node": "^22.0.2", "@typescript-eslint/eslint-plugin": "^8.0.0",