@@ -398,7 +398,7 @@ export function createIntegrationTestsSuite(
398398 limit : 5 ,
399399 } ,
400400 } ) ;
401- const content = result . content as { text : string } [ ] ;
401+ const content = result . content as { text : string } [ ] ;
402402 expect ( content . some ( ( item ) => item . text . includes ( ACTOR_PYTHON_EXAMPLE ) ) ) . toBe ( true ) ;
403403 } ) ;
404404
@@ -415,7 +415,7 @@ export function createIntegrationTestsSuite(
415415 limit : 100 ,
416416 } ,
417417 } ) ;
418- const content = result . content as { text : string } [ ] ;
418+ const content = result . content as { text : string } [ ] ;
419419 expect ( content . length ) . toBe ( 1 ) ;
420420 const outputText = content [ 0 ] . text ;
421421
@@ -941,18 +941,8 @@ export function createIntegrationTestsSuite(
941941 await client . close ( ) ;
942942 } ) ;
943943
944- // Skipping tests, MCP actors are not available in staging environment
945- // TODO: run this tests only for local environment
946- it . skip . for ( [
947- 'mcp-servers/slidespeak-mcp-server' ,
948- 'mcp-servers/brave-search-mcp-server' ,
949- 'jiri.spilka/weather-mcp-server' ,
950- 'apify/actors-mcp-server' ,
951- 'jakub.kopecky/browserbase-mcp-server' ,
952- 'jakub.kopecky/arxiv-mcp-server' ,
953- 'jiri.spilka/playwright-mcp-server' ,
954- ] ) ( 'should connect to "%s" MCP server and at least one tool is available' , async ( mcpServer ) => {
955- client = await createClientFn ( { tools : [ mcpServer ] } ) ;
944+ it ( 'should connect to MCP server and at least one tool is available' , async ( ) => {
945+ client = await createClientFn ( { tools : [ ACTOR_MCP_SERVER_ACTOR_NAME ] } ) ;
956946 const tools = await client . listTools ( ) ;
957947 expect ( tools . tools . length ) . toBeGreaterThan ( 0 ) ;
958948 } ) ;
0 commit comments