Skip to content

Commit

Permalink
Merge pull request #594 from SergioCasCeb/fix-playwright-tests-sergio
Browse files Browse the repository at this point in the history
Updated the Eclipse links for the Playwright tests
  • Loading branch information
egekorkan committed Sep 6, 2024
2 parents 8b539d8 + 2f7af45 commit 5f1d63d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/web/tests/test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ test.describe("Check all links", () => {
await page.locator("#privacy-link").click()
const privacyPage = await privacyPromise
await expect(privacyPage).toHaveTitle("Eclipse Foundation Website Privacy Policy | The Eclipse Foundation")
await expect(privacyPage).toHaveURL("https://www.eclipse.org/legal/privacy.php")
await expect(privacyPage).toHaveURL("https://www.eclipse.org/legal/privacy/")
})

test("Check terms of use footer link", async ({ page }) => {
Expand All @@ -151,7 +151,7 @@ test.describe("Check all links", () => {
await page.locator("#terms-link").click()
const termsPage = await termsPromise
await expect(termsPage).toHaveTitle("Eclipse.org Terms of Use | The Eclipse Foundation")
await expect(termsPage).toHaveURL("https://www.eclipse.org/legal/termsofuse.php")
await expect(termsPage).toHaveURL("https://www.eclipse.org/legal/terms-of-use/")
})

test("Check copyright agent footer link", async ({ page }) => {
Expand All @@ -160,7 +160,7 @@ test.describe("Check all links", () => {
await page.locator("#copyright-link").click()
const copyrightPage = await copyrightPromise
await expect(copyrightPage).toHaveTitle("Copyright Agent | The Eclipse Foundation")
await expect(copyrightPage).toHaveURL("https://www.eclipse.org/legal/copyright.php")
await expect(copyrightPage).toHaveURL("https://www.eclipse.org/legal/copyright/")
})

test("Check legal footer link", async ({ page }) => {
Expand Down

0 comments on commit 5f1d63d

Please sign in to comment.