From 9d54774efb697a30a2bd34ce31c0788e7a535fbb Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Tue, 2 Jul 2024 13:34:18 +0200 Subject: [PATCH] fix test case --- test/e2e/app-dir/css-order/app/base.css | 3 ++- test/e2e/app-dir/css-order/app/global-first/page.tsx | 2 +- test/e2e/app-dir/css-order/app/global-first/style.css | 3 ++- test/e2e/app-dir/css-order/app/global-second/page.tsx | 2 +- test/e2e/app-dir/css-order/app/global-second/style.css | 3 ++- test/e2e/app-dir/css-order/css-order.test.ts | 4 ++-- 6 files changed, 10 insertions(+), 7 deletions(-) diff --git a/test/e2e/app-dir/css-order/app/base.css b/test/e2e/app-dir/css-order/app/base.css index 9f9c537f1e7c4..af0ff0ad5314a 100644 --- a/test/e2e/app-dir/css-order/app/base.css +++ b/test/e2e/app-dir/css-order/app/base.css @@ -1,3 +1,4 @@ -#hello { +#hello1, +#hello2 { color: rgb(255, 0, 0); } diff --git a/test/e2e/app-dir/css-order/app/global-first/page.tsx b/test/e2e/app-dir/css-order/app/global-first/page.tsx index ed85d26cc98d6..400b6d2143b1b 100644 --- a/test/e2e/app-dir/css-order/app/global-first/page.tsx +++ b/test/e2e/app-dir/css-order/app/global-first/page.tsx @@ -5,7 +5,7 @@ import Nav from '../nav' export default function Page() { return (
-

hello world

+

hello world

) diff --git a/test/e2e/app-dir/css-order/app/global-first/style.css b/test/e2e/app-dir/css-order/app/global-first/style.css index e63db2797a021..fc1883550ea55 100644 --- a/test/e2e/app-dir/css-order/app/global-first/style.css +++ b/test/e2e/app-dir/css-order/app/global-first/style.css @@ -1,3 +1,4 @@ -#hello { +#hello1, +#hello2 { color: rgb(0, 255, 0); } diff --git a/test/e2e/app-dir/css-order/app/global-second/page.tsx b/test/e2e/app-dir/css-order/app/global-second/page.tsx index ed85d26cc98d6..5c7acc28a9c47 100644 --- a/test/e2e/app-dir/css-order/app/global-second/page.tsx +++ b/test/e2e/app-dir/css-order/app/global-second/page.tsx @@ -5,7 +5,7 @@ import Nav from '../nav' export default function Page() { return (
-

hello world

+

hello world

) diff --git a/test/e2e/app-dir/css-order/app/global-second/style.css b/test/e2e/app-dir/css-order/app/global-second/style.css index 7b3ae5841e74e..82401e75bdbc1 100644 --- a/test/e2e/app-dir/css-order/app/global-second/style.css +++ b/test/e2e/app-dir/css-order/app/global-second/style.css @@ -1,3 +1,4 @@ -#hello { +#hello1, +#hello2 { color: rgb(0, 0, 255); } diff --git a/test/e2e/app-dir/css-order/css-order.test.ts b/test/e2e/app-dir/css-order/css-order.test.ts index 4ebce34fa1406..f3c637e5c87ad 100644 --- a/test/e2e/app-dir/css-order/css-order.test.ts +++ b/test/e2e/app-dir/css-order/css-order.test.ts @@ -187,14 +187,14 @@ const PAGES: Record< group: 'global', conflict: true, url: '/global-first', - selector: '#hello', + selector: '#hello1', color: 'rgb(0, 255, 0)', }, 'global-second': { group: 'global', conflict: true, url: '/global-second', - selector: '#hello', + selector: '#hello2', color: 'rgb(0, 0, 255)', }, }