diff --git a/pkg/integration/tests/filter_by_path/select_file.go b/pkg/integration/tests/filter_by_path/select_file.go index 6c1243dc8..80a69a2b4 100644 --- a/pkg/integration/tests/filter_by_path/select_file.go +++ b/pkg/integration/tests/filter_by_path/select_file.go @@ -18,10 +18,12 @@ var SelectFile = NewIntegrationTest(NewIntegrationTestArgs{ t.Views().Commits(). Focus(). Lines( - Contains(`only filterFile`).IsSelected(), + Contains(`none of the two`).IsSelected(), + Contains(`only filterFile`), Contains(`only otherFile`), Contains(`both files`), ). + SelectNextItem(). PressEnter() // when you click into the commit itself, you see all files from that commit diff --git a/pkg/integration/tests/filter_by_path/shared.go b/pkg/integration/tests/filter_by_path/shared.go index 93e5e0a3d..675a2d9df 100644 --- a/pkg/integration/tests/filter_by_path/shared.go +++ b/pkg/integration/tests/filter_by_path/shared.go @@ -14,6 +14,8 @@ func commonSetup(shell *Shell) { shell.UpdateFileAndAdd("filterFile", "new filterFile content") shell.Commit("only filterFile") + + shell.EmptyCommit("none of the two") } func postFilterTest(t *TestDriver) {