You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: shared.go
    path of file: ./repos/lazygit/pkg/integration/tests/filter_by_path
    
    the code of the file until where you have to start completion: package filter_by_path

import (
	. "github.com/jesseduffield/lazygit/pkg/integration/components"
)

func commonSetup(shell *Shell) {
	shell.CreateFileAndAdd("filterFile", "original filterFile content")
	shell.CreateFileAndAdd("
    
func postFilterTest(t *TestDriver) {
	t.Views().Information().Content(Contains("Filtering by 'filterFile'"))

	t.Views().Commits().
		IsFocused().
		Lines(
			Contains(`only filterFile`).IsSelected(),
			Contains(`both files`),
		).
		SelectNextItem().
		PressEnter()

	// we only show the filtered file's changes in the main view
	t.Views().Main().
		Content(Contains("filterFile").DoesNotContain("otherFile"))

	// when you click into the commit itself, you see all files from that commit
	t.Views().CommitFiles().
		IsFocused().
		Lines(
			Contains(`filterFile`),
			Contains(`otherFile`),
		)
}