Skip to content

Commit a05c594

Browse files
committed
test: update commit integration tests
1 parent 7879dde commit a05c594

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/integration/tests/commit/add_co_author.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var AddCoAuthor = NewIntegrationTest(NewIntegrationTestArgs{
1919
Lines(
2020
Contains("initial commit").IsSelected(),
2121
).
22-
Press(keys.Commits.ResetCommitAuthor).
22+
Press(keys.Commits.AmendAttributeMenu).
2323
Tap(func() {
2424
t.ExpectPopup().Menu().
2525
Title(Equals("Amend commit attribute")).

pkg/integration/tests/commit/reset_author.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var ResetAuthor = NewIntegrationTest(NewIntegrationTestArgs{
2525
Lines(
2626
Contains("BS").Contains("one").IsSelected(),
2727
).
28-
Press(keys.Commits.ResetCommitAuthor).
28+
Press(keys.Commits.AmendAttributeMenu).
2929
Tap(func() {
3030
t.ExpectPopup().Menu().
3131
Title(Equals("Amend commit attribute")).

pkg/integration/tests/commit/set_author.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var SetAuthor = NewIntegrationTest(NewIntegrationTestArgs{
5757

5858
t.Views().Commits().
5959
Focus().
60-
Press(keys.Commits.ResetCommitAuthor).
60+
Press(keys.Commits.AmendAttributeMenu).
6161
Tap(func() {
6262
t.ExpectPopup().Menu().
6363
Title(Equals("Amend commit attribute")).

0 commit comments

Comments
 (0)