[bitnami/consul] Update tests to Cypress 13 (#23780)

Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com>
This commit is contained in:
Jose Antonio Carmona
2024-02-22 10:09:23 +01:00
committed by GitHub
parent f3cb7d5103
commit c941cb6e00
4 changed files with 13 additions and 10 deletions

View File

@@ -0,0 +1,12 @@
module.exports = {
pageLoadTimeout: 240000,
defaultCommandTimeout: 60000,
env: {
datacenterName: 'datacenter1',
replicaCount: '3',
},
e2e: {
setupNodeEvents(on, config) {},
baseUrl: 'http://localhost',
},
}

View File

@@ -1,9 +0,0 @@
{
"baseUrl": "http://localhost",
"pageLoadTimeout": 240000,
"defaultCommandTimeout": 60000,
"env": {
"datacenterName": "datacenter1",
"replicaCount": "3"
}
}

View File

@@ -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');
});
});