From fcf007f4e55e4dffbd772c5415375a74769871f2 Mon Sep 17 00:00:00 2001 From: Sirazh Gabdullin Date: Fri, 21 Jul 2023 18:18:52 +0600 Subject: [PATCH] tests cleanup Signed-off-by: Sirazh Gabdullin --- .../apps/vis_builder/vis_types/table.spec.js | 2 +- .../opensearch-dashboards/apps/vis_type_table/split.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/vis_builder/vis_types/table.spec.js b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/vis_builder/vis_types/table.spec.js index d04accb72..786ddb5b0 100644 --- a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/vis_builder/vis_types/table.spec.js +++ b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/vis_builder/vis_types/table.spec.js @@ -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 diff --git a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/vis_type_table/split.spec.js b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/vis_type_table/split.spec.js index 41717a39f..ec4c10dc8 100644 --- a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/vis_type_table/split.spec.js +++ b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/vis_type_table/split.spec.js @@ -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); });