@@ -101,45 +101,6 @@ describe('Disclosure Renderers - Display Issue Detection', () => {
101101 * Comprehensive tests for complex renderer components
102102 */
103103describe ( 'Complex Renderers - Display Issue Detection' , ( ) => {
104- describe ( 'Timeline Renderer' , ( ) => {
105- it ( 'should be properly registered' , ( ) => {
106- const validation = validateComponentRegistration ( 'timeline' ) ;
107- expect ( validation . isRegistered ) . toBe ( true ) ;
108- } ) ;
109-
110- it ( 'should render timeline with events' , ( ) => {
111- const { container } = renderComponent ( {
112- type : 'timeline' ,
113- items : [
114- {
115- title : 'Event 1' ,
116- description : 'Description 1' ,
117- time : '2024-01-01' ,
118- } ,
119- {
120- title : 'Event 2' ,
121- description : 'Description 2' ,
122- time : '2024-01-02' ,
123- } ,
124- ] ,
125- } ) ;
126-
127- expect ( container . textContent ) . toContain ( 'Event 1' ) ;
128- expect ( container . textContent ) . toContain ( 'Event 2' ) ;
129- } ) ;
130-
131- it ( 'should handle empty timeline' , ( ) => {
132- const { container } = renderComponent ( {
133- type : 'timeline' ,
134- items : [ ] ,
135- } ) ;
136-
137- const domCheck = checkDOMStructure ( container ) ;
138- // Empty timeline is acceptable
139- expect ( domCheck ) . toBeDefined ( ) ;
140- } ) ;
141- } ) ;
142-
143104 describe ( 'Data Table Renderer' , ( ) => {
144105 it ( 'should be properly registered' , ( ) => {
145106 const validation = validateComponentRegistration ( 'data-table' ) ;
@@ -188,36 +149,6 @@ describe('Complex Renderers - Display Issue Detection', () => {
188149 } ) ;
189150 } ) ;
190151
191- describe ( 'Chatbot Renderer' , ( ) => {
192- it ( 'should be properly registered' , ( ) => {
193- const validation = validateComponentRegistration ( 'chatbot' ) ;
194- expect ( validation . isRegistered ) . toBe ( true ) ;
195- } ) ;
196-
197- it ( 'should render chatbot interface' , ( ) => {
198- const { container } = renderComponent ( {
199- type : 'chatbot' ,
200- messages : [
201- { role : 'user' , content : 'Hello' } ,
202- { role : 'assistant' , content : 'Hi there!' } ,
203- ] ,
204- } ) ;
205-
206- expect ( container . textContent ) . toContain ( 'Hello' ) ;
207- expect ( container . textContent ) . toContain ( 'Hi there!' ) ;
208- } ) ;
209-
210- it ( 'should handle empty messages' , ( ) => {
211- const { container } = renderComponent ( {
212- type : 'chatbot' ,
213- messages : [ ] ,
214- } ) ;
215-
216- const domCheck = checkDOMStructure ( container ) ;
217- expect ( domCheck ) . toBeDefined ( ) ;
218- } ) ;
219- } ) ;
220-
221152 describe ( 'Carousel Renderer' , ( ) => {
222153 it ( 'should be properly registered' , ( ) => {
223154 const validation = validateComponentRegistration ( 'carousel' ) ;
0 commit comments