diff --git a/assets/template/fixtures/slide-fixtures.js b/assets/template/fixtures/slide-fixtures.js index 5411fb9a..0545fc5e 100644 --- a/assets/template/fixtures/slide-fixtures.js +++ b/assets/template/fixtures/slide-fixtures.js @@ -772,8 +772,7 @@ const slideFixtures = [ }, content: { duration: 5000, - source: - "https://images.unsplash.com/photo-1551373884-8a0750074df7?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=2370&q=80", + source: "https://display.local.itkdev.dk/docs", }, }, { diff --git a/assets/tests/template/template-iframe.spec.js b/assets/tests/template/template-iframe.spec.js index 336cc51b..2d0170e2 100644 --- a/assets/tests/template/template-iframe.spec.js +++ b/assets/tests/template/template-iframe.spec.js @@ -1,7 +1,11 @@ import { test, expect } from "@playwright/test"; -test("IFrame 0", async ({ page }) => { +test("iframe-0: ui tests", async ({ page }) => { await page.goto("/template/iframe-0"); - - // TODO + const iframe = page.locator("iframe"); + await expect(iframe).toBeVisible(); + await expect(iframe).toHaveAttribute( + "src", + "https://display.local.itkdev.dk/docs", + ); });