Skip to content

Commit bb36721

Browse files
committed
test: Update browser list empty message assert
1 parent b0b666b commit bb36721

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

cmd/browsers_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func TestBrowsersList_PrintsEmptyMessage(t *testing.T) {
109109
_ = b.List(context.Background(), BrowsersListInput{})
110110

111111
out := outBuf.String()
112-
assert.Contains(t, out, "No running or persistent browsers found")
112+
assert.Contains(t, out, "No running browsers found")
113113
}
114114

115115
func TestBrowsersList_PrintsTableWithRows(t *testing.T) {
@@ -527,13 +527,13 @@ func makeStream[T any](vals []T) *ssestream.Stream[T] {
527527
// --- Fake for Computer ---
528528

529529
type FakeComputerService struct {
530-
ClickMouseFunc func(ctx context.Context, id string, body kernel.BrowserComputerClickMouseParams, opts ...option.RequestOption) error
531-
MoveMouseFunc func(ctx context.Context, id string, body kernel.BrowserComputerMoveMouseParams, opts ...option.RequestOption) error
532-
CaptureScreenshotFunc func(ctx context.Context, id string, body kernel.BrowserComputerCaptureScreenshotParams, opts ...option.RequestOption) (*http.Response, error)
533-
PressKeyFunc func(ctx context.Context, id string, body kernel.BrowserComputerPressKeyParams, opts ...option.RequestOption) error
534-
ScrollFunc func(ctx context.Context, id string, body kernel.BrowserComputerScrollParams, opts ...option.RequestOption) error
535-
DragMouseFunc func(ctx context.Context, id string, body kernel.BrowserComputerDragMouseParams, opts ...option.RequestOption) error
536-
TypeTextFunc func(ctx context.Context, id string, body kernel.BrowserComputerTypeTextParams, opts ...option.RequestOption) error
530+
ClickMouseFunc func(ctx context.Context, id string, body kernel.BrowserComputerClickMouseParams, opts ...option.RequestOption) error
531+
MoveMouseFunc func(ctx context.Context, id string, body kernel.BrowserComputerMoveMouseParams, opts ...option.RequestOption) error
532+
CaptureScreenshotFunc func(ctx context.Context, id string, body kernel.BrowserComputerCaptureScreenshotParams, opts ...option.RequestOption) (*http.Response, error)
533+
PressKeyFunc func(ctx context.Context, id string, body kernel.BrowserComputerPressKeyParams, opts ...option.RequestOption) error
534+
ScrollFunc func(ctx context.Context, id string, body kernel.BrowserComputerScrollParams, opts ...option.RequestOption) error
535+
DragMouseFunc func(ctx context.Context, id string, body kernel.BrowserComputerDragMouseParams, opts ...option.RequestOption) error
536+
TypeTextFunc func(ctx context.Context, id string, body kernel.BrowserComputerTypeTextParams, opts ...option.RequestOption) error
537537
SetCursorVisibilityFunc func(ctx context.Context, id string, body kernel.BrowserComputerSetCursorVisibilityParams, opts ...option.RequestOption) (*kernel.BrowserComputerSetCursorVisibilityResponse, error)
538538
}
539539

0 commit comments

Comments
 (0)