File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -101,17 +101,11 @@ const TIMEOUT_MS = 40000;
101
101
url : "/interactive-question?locale=es" ,
102
102
} ) ;
103
103
104
- cy . findByText ( 'Filtro' , { timeout : TIMEOUT_MS } ) . click ( ) ;
105
- cy . get ( '[data-element-id="mantine-popover"]' ) . within ( ( ) => {
106
- cy . findByText ( 'Created At' ) . click ( ) ;
107
- // Different texts for 54 and 55
108
- cy . findByText ( / ( F e c h a s r e l a t i v a s … | R a n g o d e f e c h a s r e l a t i v o … ) / ) . click ( ) ;
109
- } )
110
-
111
- cy . findByTestId ( 'date-filter-picker' ) . within ( ( ) => {
112
-
113
- cy . findByText ( 'dic. 2–31, 2024' ) . should ( 'exist' ) ;
114
- } )
104
+ cy . findAllByTestId ( 'cell-data' ) . then ( ( cells ) => {
105
+ const texts = [ ...cells ] . map ( ( el ) => el . textContent ) ;
106
+ expect ( texts . join ( ' ' ) ) . to . include ( 'febrero' ) ;
107
+ expect ( texts . join ( ' ' ) ) . to . include ( 'mayo' ) ;
108
+ } ) ;
115
109
} ) ;
116
110
117
111
it ( "should load a dayjs locale" , ( ) => {
You can’t perform that action at this time.
0 commit comments