Skip to content

Commit c84f304

Browse files
Merge pull request #445 from preactjs/v11-skip-signal-tests
2 parents c5a43a0 + ea1360d commit c84f304

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

test-e2e/tests/filter-text-signal.test.ts

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import { expect, test } from "@playwright/test";
22
import { gotoTest } from "../pw-utils";
33

44
test("Text Signal filter should filter Text Signal nodes", async ({ page }) => {
5+
test.skip(
6+
process.env.PREACT_VERSION !== "10",
7+
"Signals are not supported in v11 yet.",
8+
);
59
const { devtools } = await gotoTest(page, "signals-text");
610

711
await devtools

test-e2e/tests/inspect-signal.test.ts

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import { test, expect } from "@playwright/test";
22
import { gotoTest, locateTreeItem } from "../pw-utils";
33

44
test("Show signal in props and update value", async ({ page }) => {
5+
test.skip(
6+
process.env.PREACT_VERSION !== "10",
7+
"Signals are not supported in v11 yet.",
8+
);
59
const { devtools } = await gotoTest(page, "signals");
610

711
await devtools.locator(locateTreeItem("Display")).first().click();
@@ -74,6 +78,10 @@ test("Show signals in hooks", async ({ page }) => {
7478
});
7579

7680
test("Dectect signal subscriptions", async ({ page }) => {
81+
test.skip(
82+
process.env.PREACT_VERSION !== "10",
83+
"Signals are not supported in v11 yet.",
84+
);
7785
const { devtools } = await gotoTest(page, "signals-subscribe");
7886

7987
await devtools.click(locateTreeItem("App"));

0 commit comments

Comments
 (0)