Skip to content

Commit

Permalink
WIP Start adapting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaller committed Mar 1, 2025
1 parent 2ee500c commit b5db34b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/integration/tests/branch/reset_to_upstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ var ResetToUpstream = NewIntegrationTest(NewIntegrationTestArgs{
Contains("hard commit"),
)
t.Views().Files().Lines(
Contains("<root>"),
Contains("file-1").Contains("A"),
Contains("file-2").Contains("A"),
)
Expand Down
2 changes: 2 additions & 0 deletions pkg/integration/tests/undo/undo_commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ var UndoCommit = NewIntegrationTest(NewIntegrationTestArgs{

t.Views().Files().
Lines(
Contains("<root>"),
Contains("A file"),
Contains(" M other-file"),
)
Expand Down Expand Up @@ -84,6 +85,7 @@ var UndoCommit = NewIntegrationTest(NewIntegrationTestArgs{

t.Views().Files().Focus().
Lines(
Contains("<root>"),
Contains("A file"),
Contains(" M other-file").IsSelected(),
).
Expand Down

0 comments on commit b5db34b

Please sign in to comment.