summaryrefslogtreecommitdiffstats
path: root/pkg/integration/tests/commit/staged_without_hooks.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/integration/tests/commit/staged_without_hooks.go')
-rw-r--r--pkg/integration/tests/commit/staged_without_hooks.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkg/integration/tests/commit/staged_without_hooks.go b/pkg/integration/tests/commit/staged_without_hooks.go
index 620f712f9..dcf20d08d 100644
--- a/pkg/integration/tests/commit/staged_without_hooks.go
+++ b/pkg/integration/tests/commit/staged_without_hooks.go
@@ -53,8 +53,12 @@ var StagedWithoutHooks = NewIntegrationTest(NewIntegrationTestArgs{
Contains("WIP" + commitMessage),
)
- t.Views().StagingSecondary().IsFocused()
+ t.Views().StagingSecondary().
+ IsEmpty()
- // TODO: assert that the staging panel has been refreshed (it currently does not get correctly refreshed)
+ t.Views().Staging().
+ IsFocused().
+ Content(Contains("+myfile content")).
+ Content(DoesNotContain("+with a second line"))
},
})