Skip to content

Add acceptance tests for non-interactive Issues 2.0 flows - #13414

Merged
BagToad merged 2 commits into
kw/issues-2.0-overwrite-parent-on-add-sub-issuefrom
kw/issues-2.0-acceptance-tests
Jun 4, 2026
Merged

BagToad merged 2 commits into
kw/issues-2.0-overwrite-parent-on-add-sub-issuefrom
kw/issues-2.0-acceptance-tests

Conversation

@BagToad

@BagToad BagToad commented May 13, 2026

Copy link
Copy Markdown
Member

End-to-end coverage for the new flag surface, in a dedicated TestIssues2_0 suite under acceptance/testdata/issues-2.0/:

  • issue-create-and-edit-issue-type.txtar: --type on create + edit, --remove-type on edit
  • issue-create-and-edit-parent.txtar: --parent on create + edit, --remove-parent on edit
  • issue-edit-sub-issues.txtar: --add-sub-issue (including the silent take-over of an existing parent from Overwrite existing parent on gh issue edit --add-sub-issue #13413) + --remove-sub-issue
  • issue-create-and-edit-relationships.txtar: --blocked-by / --blocking on create, add/remove on edit
  • issue-list-filter-by-type.txtar: gh issue list --type Bug
  • issue-view-issues-2.0-fields.txtar: non-tty view shows the new Issues 2.0 fields

All six tests pass against gh-acceptance-testing on github.com (~17s parallel).

Stacked on top of #13413.

Cover the new flag surface end to end against a real GitHub repo:
issue type set/remove on create and edit, parent set/remove on create
and edit, sub-issue add/remove (including the silent take-over of an
existing parent), blocked-by/blocking add/remove on create and edit,
list filtering by type, and the new non-tty view fields. Live in a
dedicated TestIssues2_0 suite so they're easy to run in isolation.
@BagToad
BagToad requested a review from a team as a code owner May 13, 2026 03:55
@BagToad
BagToad requested review from babakks and removed request for a team May 13, 2026 03:55
Signed-off-by: Babak K. Shandiz <babakks@github.com>
@babakks

babakks commented May 26, 2026

Copy link
Copy Markdown
Member

We just fixed an async problem and pushed a sleep for it.

@BagToad
BagToad merged commit ee99577 into kw/issues-2.0-overwrite-parent-on-add-sub-issue Jun 4, 2026
7 of 8 checks passed
@BagToad
BagToad deleted the kw/issues-2.0-acceptance-tests branch June 4, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants