@@ -738,7 +738,7 @@ describe("ToolsTab", () => {
738738 selectedTool : toolWithMeta ,
739739 } ) ;
740740
741- expect ( screen . getByText ( "Meta Schema :" ) ) . toBeInTheDocument ( ) ;
741+ expect ( screen . getByText ( "Meta:" ) ) . toBeInTheDocument ( ) ;
742742 expect (
743743 screen . getByRole ( "button" , { name : / e x p a n d / i } ) ,
744744 ) . toBeInTheDocument ( ) ;
@@ -750,8 +750,8 @@ describe("ToolsTab", () => {
750750 selectedTool : toolWithMeta ,
751751 } ) ;
752752
753- // There might be multiple Expand buttons (Output Schema, Meta Schema ). We need the one within Meta Schema section
754- const metaHeading = screen . getByText ( "Meta Schema :" ) ;
753+ // There might be multiple Expand buttons (Output Schema, Meta). We need the one within Meta section
754+ const metaHeading = screen . getByText ( "Meta:" ) ;
755755 const metaContainer = metaHeading . closest ( "div" ) ;
756756 expect ( metaContainer ) . toBeTruthy ( ) ;
757757 const toggleButton = within ( metaContainer as HTMLElement ) . getByRole (
@@ -815,7 +815,7 @@ describe("ToolsTab", () => {
815815 } ) ;
816816 } ) ;
817817
818- describe ( "ToolResults Meta Schema " , ( ) => {
818+ describe ( "ToolResults Meta" , ( ) => {
819819 it ( "should display meta information when present in toolResult" , ( ) => {
820820 const resultWithMeta = {
821821 content : [ ] ,
@@ -828,7 +828,7 @@ describe("ToolsTab", () => {
828828 } ) ;
829829
830830 // Only ToolResults meta should be present since selectedTool has no _meta
831- expect ( screen . getAllByText ( "Meta Schema :" ) ) . toHaveLength ( 1 ) ;
831+ expect ( screen . getAllByText ( "Meta:" ) ) . toHaveLength ( 1 ) ;
832832 expect ( screen . getByText ( / i n f o / i) ) . toBeInTheDocument ( ) ;
833833 expect ( screen . getByText ( / v e r s i o n / i) ) . toBeInTheDocument ( ) ;
834834 } ) ;
0 commit comments