diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-07-22 14:05:42 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-07-22 14:36:35 +1000 |
commit | 7807b403229cb57f261d97d15a76d0b35b15e19a (patch) | |
tree | 6e243e0a712a644e579e44fe055cd1054bf51523 /pkg/integration/tests/tag/crud_lightweight.go | |
parent | b284970bac62364c2cccf6a2408d4584ae93056d (diff) |
Better tag creation UX
Previously we used a single-line prompt for a tag annotation. Now we're using the commit message
prompt.
I've had to update other uses of that prompt to allow the summary and description labels to
be passed in
Diffstat (limited to 'pkg/integration/tests/tag/crud_lightweight.go')
-rw-r--r-- | pkg/integration/tests/tag/crud_lightweight.go | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/pkg/integration/tests/tag/crud_lightweight.go b/pkg/integration/tests/tag/crud_lightweight.go index 12d75a05a..ce5ff9e42 100644 --- a/pkg/integration/tests/tag/crud_lightweight.go +++ b/pkg/integration/tests/tag/crud_lightweight.go @@ -19,13 +19,8 @@ var CrudLightweight = NewIntegrationTest(NewIntegrationTestArgs{ IsEmpty(). Press(keys.Universal.New). Tap(func() { - t.ExpectPopup().Menu(). - Title(Equals("Create tag")). - Select(Contains("Lightweight")). - Confirm() - - t.ExpectPopup().Prompt(). - Title(Equals("Tag name:")). + t.ExpectPopup().CommitMessagePanel(). + Title(Equals("Tag name")). Type("new-tag"). Confirm() }). |