Skip to content

Commit

Permalink
feat: add function test for IM plugin (opensearch-project#443)
Browse files Browse the repository at this point in the history
* feat: add function test for IM plugin on v2.5

Signed-off-by: suzhou <suzhou@amazon.com>

* feat: remove snapshot_spec

Signed-off-by: suzhou <suzhou@amazon.com>

* feat: remove duplicate commands

Signed-off-by: suzhou <suzhou@amazon.com>

* feat: remove duplicate commands

Signed-off-by: suzhou <suzhou@amazon.com>

* feat: remove some useless test case

Signed-off-by: suzhou <suzhou@amazon.com>

* feat: remove snapshot_spec and duplicate commands (opensearch-project#450)

* feat: remove snapshot spec and update commands

Signed-off-by: suzhou <suzhou@amazon.com>

* feat: make actions to run again

Signed-off-by: suzhou <suzhou@amazon.com>

* feat: change to addIndexAlias & removeIndexAlias

Signed-off-by: suzhou <suzhou@amazon.com>

Signed-off-by: suzhou <suzhou@amazon.com>

* feat: lint

Signed-off-by: suzhou <suzhou@amazon.com>

* feat: fix workflow bug

Signed-off-by: suzhou <suzhou@amazon.com>

* feat: use 2.5.0 version

Signed-off-by: suzhou <suzhou@amazon.com>

* feat: revert version to 3.0.0

Signed-off-by: suzhou <suzhou@amazon.com>

---------

Signed-off-by: suzhou <suzhou@amazon.com>
(cherry picked from commit 95edebc)
  • Loading branch information
SuZhou-Joe committed Feb 16, 2023
1 parent 5ca60cf commit d54b312
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-e2e-workflow-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
);
});
});

Expand Down

0 comments on commit d54b312

Please sign in to comment.