Skip to content

Commit

Permalink
Mark all style tests as slow
Browse files Browse the repository at this point in the history
  • Loading branch information
janechu committed Dec 4, 2024
1 parent 9f29fd0 commit c9a2a7e
Showing 1 changed file with 3 additions and 0 deletions.
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 Down Expand Up @@ -53,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 c9a2a7e

Please sign in to comment.