Skip to content

Commit

Permalink
[Table Visualizations] Tests cleanup (opensearch-project#785)
Browse files Browse the repository at this point in the history
Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>
Signed-off-by: leanne.laceybyrne@eliatra.com <leanne.laceybyrne@eliatra.com>
  • Loading branch information
curq authored and leanneeliatra committed Sep 29, 2023
1 parent 9507738 commit bda3d9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const removeBucket = (bucket) => {

export const testSplitTables = (num) => {
cy.getElementByTestId('visTable')
.should('have.class', `visTable`)
.should('have.class', 'visTable')
.find('[class="visTable__group"]')
.should(($tables) => {
// should have found specified number of tables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ describe.skip('Split table', () => {
cy.tbSplitTablesInColumns();
cy.tbSetupTermsAggregation('age', 'Descending', '2', 2);
cy.waitForLoader();
cy.get('[class="visTable visTable__groupInColumns"]').should('exist');
cy.get('[class="visTable"]').should('exist');
cy.tbGetAllTableDataFromVisualization(2).then((data) => {
expect(data).to.deep.eq(expectData);
});
Expand Down

0 comments on commit bda3d9e

Please sign in to comment.