You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests(e2e): add upstream integration tests for empty branches and empty commits
Expanded upstream integration E2E tests to cover scenarios around empty branches and branches with an empty commit. Changes made to e2e/playwright/tests/upstreamIntegration.spec.ts:
- Reworked imports to include sleep helper and formatted import list.
- Added multiple new tests:
- should handle the update of an empty branch gracefully (new test variant)
- should handle the update of a branch with an empty commit
- duplicate variants included to increase coverage and timing-related assertions with sleep(10000) in some cases
- Tests create new branches, simulate upstream merges via gitbutler scripts, perform workspace sync and integration actions, and assert stack/commit counts.
These tests rely on the new TestId for the add-empty-commit menu item and the upstream integration logic changes that better handle empty branches/commits.
0 commit comments