diff --git a/frontend/packages/integration-tests-cypress/support/login.ts b/frontend/packages/integration-tests-cypress/support/login.ts index 8fa27413e56..35aa70c36e5 100644 --- a/frontend/packages/integration-tests-cypress/support/login.ts +++ b/frontend/packages/integration-tests-cypress/support/login.ts @@ -74,6 +74,12 @@ Cypress.Commands.add( validate() { cy.visit(Cypress.config('baseUrl')); cy.byTestID('user-dropdown-toggle').should('exist'); + cy.get('main').should('be.visible'); + if (username === 'kubeadmin') { + cy.byTestID('getting-started').should('be.visible'); + } else { + cy.get('.loading-box__loaded').should('exist'); + } }, }, ); diff --git a/frontend/packages/integration-tests-cypress/views/alertmanager.ts b/frontend/packages/integration-tests-cypress/views/alertmanager.ts index f5e7f1bf139..e1733c651b7 100644 --- a/frontend/packages/integration-tests-cypress/views/alertmanager.ts +++ b/frontend/packages/integration-tests-cypress/views/alertmanager.ts @@ -81,6 +81,8 @@ export const alertmanager = { }, visitEditPage: (receiverName: string) => { cy.visit(`/settings/cluster/alertmanagerconfig/receivers/${receiverName}/edit`); + cy.byTestID('receiver-name').should('exist'); + cy.byTestID('save-changes').should('exist'); }, visitYAMLPage: () => { detailsPage.selectTab('YAML');