Mislav Marohnić
d22e72a373
Fix tests broken by incompatible merges
2021-03-30 18:39:37 +02:00
Mislav Marohnić
44ae7ae3cf
Merge pull request #3279 from cli/browser-refactor
...
Pass web browser to each individual command
2021-03-30 16:54:59 +02:00
Mislav Marohnić
63a47d0334
Merge pull request #3295 from cli/labels-and-combinator
...
BREAKING: lookup all issue/PR labels with "AND" instead of "OR"
2021-03-30 16:52:14 +02:00
Mislav Marohnić
2fa8a85813
Unify checking whether search filters were passed by the user
2021-03-24 18:11:21 +01:00
Mislav Marohnić
949df38d49
BREAKING: lookup all issue/PR labels with "AND" instead of "OR" combinator
...
This switches to the Search API whenever labels are specified in `issue
list` or `pr list`. This ensures that the results match those that would
be returned in the web UI.
2021-03-24 18:04:25 +01:00
Mislav Marohnić
01bbb15b57
Add pr list --search
2021-03-24 16:46:45 +01:00
Gowtham Munukutla
70d4873914
add generic search naming for issues and PRs @samcoe
2021-03-23 18:10:46 +01:00
Mislav Marohnić
80035aa686
💅 cleanup switching to search mode in issue list
2021-03-23 18:08:14 +01:00
Gowtham Munukutla
f791bbdbcb
add search feature in listing issues
2021-03-23 18:08:14 +01:00
Mislav Marohnić
111e8dbcf2
Pass web browser to each individual command
...
This removes sensitivity to the BROWSER environment variable in tests
and makes it easier to verify the URL that the browser was invoked with
without having to stub sub-processes.
2021-03-19 21:22:37 +01:00
Devon Romanko
877cbbb5dc
use Stub instead of SetPrepareCmd in 'issue list' tests
2021-01-26 08:14:29 -05:00
Mislav Marohnić
e334a1f10c
Add docs for using @me to reference self
2021-01-22 22:14:47 +01:00
Mislav Marohnić
28c2d042e7
Extend @me replacing behavior to issue list
2021-01-22 22:05:33 +01:00
Mislav Marohnić
06cf2c9f81
Merge remote-tracking branch 'origin' into cmd-stub-new
2021-01-22 16:31:29 +01:00
Cristian Dominguez
45f4a1f087
Equal: flip arguments position
2021-01-18 21:00:59 -03:00
Mislav Marohnić
fc77cbc964
Deprecate test.ExpectLines
...
For asserting command output, exact string matches are preferred in most cases. In cases when a pattern match is needed, the test can use regexp ad hoc.
2021-01-18 23:25:45 +01:00
Mislav Marohnić
c308f1cd91
Prevent further use of SetPrepareCmd and InitCmdStubber
2021-01-18 22:44:53 +01:00
Cristian Dominguez
3afb1d0b1a
Use Testify assertions in test
2021-01-16 19:19:30 -03:00
Cristian Dominguez
ce151420f3
Migrate legacy tests
2021-01-11 21:07:19 -03:00
Mislav Marohnić
ccfe38de26
Add PAGER support to commands that produce significant output
2020-09-04 23:36:14 +02:00
vilmibm
2753f6fa48
Merge remote-tracking branch 'origin/trunk' into fix-milestone
2020-08-19 12:31:32 -05:00
Mislav Marohnić
c00fe73d5a
Isolate issue commands
2020-08-07 00:27:55 +02:00