diff --git a/cypress/e2e/1_cluster-welcome.cy.js b/cypress/e2e/1_cluster-welcome.cy.js index f1bc3d6f..444c2c3d 100644 --- a/cypress/e2e/1_cluster-welcome.cy.js +++ b/cypress/e2e/1_cluster-welcome.cy.js @@ -80,7 +80,7 @@ describe('Welcome page', () => { cy.get('[role=dialog]').should('be.visible'); cy.contains('Version'); cy.get('body').then(($body) => { - if (!$body.text().includes('Red Hat Datagrid')) { + if (!$body.text().includes('Red Hat Data Grid')) { //Checks if links from About dialog work properly cy.get('a[href*="github"').should('exist'); cy.get('a[href*="zulipchat"').should('exist'); diff --git a/cypress/e2e/3_proto-schema.cy.js b/cypress/e2e/3_proto-schema.cy.js index 782494b2..ffeef53b 100644 --- a/cypress/e2e/3_proto-schema.cy.js +++ b/cypress/e2e/3_proto-schema.cy.js @@ -72,6 +72,8 @@ describe('Proto Schema CRUD', () => { cy.get('button[aria-label="confirm-edit-schema-button"]').click(); cy.contains('Schema ' + schemaName +'.proto updated.'); cy.get('.pf-v5-c-alert__action > .pf-v5-c-button').click(); //Closing alert popup. + //Waiting 5 seconds so that the proto schema is managed to be updated on the page. + cy.wait(5000); cy.get('[data-cy="' + schemaName + '.protoConfig"]').click(); cy.contains('schemaValue').should('not.exist');