@@ -168,8 +168,10 @@ describe('Entity Analytics Dashboard', { tags: ['@ess', '@serverless'] }, () =>
168168 it ( 'renders alerts column' , ( ) => {
169169 cy . get ( HOSTS_TABLE_ALERT_CELL ) . should ( 'have.length' , 5 ) ;
170170 } ) ;
171-
172171 it ( 'filters by risk level' , ( ) => {
172+ cy . get ( HOSTS_TABLE ) . should ( 'be.visible' ) ;
173+ cy . get ( HOSTS_TABLE_ROWS ) . should ( 'have.length' , 5 ) ;
174+
173175 openRiskTableFilterAndSelectTheLowOption ( ) ;
174176
175177 cy . get ( HOSTS_DONUT_CHART ) . should ( 'include.text' , '1Total' ) ;
@@ -225,8 +227,7 @@ describe('Entity Analytics Dashboard', { tags: ['@ess', '@serverless'] }, () =>
225227 } ) ;
226228 } ) ;
227229
228- // FLAKY: https://github.com/elastic/kibana/issues/173846
229- describe . skip ( 'With user risk data' , ( ) => {
230+ describe ( 'With user risk data' , ( ) => {
230231 before ( ( ) => {
231232 cy . task ( 'esArchiverLoad' , { archiveName : 'risk_users' } ) ;
232233 } ) ;
@@ -254,6 +255,9 @@ describe('Entity Analytics Dashboard', { tags: ['@ess', '@serverless'] }, () =>
254255 } ) ;
255256
256257 it ( 'filters by risk level' , ( ) => {
258+ cy . get ( USERS_TABLE ) . should ( 'be.visible' ) ;
259+ cy . get ( USERS_TABLE_ROWS ) . should ( 'have.length' , 5 ) ;
260+
257261 openRiskTableFilterAndSelectTheLowOption ( ) ;
258262
259263 cy . get ( USERS_DONUT_CHART ) . should ( 'include.text' , '2Total' ) ;
0 commit comments