From ed2e38dd3871539d5f6fb1b85a0b83994513e0d3 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 18:43:08 -0700 Subject: [PATCH] Rename cypress config file to its version supported convention (#6137) (#6141) Signed-off-by: Manasvini B Suryanarayana (cherry picked from commit 76c22b41421f2efa08742f9e7498080504449778) Signed-off-by: github-actions[bot] # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] --- cypress.config.js | 28 ---------------------------- cypress.json | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 28 deletions(-) delete mode 100644 cypress.config.js create mode 100644 cypress.json diff --git a/cypress.config.js b/cypress.config.js deleted file mode 100644 index 6312b14e877..00000000000 --- a/cypress.config.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright OpenSearch Contributors - * SPDX-License-Identifier: Apache-2.0 - */ - -const { defineConfig } = require('cypress'); - -module.exports = defineConfig({ - defaultCommandTimeout: 60000, - requestTimeout: 60000, - responseTimeout: 60000, - baseUrl: 'http://localhost:5601', - viewportWidth: 2000, - viewportHeight: 1320, - env: { - openSearchUrl: 'http://localhost:9200', - SECURITY_ENABLED: false, - AGGREGATION_VIEW: false, - username: 'admin', - password: 'myStrongPassword123!', - ENDPOINT_WITH_PROXY: false, - MANAGED_SERVICE_ENDPOINT: false, - VISBUILDER_ENABLED: true, - DATASOURCE_MANAGEMENT_ENABLED: false, - ML_COMMONS_DASHBOARDS_ENABLED: true, - WAIT_FOR_LOADER_BUFFER_MS: 0, - }, -}); diff --git a/cypress.json b/cypress.json new file mode 100644 index 00000000000..46e8c7e8ea1 --- /dev/null +++ b/cypress.json @@ -0,0 +1,21 @@ +{ + "defaultCommandTimeout": 60000, + "requestTimeout": 60000, + "responseTimeout": 60000, + "baseUrl": "http://localhost:5601", + "viewportWidth": 2000, + "viewportHeight": 1320, + "env": { + "openSearchUrl": "http://localhost:9200", + "SECURITY_ENABLED": false, + "AGGREGATION_VIEW": false, + "username": "admin", + "password": "myStrongPassword123!", + "ENDPOINT_WITH_PROXY": false, + "MANAGED_SERVICE_ENDPOINT": false, + "VISBUILDER_ENABLED": true, + "DATASOURCE_MANAGEMENT_ENABLED": false, + "ML_COMMONS_DASHBOARDS_ENABLED": true, + "WAIT_FOR_LOADER_BUFFER_MS": 0 + } +}