Skip to content

Commit

Permalink
add a check for the sort visibility in language_specific_display
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Kim <[email protected]>
  • Loading branch information
angle943 committed Jan 31, 2025
1 parent 95cfb51 commit 20d7f85
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ export const runDisplayTests = () => {
cy.getElementByTestId('dscTimechart').should('be.visible');
}

// testing whether sort appears or not
cy.getElementByTestId('docTableHeaderFieldSort_timestamp').should(
config.sort ? 'exist' : 'not.exist'
);

// testing the language information popup button
cy.getElementByTestId('languageReferenceButton').click();
cy.get('.euiPopoverTitle').contains('Syntax options').should('be.visible');
Expand Down

0 comments on commit 20d7f85

Please sign in to comment.