diff --git a/change/@microsoft-fast-ssr-c6f5d944-52ae-4d8e-83bd-15737e17288b.json b/change/@microsoft-fast-ssr-c6f5d944-52ae-4d8e-83bd-15737e17288b.json new file mode 100644 index 00000000000..50f94ed5d52 --- /dev/null +++ b/change/@microsoft-fast-ssr-c6f5d944-52ae-4d8e-83bd-15737e17288b.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "Attempt to address flaky test by increasing timeout", + "packageName": "@microsoft/fast-ssr", + "email": "7559015+janechu@users.noreply.github.com", + "dependentChangeType": "none" +} diff --git a/packages/web-components/fast-ssr/src/styles/fast-style.spec.ts b/packages/web-components/fast-ssr/src/styles/fast-style.spec.ts index bea73d32140..01db31c6630 100644 --- a/packages/web-components/fast-ssr/src/styles/fast-style.spec.ts +++ b/packages/web-components/fast-ssr/src/styles/fast-style.spec.ts @@ -1,6 +1,7 @@ import { expect, test } from "@playwright/test"; test("Check that the first element has styles assigned", async ({ page }) => { + test.slow(); await page.goto("/fast-style"); const cards = page.locator("fast-card"); @@ -17,6 +18,7 @@ test("Check that the first element has styles assigned", async ({ page }) => { test("Check that the nested element in the first element has styles assigned", async ({ page, }) => { + test.slow(); await page.goto("/fast-style"); const cards = page.locator("fast-card"); @@ -34,6 +36,7 @@ test("Check that the nested element in the first element has styles assigned", a expect(styles[0]).toEqual("rgb(43, 43, 43)"); }); test("Check that all elements have styles assigned", async ({ page }) => { + test.slow(); await page.goto("/fast-style"); const cards = page.locator("fast-card"); @@ -52,6 +55,7 @@ test("Check that all elements have styles assigned", async ({ page }) => { }); }); test("Check that all nested elements have styles assigned", async ({ page }) => { + test.slow(); await page.goto("/fast-style"); const cards = page.locator("fast-card");