From b4203a4255921949c9acfd4c82f5a7156446c70b Mon Sep 17 00:00:00 2001 From: Ege Korkan Date: Wed, 13 Nov 2024 10:45:36 +0100 Subject: [PATCH] test: correct thingweb urls to redirected ones --- packages/web/tests/test.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/web/tests/test.spec.js b/packages/web/tests/test.spec.js index cab3730e..1d3de9e3 100644 --- a/packages/web/tests/test.spec.js +++ b/packages/web/tests/test.spec.js @@ -100,7 +100,7 @@ test.describe("Check all links", () => { await page.locator(".logo").click() const thingwebPage = await thingwebPromise await expect(thingwebPage).toHaveTitle("Eclipse Thingweb") - await expect(thingwebPage).toHaveURL("https://www.thingweb.io") + await expect(thingwebPage).toHaveURL("https://www.thingweb.io/") }) test("Check CLI link", async ({ page }) => { @@ -124,7 +124,7 @@ test.describe("Check all links", () => { await page.locator("#thingweb-link").click() const thingwebPage = await thingwebPromise await expect(thingwebPage).toHaveTitle("Eclipse Thingweb") - await expect(thingwebPage).toHaveURL("https://www.thingweb.io") + await expect(thingwebPage).toHaveURL("https://www.thingweb.io/") }) test("Check Eclipse footer link", async ({ page }) => { @@ -2024,4 +2024,4 @@ test.describe("Visualization view functionality", () => { const expectedFilename = 'Tree-visualization.png' expect(download.suggestedFilename()).toBe(expectedFilename) }) -}) \ No newline at end of file +})