Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cypress-with-security-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- "*"
env:
OPENSEARCH_DASHBOARDS_VERSION: 'main'
OPENSEARCH_DASHBOARDS_VERSION: '3.5'
jobs:
tests:
name: Run Cypress E2E tests with security
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- "*"
env:
OPENSEARCH_DASHBOARDS_VERSION: 'main'
OPENSEARCH_DASHBOARDS_VERSION: '3.5'
CYPRESS_MEMORY_LIMIT: '40960'
NODE_OPTIONS: '--max-old-space-size=40960'
jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- "*"
env:
OPENSEARCH_DASHBOARDS_VERSION: 'main'
OPENSEARCH_DASHBOARDS_VERSION: '3.5'
jobs:
Get-CI-Image-Tag:
uses: opensearch-project/opensearch-build/.github/workflows/get-ci-image-tag.yml@main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe("Managed indexes", () => {
// Common text to wait for to confirm page loaded, give up to 60 seconds for initial load
cy.contains("Edit rollover alias", { timeout: 60000 });

cy.get('[data-test-subj="toastCloseButton"]').click({ force: true });
cy.dismissToast();
});

describe("can have policies removed", () => {
Expand Down Expand Up @@ -90,7 +90,7 @@ describe("Managed indexes", () => {
// Wait up to 5 seconds for the managed index to execute
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(5000).reload();
cy.get('[data-test-subj="toastCloseButton"]').click({ force: true });
cy.dismissToast();

// Confirm managed index successfully initialized the policy
cy.contains("Successfully initialized", { timeout: 20000 });
Expand All @@ -100,7 +100,7 @@ describe("Managed indexes", () => {
// Wait up to 5 seconds for managed index to execute
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(5000).reload();
cy.get('[data-test-subj="toastCloseButton"]').click({ force: true });
cy.dismissToast();

// Confirm we have a Failed execution, wait up to 20 seconds as OSD takes a while to load
cy.contains("Failed", { timeout: 20000 });
Expand All @@ -125,7 +125,7 @@ describe("Managed indexes", () => {

// Reload the page
cy.reload();
cy.get('[data-test-subj="toastCloseButton"]').click({ force: true });
cy.dismissToast();

// Confirm we see managed index attempting to retry, give 20 seconds for OSD load
cy.contains("Pending retry of failed managed index", { timeout: 20000 });
Expand All @@ -136,7 +136,7 @@ describe("Managed indexes", () => {
// Wait up to 5 seconds for managed index to execute
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(5000).reload();
cy.get('[data-test-subj="toastCloseButton"]').click({ force: true });
cy.dismissToast();

// Confirm managed index successfully rolled over
cy.contains("Successfully rolled over", { timeout: 20000 });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ describe("Policies", () => {
add: ["alias1", "alias2"],
remove: ["alias3", "alias5", "alias6"],
};
const testIndexPattern = "test-index-pattern";

// Route us to create policy page
cy.contains("Create policy").click({ force: true });
Expand All @@ -89,6 +90,12 @@ describe("Policies", () => {
// Type in the policy description
cy.get(`[data-test-subj="create-policy-description"]`).type("{selectall}{backspace}" + sampleAliasPolicy.policy.description);

// Add an ISM template
cy.get("button").contains("Add template").click({ force: true });

// Enter an index pattern
cy.get(`[data-test-subj="comboBoxInput"]`).type(testIndexPattern);

// Add a state
cy.get("button").contains("Add state").click({ force: true });

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Version 3.5.0 Release Notes

Compatible with OpenSearch and OpenSearch Dashboards version 3.5.0

### Bug Fixes

* Fixing CVE-2025-64718 ([#1383](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/1383))
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1512,9 +1512,9 @@ js-tokens@^4.0.0:
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==

js-yaml@^3.13.1:
version "3.14.1"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537"
integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==
version "3.14.2"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.2.tgz#77485ce1dd7f33c061fd1b16ecea23b55fcb04b0"
integrity sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==
dependencies:
argparse "^1.0.7"
esprima "^4.0.0"
Expand Down
Loading