mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 14:57:08 +08:00
[bitnami/*] Update Cypress tests to version 13 (#22862)
* [bitnami/*] Update Cypress tests to version 13 Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com> * Adapt more tests Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com> * Add more tests II Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com> * Add more tests III Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com> * Add more tests IV Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com> * Remove fix for Kibana tests running in older Cypress versions Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com> * Update TESTING.md Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com> --------- Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com>
This commit is contained in:
committed by
GitHub
parent
f2671034fc
commit
4d25b43708
12
.vib/airflow/cypress/cypress.config.js
Normal file
12
.vib/airflow/cypress/cypress.config.js
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
module.exports = {
|
||||||
|
pageLoadTimeout: 240000,
|
||||||
|
defaultCommandTimeout: 80000,
|
||||||
|
env: {
|
||||||
|
username: 'user',
|
||||||
|
password: 'ComplicatedPassword123!4',
|
||||||
|
},
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"pageLoadTimeout": 240000,
|
|
||||||
"defaultCommandTimeout":80000,
|
|
||||||
|
|
||||||
"env": {
|
|
||||||
"username": "user",
|
|
||||||
"password": "ComplicatedPassword123!4"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
6
.vib/apache/cypress/cypress.config.js
Normal file
6
.vib/apache/cypress/cypress.config.js
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
module.exports = {
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost"
|
|
||||||
}
|
|
||||||
25
.vib/apache/cypress/cypress/support/e2e.js
Normal file
25
.vib/apache/cypress/cypress/support/e2e.js
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* Copyright VMware, Inc.
|
||||||
|
* SPDX-License-Identifier: APACHE-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// ***********************************************************
|
||||||
|
// This example support/index.js is processed and
|
||||||
|
// loaded automatically before your test files.
|
||||||
|
//
|
||||||
|
// This is a great place to put global configuration and
|
||||||
|
// behavior that modifies Cypress.
|
||||||
|
//
|
||||||
|
// You can change the location of this file or turn off
|
||||||
|
// automatically serving support files with the
|
||||||
|
// 'supportFile' configuration option.
|
||||||
|
//
|
||||||
|
// You can read more here:
|
||||||
|
// https://on.cypress.io/configuration
|
||||||
|
// ***********************************************************
|
||||||
|
|
||||||
|
// Import commands.js using ES2015 syntax:
|
||||||
|
// import './commands';
|
||||||
|
|
||||||
|
// Alternatively you can use CommonJS syntax:
|
||||||
|
// require('./commands')
|
||||||
11
.vib/apisix/cypress/cypress.config.js
Normal file
11
.vib/apisix/cypress/cypress.config.js
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
username: 'vib-user',
|
||||||
|
password: 'ComplicatedPassword123!4',
|
||||||
|
},
|
||||||
|
defaultCommandTimeout: 30000,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"env": {
|
|
||||||
"username": "vib-user",
|
|
||||||
"password": "ComplicatedPassword123!4"
|
|
||||||
},
|
|
||||||
"defaultCommandTimeout": 30000
|
|
||||||
}
|
|
||||||
11
.vib/appsmith/cypress/cypress.config.js
Normal file
11
.vib/appsmith/cypress/cypress.config.js
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
username: 'vibuser@example.com',
|
||||||
|
password: 'bitnami!1234',
|
||||||
|
},
|
||||||
|
defaultCommandTimeout: 60000,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"env": {
|
|
||||||
"username": "vibuser@example.com",
|
|
||||||
"password": "bitnami!1234"
|
|
||||||
},
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"defaultCommandTimeout": 60000
|
|
||||||
}
|
|
||||||
14
.vib/argo-cd/cypress/cypress.config.js
Normal file
14
.vib/argo-cd/cypress/cypress.config.js
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
username: 'admin',
|
||||||
|
password: 'ComplicatedPassword123!4',
|
||||||
|
},
|
||||||
|
defaultCommandTimeout: 30000,
|
||||||
|
pageLoadTimeout: 120000,
|
||||||
|
viewportWidth: 1920,
|
||||||
|
viewportHeight: 1080,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'https://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "https://localhost",
|
|
||||||
"env": {
|
|
||||||
"username": "admin",
|
|
||||||
"password": "ComplicatedPassword123!4"
|
|
||||||
},
|
|
||||||
"defaultCommandTimeout": 30000,
|
|
||||||
"pageLoadTimeout": 120000,
|
|
||||||
"viewportWidth": 1920,
|
|
||||||
"viewportHeight": 1080
|
|
||||||
}
|
|
||||||
7
.vib/argo-workflows/cypress/cypress.config.js
Normal file
7
.vib/argo-workflows/cypress/cypress.config.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
module.exports = {
|
||||||
|
defaultCommandTimeout: 80000,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"defaultCommandTimeout": 80000
|
|
||||||
}
|
|
||||||
@@ -23,7 +23,7 @@ it('allows submitting a workflow using a template created from a file', () => {
|
|||||||
cy.get('[type="file"]').selectFile(newWorkflow, { force: true });
|
cy.get('[type="file"]').selectFile(newWorkflow, { force: true });
|
||||||
cy.contains('Create').click();
|
cy.contains('Create').click();
|
||||||
});
|
});
|
||||||
cy.get('.top-bar').should('be.visible').within(() => {
|
cy.get('.top-bar').first().should('be.visible').within(() => {
|
||||||
cy.contains(workflowName);
|
cy.contains(workflowName);
|
||||||
});
|
});
|
||||||
|
|
||||||
7
.vib/aspnet-core/cypress/cypress.config.js
Normal file
7
.vib/aspnet-core/cypress/cypress.config.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
module.exports = {
|
||||||
|
defaultCommandTimeout: 30000,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"defaultCommandTimeout": 30000
|
|
||||||
}
|
|
||||||
25
.vib/aspnet-core/cypress/cypress/support/e2e.js
Normal file
25
.vib/aspnet-core/cypress/cypress/support/e2e.js
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* Copyright VMware, Inc.
|
||||||
|
* SPDX-License-Identifier: APACHE-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// ***********************************************************
|
||||||
|
// This example support/index.js is processed and
|
||||||
|
// loaded automatically before your test files.
|
||||||
|
//
|
||||||
|
// This is a great place to put global configuration and
|
||||||
|
// behavior that modifies Cypress.
|
||||||
|
//
|
||||||
|
// You can change the location of this file or turn off
|
||||||
|
// automatically serving support files with the
|
||||||
|
// 'supportFile' configuration option.
|
||||||
|
//
|
||||||
|
// You can read more here:
|
||||||
|
// https://on.cypress.io/configuration
|
||||||
|
// ***********************************************************
|
||||||
|
|
||||||
|
// Import commands.js using ES2015 syntax:
|
||||||
|
// import './commands';
|
||||||
|
|
||||||
|
// Alternatively you can use CommonJS syntax:
|
||||||
|
// require('./commands')
|
||||||
13
.vib/clickhouse/cypress/cypress.config.js
Normal file
13
.vib/clickhouse/cypress/cypress.config.js
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
username: 'test_user',
|
||||||
|
password: 'bitnami1234',
|
||||||
|
},
|
||||||
|
hosts: {
|
||||||
|
'vmware-clickhouse.my': '{{ TARGET_IP }}',
|
||||||
|
},
|
||||||
|
defaultCommandTimeout: 30000,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"env": {
|
|
||||||
"username": "test_user",
|
|
||||||
"password": "bitnami1234"
|
|
||||||
},
|
|
||||||
"hosts": {
|
|
||||||
"vmware-clickhouse.my": "{{ TARGET_IP }}"
|
|
||||||
},
|
|
||||||
"defaultCommandTimeout": 30000
|
|
||||||
}
|
|
||||||
12
.vib/concourse/cypress/cypress.config.js
Normal file
12
.vib/concourse/cypress/cypress.config.js
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
username: 'bitnamiUser',
|
||||||
|
password: 'ComplicatedPassword123!4',
|
||||||
|
},
|
||||||
|
hosts: {
|
||||||
|
'vmware-concourse.my': '{{ TARGET_IP }}',
|
||||||
|
},
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"env": {
|
|
||||||
"username": "bitnamiUser",
|
|
||||||
"password": "ComplicatedPassword123!4"
|
|
||||||
},
|
|
||||||
"hosts": {
|
|
||||||
"vmware-concourse.my": "{{ TARGET_IP }}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
13
.vib/discourse/cypress/cypress.config.js
Normal file
13
.vib/discourse/cypress/cypress.config.js
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
username: 'user',
|
||||||
|
password: 'ComplicatedPassword123!4',
|
||||||
|
},
|
||||||
|
hosts: {
|
||||||
|
'bitnami-discourse.my': '{{ TARGET_IP }}',
|
||||||
|
},
|
||||||
|
defaultCommandTimeout: 30000,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"env": {
|
|
||||||
"username": "user",
|
|
||||||
"password": "ComplicatedPassword123!4"
|
|
||||||
},
|
|
||||||
"hosts": {
|
|
||||||
"bitnami-discourse.my": "{{ TARGET_IP }}"
|
|
||||||
},
|
|
||||||
"defaultCommandTimeout": 30000
|
|
||||||
}
|
|
||||||
@@ -22,6 +22,7 @@ it('allows to sign up', () => {
|
|||||||
|
|
||||||
it('allows to create a topic', () => {
|
it('allows to create a topic', () => {
|
||||||
cy.login();
|
cy.login();
|
||||||
|
cy.contains('Got it').click();
|
||||||
cy.contains('button', 'New Topic').click();
|
cy.contains('button', 'New Topic').click();
|
||||||
cy.fixture('topics').then((topic) => {
|
cy.fixture('topics').then((topic) => {
|
||||||
cy.get('#reply-title').type(`${topic.newTopic.title}-${random}`);
|
cy.get('#reply-title').type(`${topic.newTopic.title}-${random}`);
|
||||||
12
.vib/dokuwiki/cypress/cypress.config.js
Normal file
12
.vib/dokuwiki/cypress/cypress.config.js
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
module.exports = {
|
||||||
|
pageLoadTimeout: 240000,
|
||||||
|
defaultCommandTimeout: 80000,
|
||||||
|
env: {
|
||||||
|
username: 'user',
|
||||||
|
password: 'ComplicatedPassword123!4',
|
||||||
|
},
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"pageLoadTimeout": 240000,
|
|
||||||
"defaultCommandTimeout": 80000,
|
|
||||||
"env": {
|
|
||||||
"username": "user",
|
|
||||||
"password": "ComplicatedPassword123!4"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
11
.vib/drupal/cypress/cypress.config.js
Normal file
11
.vib/drupal/cypress/cypress.config.js
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
username: 'test_user',
|
||||||
|
password: 'ComplicatedPassword123!4',
|
||||||
|
},
|
||||||
|
defaultCommandTimeout: 30000,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"env": {
|
|
||||||
"username": "test_user",
|
|
||||||
"password": "ComplicatedPassword123!4"
|
|
||||||
},
|
|
||||||
"defaultCommandTimeout": 30000
|
|
||||||
}
|
|
||||||
15
.vib/ejbca/cypress/cypress.config.js
Normal file
15
.vib/ejbca/cypress/cypress.config.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
username: 'bitnamiTest',
|
||||||
|
password: 'ComplicatedPassword123!4',
|
||||||
|
baseDN: 'UID=c-1CCXmPAsNWmZuDtQQ8FHl7tcVdjCiNTH,O=ExampleCA,C=SE',
|
||||||
|
},
|
||||||
|
e2e: {
|
||||||
|
// We've imported your old cypress plugins here.
|
||||||
|
// You may want to clean this up later by importing these.
|
||||||
|
setupNodeEvents(on, config) {
|
||||||
|
return require('./cypress/plugins/index.js')(on, config)
|
||||||
|
},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"env": {
|
|
||||||
"username": "bitnamiTest",
|
|
||||||
"password": "ComplicatedPassword123!4",
|
|
||||||
"baseDN": "UID=c-1CCXmPAsNWmZuDtQQ8FHl7tcVdjCiNTH,O=ExampleCA,C=SE"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
10
.vib/elasticsearch/cypress/cypress.config.js
Normal file
10
.vib/elasticsearch/cypress/cypress.config.js
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
module.exports = {
|
||||||
|
responseTimeout: 30000,
|
||||||
|
env: {
|
||||||
|
nodeNumber: 4,
|
||||||
|
},
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"responseTimeout": 30000,
|
|
||||||
"env": {
|
|
||||||
"nodeNumber": 4
|
|
||||||
}
|
|
||||||
}
|
|
||||||
25
.vib/elasticsearch/cypress/cypress/support/e2e.js
Normal file
25
.vib/elasticsearch/cypress/cypress/support/e2e.js
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* Copyright VMware, Inc.
|
||||||
|
* SPDX-License-Identifier: APACHE-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// ***********************************************************
|
||||||
|
// This example support/index.js is processed and
|
||||||
|
// loaded automatically before your test files.
|
||||||
|
//
|
||||||
|
// This is a great place to put global configuration and
|
||||||
|
// behavior that modifies Cypress.
|
||||||
|
//
|
||||||
|
// You can change the location of this file or turn off
|
||||||
|
// automatically serving support files with the
|
||||||
|
// 'supportFile' configuration option.
|
||||||
|
//
|
||||||
|
// You can read more here:
|
||||||
|
// https://on.cypress.io/configuration
|
||||||
|
// ***********************************************************
|
||||||
|
|
||||||
|
// Import commands.js using ES2015 syntax:
|
||||||
|
// import './commands';
|
||||||
|
|
||||||
|
// Alternatively you can use CommonJS syntax:
|
||||||
|
// require('./commands')
|
||||||
6
.vib/external-dns/cypress/cypress.config.js
Normal file
6
.vib/external-dns/cypress/cypress.config.js
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
module.exports = {
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost"
|
|
||||||
}
|
|
||||||
25
.vib/external-dns/cypress/cypress/support/e2e.js
Normal file
25
.vib/external-dns/cypress/cypress/support/e2e.js
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* Copyright VMware, Inc.
|
||||||
|
* SPDX-License-Identifier: APACHE-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// ***********************************************************
|
||||||
|
// This example support/index.js is processed and
|
||||||
|
// loaded automatically before your test files.
|
||||||
|
//
|
||||||
|
// This is a great place to put global configuration and
|
||||||
|
// behavior that modifies Cypress.
|
||||||
|
//
|
||||||
|
// You can change the location of this file or turn off
|
||||||
|
// automatically serving support files with the
|
||||||
|
// 'supportFile' configuration option.
|
||||||
|
//
|
||||||
|
// You can read more here:
|
||||||
|
// https://on.cypress.io/configuration
|
||||||
|
// ***********************************************************
|
||||||
|
|
||||||
|
// Import commands.js using ES2015 syntax:
|
||||||
|
// import './commands';
|
||||||
|
|
||||||
|
// Alternatively you can use CommonJS syntax:
|
||||||
|
// require('./commands')
|
||||||
7
.vib/flink/cypress/cypress.config.js
Normal file
7
.vib/flink/cypress/cypress.config.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
module.exports = {
|
||||||
|
defaultCommandTimeout: 90000,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"defaultCommandTimeout": 90000
|
|
||||||
}
|
|
||||||
25
.vib/flink/cypress/cypress/support/e2e.js
Normal file
25
.vib/flink/cypress/cypress/support/e2e.js
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* Copyright VMware, Inc.
|
||||||
|
* SPDX-License-Identifier: APACHE-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// ***********************************************************
|
||||||
|
// This example support/index.js is processed and
|
||||||
|
// loaded automatically before your test files.
|
||||||
|
//
|
||||||
|
// This is a great place to put global configuration and
|
||||||
|
// behavior that modifies Cypress.
|
||||||
|
//
|
||||||
|
// You can change the location of this file or turn off
|
||||||
|
// automatically serving support files with the
|
||||||
|
// 'supportFile' configuration option.
|
||||||
|
//
|
||||||
|
// You can read more here:
|
||||||
|
// https://on.cypress.io/configuration
|
||||||
|
// ***********************************************************
|
||||||
|
|
||||||
|
// Import commands.js using ES2015 syntax:
|
||||||
|
// import './commands';
|
||||||
|
|
||||||
|
// Alternatively you can use CommonJS syntax:
|
||||||
|
// require('./commands')
|
||||||
14
.vib/ghost/cypress/cypress.config.js
Normal file
14
.vib/ghost/cypress/cypress.config.js
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
email: 'vim-tests@example.com',
|
||||||
|
username: 'bitnamiTest',
|
||||||
|
password: 'Complicated123!4',
|
||||||
|
},
|
||||||
|
hosts: {
|
||||||
|
'vmware-ghost.my': '{{ TARGET_IP }}',
|
||||||
|
},
|
||||||
|
defaultCommandTimeout: 60000,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"env": {
|
|
||||||
"email": "vim-tests@example.com",
|
|
||||||
"username": "bitnamiTest",
|
|
||||||
"password": "Complicated123!4"
|
|
||||||
},
|
|
||||||
"hosts": {
|
|
||||||
"vmware-ghost.my": "{{ TARGET_IP }}"
|
|
||||||
},
|
|
||||||
"defaultCommandTimeout": 60000
|
|
||||||
}
|
|
||||||
11
.vib/gitea/cypress/cypress.config.js
Normal file
11
.vib/gitea/cypress/cypress.config.js
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
username: 'vib-user@example.com',
|
||||||
|
password: 'bitnami!1234',
|
||||||
|
},
|
||||||
|
defaultCommandTimeout: 30000,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"env": {
|
|
||||||
"username": "vib-user@example.com",
|
|
||||||
"password": "bitnami!1234"
|
|
||||||
},
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"defaultCommandTimeout": 30000
|
|
||||||
}
|
|
||||||
7
.vib/grafana-loki/cypress/cypress.config.js
Normal file
7
.vib/grafana-loki/cypress/cypress.config.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
module.exports = {
|
||||||
|
responseTimeout: 30000,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"responseTimeout": 30000
|
|
||||||
}
|
|
||||||
25
.vib/grafana-loki/cypress/cypress/support/e2e.js
Normal file
25
.vib/grafana-loki/cypress/cypress/support/e2e.js
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* Copyright VMware, Inc.
|
||||||
|
* SPDX-License-Identifier: APACHE-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// ***********************************************************
|
||||||
|
// This example support/index.js is processed and
|
||||||
|
// loaded automatically before your test files.
|
||||||
|
//
|
||||||
|
// This is a great place to put global configuration and
|
||||||
|
// behavior that modifies Cypress.
|
||||||
|
//
|
||||||
|
// You can change the location of this file or turn off
|
||||||
|
// automatically serving support files with the
|
||||||
|
// 'supportFile' configuration option.
|
||||||
|
//
|
||||||
|
// You can read more here:
|
||||||
|
// https://on.cypress.io/configuration
|
||||||
|
// ***********************************************************
|
||||||
|
|
||||||
|
// Import commands.js using ES2015 syntax:
|
||||||
|
// import './commands';
|
||||||
|
|
||||||
|
// Alternatively you can use CommonJS syntax:
|
||||||
|
// require('./commands')
|
||||||
7
.vib/grafana-mimir/cypress/cypress.config.js
Normal file
7
.vib/grafana-mimir/cypress/cypress.config.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
module.exports = {
|
||||||
|
responseTimeout: 30000,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"responseTimeout": 30000
|
|
||||||
}
|
|
||||||
25
.vib/grafana-mimir/cypress/cypress/support/e2e.js
Normal file
25
.vib/grafana-mimir/cypress/cypress/support/e2e.js
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* Copyright VMware, Inc.
|
||||||
|
* SPDX-License-Identifier: APACHE-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// ***********************************************************
|
||||||
|
// This example support/index.js is processed and
|
||||||
|
// loaded automatically before your test files.
|
||||||
|
//
|
||||||
|
// This is a great place to put global configuration and
|
||||||
|
// behavior that modifies Cypress.
|
||||||
|
//
|
||||||
|
// You can change the location of this file or turn off
|
||||||
|
// automatically serving support files with the
|
||||||
|
// 'supportFile' configuration option.
|
||||||
|
//
|
||||||
|
// You can read more here:
|
||||||
|
// https://on.cypress.io/configuration
|
||||||
|
// ***********************************************************
|
||||||
|
|
||||||
|
// Import commands.js using ES2015 syntax:
|
||||||
|
// import './commands';
|
||||||
|
|
||||||
|
// Alternatively you can use CommonJS syntax:
|
||||||
|
// require('./commands')
|
||||||
12
.vib/grafana-operator/cypress/cypress.config.js
Normal file
12
.vib/grafana-operator/cypress/cypress.config.js
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
module.exports = {
|
||||||
|
pageLoadTimeout: 120000,
|
||||||
|
defaultCommandTimeout: 30000,
|
||||||
|
env: {
|
||||||
|
username: 'test_admin',
|
||||||
|
password: 'ComplicatedPassword123!4',
|
||||||
|
},
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost/',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost/",
|
|
||||||
"pageLoadTimeout": 120000,
|
|
||||||
"defaultCommandTimeout": 30000,
|
|
||||||
"env": {
|
|
||||||
"username": "test_admin",
|
|
||||||
"password": "ComplicatedPassword123!4"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -29,14 +29,13 @@ it('allows creating and deleting a data source', () => {
|
|||||||
cy.fixture('datasources').then((datasource) => {
|
cy.fixture('datasources').then((datasource) => {
|
||||||
cy.contains('button', datasource.newDatasource.type).click({ force: true });
|
cy.contains('button', datasource.newDatasource.type).click({ force: true });
|
||||||
});
|
});
|
||||||
cy.get('#basic-settings-name').invoke('attr', 'value').as('datasourceName');
|
cy.get('#basic-settings-name').invoke('attr', 'value').then((datasourceName) => {
|
||||||
cy.visit('/datasources');
|
cy.visit('/datasources');
|
||||||
cy.get('@datasourceName').then((datasourceName) => {
|
|
||||||
cy.contains('a', datasourceName).click({ force: true });
|
cy.contains('a', datasourceName).click({ force: true });
|
||||||
|
cy.contains('button', 'Delete').click();
|
||||||
|
cy.get('[data-testid*="Confirm"]').click();
|
||||||
|
cy.get('[data-testid*="data-testid Alert success"]').should('be.visible');
|
||||||
});
|
});
|
||||||
cy.contains('button', 'Delete').click();
|
|
||||||
cy.get('[data-testid*="Confirm"]').click();
|
|
||||||
cy.get('[data-testid*="data-testid Alert success"]').should('be.visible');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('checks admin settings endpoint', () => {
|
it('checks admin settings endpoint', () => {
|
||||||
18
.vib/grafana-tempo/cypress/cypress.config.js
Normal file
18
.vib/grafana-tempo/cypress/cypress.config.js
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
compactorReplicaCount: '2',
|
||||||
|
distributorReplicaCount: '1',
|
||||||
|
ingesterReplicaCount: '1',
|
||||||
|
querierReplicaCount: '1',
|
||||||
|
metricsReplicaCount: '1',
|
||||||
|
gossipRingPort: '7946',
|
||||||
|
},
|
||||||
|
e2e: {
|
||||||
|
// We've imported your old cypress plugins here.
|
||||||
|
// You may want to clean this up later by importing these.
|
||||||
|
setupNodeEvents(on, config) {
|
||||||
|
return require('./cypress/plugins/index.js')(on, config)
|
||||||
|
},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost",
|
|
||||||
"env": {
|
|
||||||
"compactorReplicaCount": "2",
|
|
||||||
"distributorReplicaCount": "1",
|
|
||||||
"ingesterReplicaCount": "1",
|
|
||||||
"querierReplicaCount": "1",
|
|
||||||
"metricsReplicaCount": "1",
|
|
||||||
"gossipRingPort": "7946"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
25
.vib/grafana-tempo/cypress/cypress/support/e2e.js
Normal file
25
.vib/grafana-tempo/cypress/cypress/support/e2e.js
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* Copyright VMware, Inc.
|
||||||
|
* SPDX-License-Identifier: APACHE-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// ***********************************************************
|
||||||
|
// This example support/index.js is processed and
|
||||||
|
// loaded automatically before your test files.
|
||||||
|
//
|
||||||
|
// This is a great place to put global configuration and
|
||||||
|
// behavior that modifies Cypress.
|
||||||
|
//
|
||||||
|
// You can change the location of this file or turn off
|
||||||
|
// automatically serving support files with the
|
||||||
|
// 'supportFile' configuration option.
|
||||||
|
//
|
||||||
|
// You can read more here:
|
||||||
|
// https://on.cypress.io/configuration
|
||||||
|
// ***********************************************************
|
||||||
|
|
||||||
|
// Import commands.js using ES2015 syntax:
|
||||||
|
// import './commands';
|
||||||
|
|
||||||
|
// Alternatively you can use CommonJS syntax:
|
||||||
|
// require('./commands')
|
||||||
12
.vib/grafana/cypress/cypress.config.js
Normal file
12
.vib/grafana/cypress/cypress.config.js
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
module.exports = {
|
||||||
|
pageLoadTimeout: 120000,
|
||||||
|
defaultCommandTimeout: 30000,
|
||||||
|
env: {
|
||||||
|
username: 'test_admin',
|
||||||
|
password: 'ComplicatedPassword123!4',
|
||||||
|
},
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost/',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost/",
|
|
||||||
"pageLoadTimeout": 120000,
|
|
||||||
"defaultCommandTimeout": 30000,
|
|
||||||
"env": {
|
|
||||||
"username": "test_admin",
|
|
||||||
"password": "ComplicatedPassword123!4"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -30,14 +30,13 @@ it('allows creating and deleting a data source', () => {
|
|||||||
cy.fixture('datasources').then((datasource) => {
|
cy.fixture('datasources').then((datasource) => {
|
||||||
cy.contains('button', datasource.newDatasource.type).click({ force: true });
|
cy.contains('button', datasource.newDatasource.type).click({ force: true });
|
||||||
});
|
});
|
||||||
cy.get('#basic-settings-name').invoke('attr', 'value').as('datasourceName');
|
cy.get('#basic-settings-name').invoke('attr', 'value').then((datasourceName) => {
|
||||||
cy.visit('/datasources');
|
cy.visit('/datasources');
|
||||||
cy.get('@datasourceName').then((datasourceName) => {
|
|
||||||
cy.contains('a', datasourceName).click({ force: true });
|
cy.contains('a', datasourceName).click({ force: true });
|
||||||
|
cy.contains('button', 'Delete').click();
|
||||||
|
cy.get('[data-testid*="Confirm"]').click();
|
||||||
|
cy.get('[data-testid*="data-testid Alert success"]').should('be.visible');
|
||||||
});
|
});
|
||||||
cy.contains('button', 'Delete').click();
|
|
||||||
cy.get('[data-testid*="Confirm"]').click();
|
|
||||||
cy.get('[data-testid*="data-testid Alert success"]').should('be.visible');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('checks admin settings endpoint', () => {
|
it('checks admin settings endpoint', () => {
|
||||||
6
.vib/haproxy/cypress/cypress.config.js
Normal file
6
.vib/haproxy/cypress/cypress.config.js
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
module.exports = {
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'http://localhost',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "http://localhost"
|
|
||||||
}
|
|
||||||
25
.vib/haproxy/cypress/cypress/support/e2e.js
Normal file
25
.vib/haproxy/cypress/cypress/support/e2e.js
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* Copyright VMware, Inc.
|
||||||
|
* SPDX-License-Identifier: APACHE-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// ***********************************************************
|
||||||
|
// This example support/index.js is processed and
|
||||||
|
// loaded automatically before your test files.
|
||||||
|
//
|
||||||
|
// This is a great place to put global configuration and
|
||||||
|
// behavior that modifies Cypress.
|
||||||
|
//
|
||||||
|
// You can change the location of this file or turn off
|
||||||
|
// automatically serving support files with the
|
||||||
|
// 'supportFile' configuration option.
|
||||||
|
//
|
||||||
|
// You can read more here:
|
||||||
|
// https://on.cypress.io/configuration
|
||||||
|
// ***********************************************************
|
||||||
|
|
||||||
|
// Import commands.js using ES2015 syntax:
|
||||||
|
// import './commands';
|
||||||
|
|
||||||
|
// Alternatively you can use CommonJS syntax:
|
||||||
|
// require('./commands')
|
||||||
11
.vib/harbor/cypress/cypress.config.js
Normal file
11
.vib/harbor/cypress/cypress.config.js
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
username: 'admin',
|
||||||
|
password: 'ComplicatedPassword123!4',
|
||||||
|
},
|
||||||
|
defaultCommandTimeout: 30000,
|
||||||
|
e2e: {
|
||||||
|
setupNodeEvents(on, config) {},
|
||||||
|
baseUrl: 'https://localhost/',
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "https://localhost/",
|
|
||||||
"env": {
|
|
||||||
"username": "admin",
|
|
||||||
"password": "ComplicatedPassword123!4"
|
|
||||||
},
|
|
||||||
"defaultCommandTimeout": 30000
|
|
||||||
}
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user