Skip to content

Commit b3fb0e1

Browse files
authored
fix: keep application if it fails on stage (#717)
Keep application and its artifact in case of failure on stage check Jira KFLUXUI-1032 Assisted-by: Cursor
1 parent 302a871 commit b3fb0e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e-tests/tests/basic-happy-path.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ describe('Basic Happy Path', () => {
219219
describe('Delete the application via UI', () => {
220220
before(function () {
221221
// Skip deletion if any previous test has failed on stage - preserve app for debugging
222-
if (hasTestFailed && Cypress.env('PERIODIC_RUN_STAGE') === 'true') {
222+
if (hasTestFailed && Cypress.env('PERIODIC_RUN_STAGE')) {
223223
cy.log('⚠️ Skipping application deletion - previous tests failed');
224224
cy.log(`Application "${applicationName}" will be preserved for debugging`);
225225
this.skip();

0 commit comments

Comments
 (0)