Skip to content

Commit e18ec08

Browse files
committed
test: update goldens
1 parent 11959a5 commit e18ec08

File tree

5 files changed

+37
-257
lines changed

5 files changed

+37
-257
lines changed

tests/browse_cmds_e2e_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var _ = Describe("browse TUI", func() {
4747
})
4848

4949
Specify("narrow snapshot", func() {
50-
tm := teatest.NewTestModel(GinkgoTB(), container, teatest.WithInitialTermSize(80, 80))
50+
tm := teatest.NewTestModel(GinkgoTB(), container, teatest.WithInitialTermSize(80, 25))
5151
// container.Program().SetTeaProgram(tm.GetProgram())
5252
container.SetSendFunc(tm.Send)
5353

@@ -74,7 +74,7 @@ var _ = Describe("browse TUI", func() {
7474
})
7575

7676
Specify("wide snapshot", func() {
77-
tm := teatest.NewTestModel(GinkgoTB(), container, teatest.WithInitialTermSize(200, 80))
77+
tm := teatest.NewTestModel(GinkgoTB(), container, teatest.WithInitialTermSize(150, 25))
7878
container.SetSendFunc(tm.Send)
7979

8080
wsList, err := ctx.WorkspacesCache.GetWorkspaceConfigList(ctx.Logger)
@@ -100,7 +100,7 @@ var _ = Describe("browse TUI", func() {
100100
})
101101

102102
Specify("list snapshot", func() {
103-
tm := teatest.NewTestModel(GinkgoTB(), container, teatest.WithInitialTermSize(80, 80))
103+
tm := teatest.NewTestModel(GinkgoTB(), container, teatest.WithInitialTermSize(80, 25))
104104
container.SetSendFunc(tm.Send)
105105

106106
execList, err := ctx.ExecutableCache.GetExecutableList(ctx.Logger)
@@ -126,7 +126,7 @@ var _ = Describe("browse TUI", func() {
126126
}
127127
exec.SetContext("default", ctx.WorkspaceDir(), "", path)
128128

129-
tm := teatest.NewTestModel(GinkgoTB(), container, teatest.WithInitialTermSize(80, 80))
129+
tm := teatest.NewTestModel(GinkgoTB(), container, teatest.WithInitialTermSize(80, 25))
130130
container.SetSendFunc(tm.Send)
131131

132132
execView := execIO.NewExecutableView(ctx.Context, exec, runFunc)

tests/testdata/browse TUI exec snapshot.golden

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -21,60 +21,5 @@
2121

2222

2323

24-
25-
26-
27-
28-
29-
30-
31-
32-
33-
34-
35-
36-
37-
38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
50-
51-
52-
53-
54-
55-
56-
57-
58-
59-
60-
61-
62-
63-
64-
65-
66-
67-
68-
69-
70-
71-
72-
73-
74-
75-
76-
77-
78-
7924
────────────────────────────────────────────────────────────────────────────────
8025
[ q: quit ] [ h: show help ] [?2004l[?25h[?1002l[?1003l[?1006l

tests/testdata/browse TUI list snapshot.golden

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -29,60 +29,5 @@
2929

3030

3131

32-
33-
34-
35-
36-
37-
38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
50-
51-
52-
53-
54-
55-
56-
57-
58-
59-
60-
61-
62-
63-
64-
65-
66-
67-
68-
69-
70-
71-
72-
73-
74-
75-
76-
77-
78-
79-
80-
81-
82-
83-
84-
85-
86-
8732
────────────────────────────────────────────────────────────────────────────────
8833
[ q: quit ] [ h: show help ] [?2004l[?25h[?1002l[?1003l[?1006l

tests/testdata/browse TUI narrow snapshot.golden

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -20,61 +20,6 @@
2020

2121

2222

23-
24-
25-
26-
27-
28-
29-
30-
31-
32-
33-
34-
35-
36-
37-
38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
50-
51-
52-
53-
54-
55-
56-
57-
58-
59-
60-
61-
62-
63-
64-
65-
66-
67-
68-
69-
70-
71-
72-
73-
74-
75-
76-
77-
7823
────────────────────────────────────────────────────────────────────────────────
7924
[ q/ctrl+c: quit] [ h: help ] ● Default Workspace ->
8025
/TMPDIR/default[?2004l[?25h[?1002l[?1003l[?1006l

0 commit comments

Comments
 (0)