Skip to content

Commit 3970d1a

Browse files
committed
Tests: Remove check for main button existence in "before all" hook
The individual tests also do this check, so it's redundant
1 parent 975e3d8 commit 3970d1a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/tests/lightspeed-install.cy.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -184,16 +184,6 @@ spec:
184184
defaultProvider: openai
185185
logLevel: INFO`;
186186
cy.exec(`echo '${config}' | oc create -f - --kubeconfig ${Cypress.env('KUBECONFIG_PATH')}`);
187-
188-
cy.get('body').then(($body) => {
189-
if ($body.find('.pf-v5-c-alert:contains("Web console update is available")').length > 0) {
190-
cy.get('.pf-v5-c-alert', { timeout: 2 * MINUTE })
191-
.contains('Web console update is available', { timeout: 2 * MINUTE })
192-
.should('exist');
193-
} else {
194-
cy.get(mainButton, { timeout: 5 * MINUTE }).should('exist');
195-
}
196-
});
197187
});
198188

199189
after(() => {

0 commit comments

Comments
 (0)