Skip to content

Commit 9bdf598

Browse files
author
Nathan Yang
committed
chore: update traces integ test to use new span filter
Signed-off-by: Nathan Yang <[email protected]>
1 parent 672f729 commit 9bdf598

File tree

1 file changed

+9
-3
lines changed
  • cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/explore/04

1 file changed

+9
-3
lines changed

cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/explore/04/traces.spec.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff 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');

0 commit comments

Comments
 (0)