File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/explore/04 Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -481,9 +481,15 @@ const traceTestSuite = () => {
481481 } ) ;
482482
483483 describe ( 'Filter Functionality' , ( ) => {
484- it ( 'should show error filter and handle filtering' , ( ) => {
485- // Error filter button should exist
486- cy . getElementByTestId ( 'error-count-button' ) . should ( 'be.visible' ) . click ( ) ;
484+ it ( 'should show status filter and handle error filtering' , ( ) => {
485+ // Status filter button should exist - click to open popover
486+ cy . getElementByTestId ( 'span-status-filter-button' ) . should ( 'be.visible' ) . click ( ) ;
487+
488+ // Click the Error filter option in the popover
489+ cy . getElementByTestId ( 'status-filter-selectable' )
490+ . find ( '.euiSelectableList' )
491+ . contains ( 'Error' )
492+ . click ( ) ;
487493
488494 // Verify filter badge appears
489495 cy . get ( '[data-test-subj^="filter-badge-"]' ) . should ( 'be.visible' ) ;
You can’t perform that action at this time.
0 commit comments