Skip to content

Commit cbcb5c2

Browse files
committed
Testing cypress baselining
Signed-off-by: Kshitij Tandon <[email protected]>
1 parent c459af0 commit cbcb5c2

23 files changed

+97
-130
lines changed

cypress.config.js

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
const { defineConfig } = require("cypress");
2+
3+
module.exports = defineConfig({
4+
e2e: {
5+
defaultCommandTimeout: 60000,
6+
requestTimeout: 60000,
7+
responseTimeout: 60000,
8+
baseUrl: "http://localhost:5601",
9+
viewportWidth: 2000,
10+
viewportHeight: 1320,
11+
env: {
12+
openSearchUrl: "http://localhost:9200",
13+
SECURITY_ENABLED: false,
14+
username: "admin",
15+
password: "admin",
16+
},
17+
clientCertificates: [
18+
{
19+
url: "https://localhost:9200/.opendistro-ism*",
20+
ca: ["cypress/resources/root-ca.pem"],
21+
certs: [
22+
{
23+
cert: "cypress/resources/kirk.pem",
24+
key: "cypress/resources/kirk-key.pem",
25+
passphrase: "",
26+
},
27+
],
28+
},
29+
{
30+
url: "https://localhost:9200/.opendistro-ism-config/_update_by_query/",
31+
ca: ["cypress/resources/root-ca.pem"],
32+
certs: [
33+
{
34+
cert: "cypress/resources/kirk.pem",
35+
key: "cypress/resources/kirk-key.pem",
36+
passphrase: "",
37+
},
38+
],
39+
},
40+
],
41+
setupNodeEvents(on, config) {
42+
// implement node event listeners here
43+
return config;
44+
},
45+
},
46+
});

cypress.json

Lines changed: 0 additions & 48 deletions
This file was deleted.

cypress/integration/plugins/index-management-dashboards-plugin/aliases.js renamed to cypress/e2e/plugins/index-management-dashboards-plugin/aliases.js

File renamed without changes.

cypress/integration/plugins/index-management-dashboards-plugin/create_index.js renamed to cypress/e2e/plugins/index-management-dashboards-plugin/create_index.js

File renamed without changes.

cypress/integration/plugins/index-management-dashboards-plugin/data_streams.js renamed to cypress/e2e/plugins/index-management-dashboards-plugin/data_streams.js

File renamed without changes.

cypress/integration/plugins/index-management-dashboards-plugin/force_merge.js renamed to cypress/e2e/plugins/index-management-dashboards-plugin/force_merge.js

File renamed without changes.

cypress/integration/plugins/index-management-dashboards-plugin/indices_spec.js renamed to cypress/e2e/plugins/index-management-dashboards-plugin/indices_spec.js

File renamed without changes.

cypress/integration/plugins/index-management-dashboards-plugin/managed_indices_spec.js renamed to cypress/e2e/plugins/index-management-dashboards-plugin/managed_indices_spec.js

File renamed without changes.

cypress/integration/plugins/index-management-dashboards-plugin/notification_settings.js renamed to cypress/e2e/plugins/index-management-dashboards-plugin/notification_settings.js

File renamed without changes.

cypress/integration/plugins/index-management-dashboards-plugin/policies_spec.js renamed to cypress/e2e/plugins/index-management-dashboards-plugin/policies_spec.js

File renamed without changes.

0 commit comments

Comments
 (0)