@@ -117,4 +117,56 @@ describe('Page Smoke Tests', () => {
117117 expect ( searchInput ) . toBeInTheDocument ( )
118118 } )
119119 } )
120+
121+ describe ( 'Creator Studio Page (/creator-studio)' , ( ) => {
122+ it ( 'renders without crashing' , async ( ) => {
123+ const CreatorStudioPage = ( await import ( '@/pages/creator-studio/index' ) ) . default
124+ const { container } = renderWithProviders ( < CreatorStudioPage /> )
125+ expect ( container ) . toBeTruthy ( )
126+ } )
127+
128+ it ( 'renders the Creator Studio title' , async ( ) => {
129+ const CreatorStudioPage = ( await import ( '@/pages/creator-studio/index' ) ) . default
130+ renderWithProviders ( < CreatorStudioPage /> )
131+ expect ( screen . getByText ( 'Creator Studio' ) ) . toBeInTheDocument ( )
132+ } )
133+ } )
134+
135+ describe ( 'Analysis History Page (/analysis-history)' , ( ) => {
136+ it ( 'renders without crashing' , async ( ) => {
137+ const AnalysisHistoryPage = ( await import ( '@/pages/analysis-history/index' ) ) . default
138+ const { container } = renderWithProviders ( < AnalysisHistoryPage /> )
139+ expect ( container ) . toBeTruthy ( )
140+ } )
141+
142+ it ( 'renders the Analysis History title' , async ( ) => {
143+ const AnalysisHistoryPage = ( await import ( '@/pages/analysis-history/index' ) ) . default
144+ renderWithProviders ( < AnalysisHistoryPage /> )
145+ expect ( screen . getByText ( 'Analysis History' ) ) . toBeInTheDocument ( )
146+ } )
147+ } )
148+
149+ describe ( 'System Status Page (/system-status)' , ( ) => {
150+ beforeEach ( ( ) => {
151+ global . fetch = jest . fn ( ( ) =>
152+ Promise . resolve ( { ok : true } as Response )
153+ )
154+ } )
155+
156+ afterEach ( ( ) => {
157+ jest . restoreAllMocks ( )
158+ } )
159+
160+ it ( 'renders without crashing' , async ( ) => {
161+ const SystemStatusPage = ( await import ( '@/pages/system-status/index' ) ) . default
162+ const { container } = renderWithProviders ( < SystemStatusPage /> )
163+ expect ( container ) . toBeTruthy ( )
164+ } )
165+
166+ it ( 'renders the System Status title' , async ( ) => {
167+ const SystemStatusPage = ( await import ( '@/pages/system-status/index' ) ) . default
168+ renderWithProviders ( < SystemStatusPage /> )
169+ expect ( screen . getByText ( 'System Status' ) ) . toBeInTheDocument ( )
170+ } )
171+ } )
120172} )
0 commit comments