diff --git a/cypress/integration/plugins/index-management-dashboards-plugin/aliases.js b/cypress/integration/plugins/index-management-dashboards-plugin/aliases.js index e91e2d710..bb0b4cf41 100644 --- a/cypress/integration/plugins/index-management-dashboards-plugin/aliases.js +++ b/cypress/integration/plugins/index-management-dashboards-plugin/aliases.js @@ -183,6 +183,10 @@ describe('Aliases', () => { }); cy.get('[data-test-subj="moreAction"]').click(); + + // Extra wait required for page data to load, otherwise "Enable" button will be disabled + cy.wait(2000); + // Flush btn should be enabled cy.get('[data-test-subj="Flush Action"]') .should('exist') diff --git a/cypress/integration/plugins/index-management-dashboards-plugin/transforms_spec.js b/cypress/integration/plugins/index-management-dashboards-plugin/transforms_spec.js index 0b097ff54..4c53838d3 100644 --- a/cypress/integration/plugins/index-management-dashboards-plugin/transforms_spec.js +++ b/cypress/integration/plugins/index-management-dashboards-plugin/transforms_spec.js @@ -172,6 +172,9 @@ describe('Transforms', () => { force: true, }); + // Extra wait required for page data to load, otherwise "Enable" button will be disabled + cy.wait(2000); + // Confirm we get toaster saying changes saved cy.contains(`Changes to transform saved`);