mirror of
https://github.com/bitnami/charts.git
synced 2026-04-07 09:47:26 +08:00
[bitnami/consul] Update tests to Cypress 13 (#23780)
Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com>
This commit is contained in:
committed by
GitHub
parent
f3cb7d5103
commit
c941cb6e00
12
.vib/consul/cypress/cypress.config.js
Normal file
12
.vib/consul/cypress/cypress.config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
module.exports = {
|
||||
pageLoadTimeout: 240000,
|
||||
defaultCommandTimeout: 60000,
|
||||
env: {
|
||||
datacenterName: 'datacenter1',
|
||||
replicaCount: '3',
|
||||
},
|
||||
e2e: {
|
||||
setupNodeEvents(on, config) {},
|
||||
baseUrl: 'http://localhost',
|
||||
},
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"baseUrl": "http://localhost",
|
||||
"pageLoadTimeout": 240000,
|
||||
"defaultCommandTimeout": 60000,
|
||||
"env": {
|
||||
"datacenterName": "datacenter1",
|
||||
"replicaCount": "3"
|
||||
}
|
||||
}
|
||||
@@ -19,7 +19,7 @@ it('is able to display all of the nodes', () => {
|
||||
cy.contains('Agent alive and reachable');
|
||||
cy.contains('Service Instances').click();
|
||||
cy.contains('Metadata').click();
|
||||
cy.get('.ember-view').within(() => {
|
||||
cy.get('tbody.ember-view').within(() => {
|
||||
cy.contains('consul-network-segment');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user