Skip to content

Commit

Permalink
Updated tests as they are failing in different circumstances.
Browse files Browse the repository at this point in the history
  • Loading branch information
andyuk1986 authored and karesti committed Sep 4, 2024
1 parent 9cb58fd commit fbaa408
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/1_cluster-welcome.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 2 additions & 0 deletions cypress/e2e/3_proto-schema.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit fbaa408

Please sign in to comment.