@@ -118,9 +118,9 @@ export default function ({ getService }: FtrProviderContext) {
118
118
} ) ;
119
119
} ) ;
120
120
121
- it ( 'should receive expected results after calling overview logging' , async ( ) => {
121
+ it ( 'should receive 200 status after overview logging' , async ( ) => {
122
122
// call overview page
123
- const { body : result } = await supertest
123
+ await supertest
124
124
. post ( API_URLS . LOG_PAGE_VIEW )
125
125
. set ( 'kbn-xsrf' , 'true' )
126
126
. send ( {
@@ -131,21 +131,6 @@ export default function ({ getService }: FtrProviderContext) {
131
131
autoRefreshEnabled : true ,
132
132
} )
133
133
. expect ( 200 ) ;
134
-
135
- expect ( result ) . to . eql ( {
136
- overview_page : 1 ,
137
- monitor_page : 1 ,
138
- no_of_unique_monitors : 4 ,
139
- settings_page : 0 ,
140
- monitor_frequency : [ 120 , 0.001 , 60 , 60 ] ,
141
- monitor_name_stats : { min_length : 7 , max_length : 22 , avg_length : 12 } ,
142
- no_of_unique_observer_locations : 3 ,
143
- observer_location_name_stats : { min_length : 2 , max_length : 7 , avg_length : 4.8 } ,
144
- dateRangeStart : [ 'now/d' , 'now/d' ] ,
145
- dateRangeEnd : [ 'now/d' , 'now-30' ] ,
146
- autoRefreshEnabled : true ,
147
- autorefreshInterval : [ 100 , 60 ] ,
148
- } ) ;
149
134
} ) ;
150
135
} ) ;
151
136
}
0 commit comments