@@ -155,20 +155,20 @@ test.describe("Client Data", () => {
155
155
156
156
test . describe ( `template: ${ templateName } ` , ( ) => {
157
157
[ true , false ] . forEach ( ( splitRouteModules ) => {
158
- test . skip (
159
- templateName === "rsc-parcel-framework" && splitRouteModules ,
160
- "RSC Data Mode doesn't support splitRouteModules" ,
161
- ) ;
162
-
163
- test . skip (
164
- ( { browserName } ) =>
165
- Boolean ( process . env . CI ) &&
166
- splitRouteModules &&
167
- ( browserName === "webkit" || process . platform === "win32" ) ,
168
- "Webkit/Windows tests only run on a single worker in CI and splitRouteModules is not OS/browser-specific" ,
169
- ) ;
170
-
171
158
test . describe ( `splitRouteModules: ${ splitRouteModules } ` , ( ) => {
159
+ test . skip (
160
+ templateName . includes ( "rsc" ) && splitRouteModules ,
161
+ "RSC Framework Mode doesn't support splitRouteModules" ,
162
+ ) ;
163
+
164
+ test . skip (
165
+ ( { browserName } ) =>
166
+ Boolean ( process . env . CI ) &&
167
+ splitRouteModules &&
168
+ ( browserName === "webkit" || process . platform === "win32" ) ,
169
+ "Webkit/Windows tests only run on a single worker in CI and splitRouteModules is not OS/browser-specific" ,
170
+ ) ;
171
+
172
172
test . describe ( "clientLoader - critical route module" , ( ) => {
173
173
test ( "no client loaders or fallbacks" , async ( { page } ) => {
174
174
appFixture = await createAppFixture (
@@ -546,8 +546,8 @@ test.describe("Client Data", () => {
546
546
page,
547
547
} ) => {
548
548
test . skip (
549
- templateName === "rsc-parcel-framework" ,
550
- "RSC Data Mode doesn't need to provide a default root HydrateFallback since it doesn't need to ensure <Scripts /> is rendered, and you already get a console warning" ,
549
+ templateName . includes ( "rsc" ) ,
550
+ "RSC Framework Mode doesn't need to provide a default root HydrateFallback since it doesn't need to ensure <Scripts /> is rendered, and you already get a console warning" ,
551
551
) ;
552
552
553
553
appFixture = await createAppFixture (
@@ -927,14 +927,9 @@ test.describe("Client Data", () => {
927
927
// Ignore any dev tools messages. This may only happen locally when dev
928
928
// tools is installed and not in CI but either way we don't care
929
929
/ D o w n l o a d t h e R e a c t D e v T o o l s / . test ( text ) ||
930
- ( templateName === "rsc-parcel-framework" &&
930
+ ( templateName . includes ( "rsc" ) &&
931
931
/ T h e < S c r i p t s \/ > e l e m e n t i s a n o - o p w h e n u s i n g R S C a n d c a n b e s a f e l y r e m o v e d ./ . test (
932
932
text ,
933
- ) ) ||
934
- // TODO: Render outlet on RSC render error?
935
- ( templateName === "rsc-parcel-framework" &&
936
- / M a t c h e d l e a f r o u t e a t l o c a t i o n " \/ p a r e n t \/ c h i l d " d o e s n o t h a v e a n e l e m e n t / . test (
937
- text ,
938
933
) )
939
934
) {
940
935
return ;
@@ -963,6 +958,11 @@ test.describe("Client Data", () => {
963
958
test ( "hydrating clientLoader redirects trigger new .data requests to the server" , async ( {
964
959
page,
965
960
} ) => {
961
+ test . fixme (
962
+ templateName . includes ( "rsc" ) ,
963
+ "Not working in the RSC implementation" ,
964
+ ) ;
965
+
966
966
appFixture = await createAppFixture (
967
967
await createFixture ( {
968
968
templateName,
@@ -1185,8 +1185,8 @@ test.describe("Client Data", () => {
1185
1185
browserName,
1186
1186
} ) => {
1187
1187
test . skip (
1188
- templateName === "rsc-parcel-framework" ,
1189
- "This test is specific to non-RSC Data Mode" ,
1188
+ templateName . includes ( "rsc" ) ,
1189
+ "This test is specific to non-RSC Framework Mode" ,
1190
1190
) ;
1191
1191
1192
1192
appFixture = await createAppFixture (
0 commit comments