Skip to content

Commit e17b2f9

Browse files
committed
Adapt integration tests
1 parent 4658313 commit e17b2f9

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

apps/desktop/cypress/e2e/support/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,11 @@ Cypress.on('window:before:load', (win) => {
180180
return await Promise.resolve({});
181181
case 'plugin:log|log':
182182
return await Promise.resolve({});
183+
case 'plugin:window|title':
184+
case 'plugin:app|name':
185+
return 'GitButler';
186+
case 'plugin:app|version':
187+
return '0.0.0';
183188
default:
184189
return raiseMissingMockError(command);
185190
}

apps/desktop/cypress/e2e/upstreamIntegration.cy.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,27 +84,27 @@ describe('Upstream Integration', () => {
8484
projectId: PROJECT_ID,
8585
resolutions: [
8686
{
87-
branchId: 'stack-a-id',
87+
stackId: 'stack-a-id',
8888
approach: { type: 'rebase' },
8989
deleteIntegratedBranches: true,
9090
forceIntegratedBranches: []
9191
},
9292
{
93-
branchId: 'stack-b-id',
93+
stackId: 'stack-b-id',
9494
approach: { type: 'delete' },
9595
deleteIntegratedBranches: false,
9696
forceIntegratedBranches: []
9797
},
9898
{
99-
branchId: 'stack-c-id',
99+
stackId: 'stack-c-id',
100100
approach: {
101101
type: 'delete'
102102
},
103103
deleteIntegratedBranches: true,
104104
forceIntegratedBranches: []
105105
}
106106
],
107-
branchResolution: undefined
107+
baseBranchResolution: undefined
108108
});
109109
});
110110
});

0 commit comments

Comments
 (0)