diff --git a/.github/workflows/release-e2e-workflow-template.yml b/.github/workflows/release-e2e-workflow-template.yml index 6aae73421..dd38ffdce 100644 --- a/.github/workflows/release-e2e-workflow-template.yml +++ b/.github/workflows/release-e2e-workflow-template.yml @@ -69,7 +69,7 @@ jobs: - name: Get node and yarn versions id: versions run: | - echo "::set-output name=node_version::$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}-linux-x64/package.json').engines.node).match(/[.0-9]+/)[0]")" + echo "::set-output name=node_version::$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}/package.json').engines.node).match(/[.0-9]+/)[0]")" - name: Setup node uses: actions/setup-node@v1 with: diff --git a/cypress/integration/plugins/index-management-dashboards-plugin/aliases.js b/cypress/integration/plugins/index-management-dashboards-plugin/aliases.js index 73124ecb8..2928f2062 100644 --- a/cypress/integration/plugins/index-management-dashboards-plugin/aliases.js +++ b/cypress/integration/plugins/index-management-dashboards-plugin/aliases.js @@ -106,25 +106,6 @@ describe('Aliases', () => { .end(); cy.get('[data-test-subj="7 more"]').should('exist'); - - cy.get('[data-test-subj="moreAction"] button') - .click() - .get('[data-test-subj="deleteAction"]') - .click(); - // The confirm button should be disabled - cy.get('[data-test-subj="deleteConfirmButton"]').should('be.disabled'); - // type delete - cy.wait(500).get('[data-test-subj="deleteInput"]').type('delete'); - cy.get('[data-test-subj="deleteConfirmButton"]').should( - 'not.be.disabled' - ); - // click to delete - cy.get('[data-test-subj="deleteConfirmButton"]').click(); - // the alias should not exist - cy.wait(500); - cy.get(`#_selection_column_${SAMPLE_ALIAS_PREFIX}-0-checkbox`).should( - 'not.exist' - ); }); });