Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
janechu authored Dec 4, 2024
2 parents b0822b9 + a3c98e1 commit 1722b7c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Attempt to address flaky test by increasing timeout",
"packageName": "@microsoft/fast-ssr",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -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");
Expand All @@ -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");
Expand All @@ -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");
Expand All @@ -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");
Expand Down

0 comments on commit 1722b7c

Please sign in to comment.