@@ -16,7 +16,7 @@ const templateFramework: TemplateFramework = process.env.FRAMEWORK
16
16
const dataSource : string = "--example-file" ;
17
17
const templateUI : TemplateUI = "shadcn" ;
18
18
const templatePostInstallAction : TemplatePostInstallAction = "runApp" ;
19
- const appType : AppType = templateFramework === "nextjs " ? "" : "--frontend " ;
19
+ const appType : AppType = templateFramework === "fastapi " ? "--frontend " : "" ;
20
20
const userMessage = "Write a blog post about physical standards for letters" ;
21
21
const templateAgents = [ "financial_report" , "blog" , "form_filling" ] ;
22
22
@@ -61,6 +61,10 @@ for (const agents of templateAgents) {
61
61
} ) ;
62
62
63
63
test ( "Frontend should have a title" , async ( { page } ) => {
64
+ test . skip (
65
+ templatePostInstallAction !== "runApp" ||
66
+ templateFramework === "express" ,
67
+ ) ;
64
68
await page . goto ( `http://localhost:${ port } ` ) ;
65
69
await expect ( page . getByText ( "Built by LlamaIndex" ) ) . toBeVisible ( ) ;
66
70
} ) ;
@@ -69,7 +73,10 @@ for (const agents of templateAgents) {
69
73
page,
70
74
} ) => {
71
75
test . skip (
72
- agents === "financial_report" || agents === "form_filling" ,
76
+ templatePostInstallAction !== "runApp" ||
77
+ agents === "financial_report" ||
78
+ agents === "form_filling" ||
79
+ templateFramework === "express" ,
73
80
"Skip chat tests for financial report and form filling." ,
74
81
) ;
75
82
await page . goto ( `http://localhost:${ port } ` ) ;
0 commit comments