@@ -115,25 +115,25 @@ describe('Console Application Simulation', () => {
115115 } ;
116116
117117 it ( 'Scenario 1: Page Rendering (Help Page)' , async ( ) => {
118- renderApp ( '/page/help_page ' ) ;
118+ renderApp ( '/page/crm_help ' ) ;
119119
120- // Verify content from help_page (part of kitchen sink)
120+ // Verify content from crm_help page
121121 await waitFor ( ( ) => {
122- expect ( screen . getByText ( / A p p l i c a t i o n G u i d e / i) ) . toBeInTheDocument ( ) ;
122+ expect ( screen . getByText ( / C R M H e l p G u i d e / i) ) . toBeInTheDocument ( ) ;
123123 } , { timeout : 10000 } ) ;
124- expect ( screen . getByText ( / W e l c o m e t o t h e O b j e c t S t a c k C o n s o l e / i) ) . toBeInTheDocument ( ) ;
124+ expect ( screen . getByText ( / W e l c o m e t o t h e C R M a p p l i c a t i o n / i) ) . toBeInTheDocument ( ) ;
125125 } ) ;
126126
127- it ( 'Scenario 2: Dashboard Rendering (Sales Dashboard)' , async ( ) => {
128- renderApp ( '/dashboard/sales_dashboard ' ) ;
127+ it ( 'Scenario 2: Dashboard Rendering (CRM Dashboard)' , async ( ) => {
128+ renderApp ( '/dashboard/crm_dashboard ' ) ;
129129
130130 // Verify Dashboard Title
131131 await waitFor ( ( ) => {
132- expect ( screen . getByText ( / S a l e s O v e r v i e w / i) ) . toBeInTheDocument ( ) ;
132+ expect ( screen . getByText ( / C R M O v e r v i e w / i) ) . toBeInTheDocument ( ) ;
133133 } , { timeout : 10000 } ) ;
134134
135- // Verify Widget Rendering (Bar Chart)
136- expect ( screen . getByText ( / S a l e s b y R e g i o n / i) ) . toBeInTheDocument ( ) ;
135+ // Verify Widget Rendering (Area Chart)
136+ expect ( screen . getByText ( / R e v e n u e T r e n d s / i) ) . toBeInTheDocument ( ) ;
137137
138138 // Note: We skip checking for specific chart data (e.g. "North") because
139139 // Recharts in JSDOM (headless) often renders with 0 width/height even with mocks,
@@ -214,25 +214,17 @@ describe('Console Application Simulation', () => {
214214 // but finding by Text works for verifying presence.
215215 } ) ;
216216
217- it ( 'Scenario 5: Report Rendering (Report Page )' , async ( ) => {
218- renderApp ( '/page/report_page ' ) ;
217+ it ( 'Scenario 5: Page Rendering (Task Tracker Help )' , async ( ) => {
218+ renderApp ( '/page/todo_help ' ) ;
219219
220- // Verify Report Title
220+ // Verify Page Title
221221 await waitFor ( ( ) => {
222- expect ( screen . getByText ( / S a l e s P e r f o r m a n c e R e p o r t / i) ) . toBeInTheDocument ( ) ;
222+ expect ( screen . getByText ( / T a s k T r a c k e r G u i d e / i) ) . toBeInTheDocument ( ) ;
223223 } , { timeout : 10000 } ) ;
224224
225- // Verify Description
226- expect ( screen . getByText ( / M o n t h l y b r e a k d o w n o f s a l e s / i) ) . toBeInTheDocument ( ) ;
227-
228- // Verify Data Grid Headers
229- expect ( screen . getByText ( 'Region' ) ) . toBeInTheDocument ( ) ;
230- expect ( screen . getAllByText ( 'Sales' ) . length ) . toBeGreaterThan ( 0 ) ;
231- expect ( screen . getByText ( 'Target' ) ) . toBeInTheDocument ( ) ;
232-
233- // Verify Data Rows
234- expect ( screen . getByText ( 'North' ) ) . toBeInTheDocument ( ) ;
235- expect ( screen . getAllByText ( '5000' ) . length ) . toBeGreaterThan ( 0 ) ;
225+ // Verify structured content sections
226+ expect ( screen . getByText ( / V i e w s / i) ) . toBeInTheDocument ( ) ;
227+ expect ( screen . getByText ( / W o r k f l o w / i) ) . toBeInTheDocument ( ) ;
236228 } ) ;
237229
238230 // -----------------------------------------------------------------------------
@@ -808,24 +800,23 @@ describe('Dashboard Integration', () => {
808800 } ;
809801
810802 it ( 'Scenario A: Dashboard Page Rendering' , async ( ) => {
811- renderApp ( '/dashboard/sales_dashboard ' ) ;
803+ renderApp ( '/dashboard/showcase_dashboard ' ) ;
812804
813805 await waitFor ( ( ) => {
814- expect ( screen . getByText ( / S a l e s O v e r v i e w / i) ) . toBeInTheDocument ( ) ;
806+ expect ( screen . getByText ( / P l a t f o r m S h o w c a s e / i) ) . toBeInTheDocument ( ) ;
815807 } ) ;
816808
817- expect ( screen . getByText ( / S a l e s b y R e g i o n / i) ) . toBeInTheDocument ( ) ;
809+ expect ( screen . getByText ( / R e c o r d s b y C a t e g o r y / i) ) . toBeInTheDocument ( ) ;
818810 } ) ;
819811
820- it ( 'Scenario B: Report Page Rendering' , async ( ) => {
821- renderApp ( '/page/report_page ' ) ;
812+ it ( 'Scenario B: Help Page Rendering' , async ( ) => {
813+ renderApp ( '/page/showcase_help ' ) ;
822814
823815 await waitFor ( ( ) => {
824- expect ( screen . getByText ( / S a l e s P e r f o r m a n c e R e p o r t / i) ) . toBeInTheDocument ( ) ;
816+ expect ( screen . getByText ( / P l a t f o r m S h o w c a s e / i) ) . toBeInTheDocument ( ) ;
825817 } ) ;
826818
827- expect ( screen . getByText ( 'Region' ) ) . toBeInTheDocument ( ) ;
828- expect ( screen . getByText ( 'North' ) ) . toBeInTheDocument ( ) ;
819+ expect ( screen . getByText ( / S u p p o r t e d F i e l d T y p e s / i) ) . toBeInTheDocument ( ) ;
829820 } ) ;
830821
831822 it ( 'Scenario C: Component Registry Check' , async ( ) => {
0 commit comments