-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating cypress version and fixing CVE-2024-21538 (#1247)
* Updating cypress version Signed-off-by: Kshitij Tandon <[email protected]> * Fixing CVE-2024-21538 Signed-off-by: Kshitij Tandon <[email protected]> * Testing cypress baselining Signed-off-by: Kshitij Tandon <[email protected]> * Modifying spec patterns Signed-off-by: Kshitij Tandon <[email protected]> * Fixing an issue in snpashot e2e test Signed-off-by: Kshitij Tandon <[email protected]> --------- Signed-off-by: Kshitij Tandon <[email protected]> (cherry picked from commit 3eb1b24)
- Loading branch information
Showing
24 changed files
with
699 additions
and
1,212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
const { defineConfig } = require("cypress"); | ||
|
||
module.exports = defineConfig({ | ||
e2e: { | ||
specPattern: "cypress/e2e/plugins/index-management-dashboards-plugin/*.{js,jsx,ts,tsx}", | ||
defaultCommandTimeout: 60000, | ||
requestTimeout: 60000, | ||
responseTimeout: 60000, | ||
baseUrl: "http://localhost:5601", | ||
viewportWidth: 2000, | ||
viewportHeight: 1320, | ||
env: { | ||
openSearchUrl: "http://localhost:9200", | ||
SECURITY_ENABLED: false, | ||
username: "admin", | ||
password: "admin", | ||
}, | ||
clientCertificates: [ | ||
{ | ||
url: "https://localhost:9200/.opendistro-ism*", | ||
ca: ["cypress/resources/root-ca.pem"], | ||
certs: [ | ||
{ | ||
cert: "cypress/resources/kirk.pem", | ||
key: "cypress/resources/kirk-key.pem", | ||
passphrase: "", | ||
}, | ||
], | ||
}, | ||
{ | ||
url: "https://localhost:9200/.opendistro-ism-config/_update_by_query/", | ||
ca: ["cypress/resources/root-ca.pem"], | ||
certs: [ | ||
{ | ||
cert: "cypress/resources/kirk.pem", | ||
key: "cypress/resources/kirk-key.pem", | ||
passphrase: "", | ||
}, | ||
], | ||
}, | ||
], | ||
setupNodeEvents(on, config) { | ||
// implement node event listeners here | ||
return config; | ||
}, | ||
}, | ||
}); |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.