Skip to content

Commit

Permalink
chore(deps-dev): bump playwright from 1.32.2 to 1.49.0 (#4660)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump playwright from 1.32.2 to 1.49.0

Bumps [playwright](https://github.com/microsoft/playwright) from 1.32.2 to 1.49.0.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.32.2...v1.49.0)

---
updated-dependencies:
- dependency-name: playwright
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump playwright/test to go along with playwright bump

* fix: uuuuugggghhhh Steve read the numbers

* fix: update regression specs to use content that exists

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steven Hicks <[email protected]>
  • Loading branch information
dependabot[bot] and pepopowitz authored Nov 25, 2024
1 parent 3013a49 commit 8615d0d
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 49 deletions.
77 changes: 38 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@
]
},
"devDependencies": {
"@playwright/test": "^1.32.2",
"@playwright/test": "^1.49.0",
"@swc/core": "^1.3.49",
"@types/jest": "^29.5.4",
"husky": "^8.0.3",
"jest": "^29.6.4",
"lint-staged": "^14.0.1",
"playwright": "^1.32.2",
"playwright": "^1.49.0",
"prettier": "3.3.3",
"replace-in-file": "^7.1.0",
"swc-loader": "^0.2.3"
Expand Down
17 changes: 9 additions & 8 deletions spec/regression/versionMapping.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { test, expect } from "@playwright/test";

test("main docs cross-link to optimize docs", async ({ page }) => {
await page.goto("/docs/components/");
await page.goto("/docs/reference/release-policy/");

await expect(page).toHaveTitle(/Overview Components \| Camunda 8 Docs/);
await expect(page).toHaveTitle(/Release policy \| Camunda 8 Docs/);

// This is a link known to cross over to $optimize$.
await page
Expand All @@ -16,15 +16,16 @@ test("main docs cross-link to optimize docs", async ({ page }) => {
});

test("optimize docs cross-link to main docs", async ({ page }) => {
await page.goto(
"/optimize/apis-tools/optimize-api/optimize-api-authentication/"
);
await page.goto("/optimize/components/what-is-optimize/");

await expect(page).toHaveTitle(/Authentication \| Camunda 8 Docs/);
await expect(page).toHaveTitle(/What is Optimize\? \| Camunda 8 Docs/);

// This is a link known to cross over to $docs$.
await page.getByRole("link", { name: "building your own client" }).click();
await page
.getByRole("article")
.getByRole("link", { name: "Modeler" })
.click();

// The `$docs$` should be transformed to `docs` in the target URL.
await expect(page.url()).toContain("/docs/apis-tools/build-your-own-client/");
await expect(page.url()).toContain("/docs/components/modeler/about-modeler/");
});

0 comments on commit 8615d0d

Please sign in to comment.