Skip to content

Commit

Permalink
add a check for the sort visibility in language_specific_display (ope…
Browse files Browse the repository at this point in the history
…nsearch-project#9314)

* add a check for the sort visibility in language_specific_display

Signed-off-by: Justin Kim <[email protected]>

* Changeset file for PR opensearch-project#9314 created/updated

---------

Signed-off-by: Justin Kim <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
angle943 and opensearch-changeset-bot[bot] authored Feb 7, 2025
1 parent 0994dbe commit 0be2f25
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/9314.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
test:
- Test sort in language_specific_display ([#9314](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/9314))
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,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 0be2f25

Please sign in to comment.