summaryrefslogtreecommitdiff
path: root/tests/browser_replay_dump.zon
blob: bee296d7f0bcc48e98f85d5e4874997e8dab7684 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
.{
    .screen = .{ .cols = 80, .rows = 24 },
    .active = 0,
    .topbar = "pardes replay browser e2e",
    .theme = "dark",
    .columns = .{
        .{ .weight = 1, .panes = .{ 0 } },
        .{ .weight = 1, .panes = .{ 1 } },
    },
    .panes = .{
        .{
            .kind = .file,
            .tag = "nm browser_replay.zig Del",
            .body =
                \\const message = "browser replay shader path";
                \\pub fn main() void {
                \\    // This fixture should render in WebGL.
                \\}
            ,
            .scroll = 0,
            .cols = 80,
            .rows = 12,
            .vweight = 1,
            .file = .{
                .path = "browser_replay.zig",
                .content =
                    \\const message = "browser replay shader path";
                    \\pub fn main() void {
                    \\    // This fixture should render in WebGL.
                    \\}
                ,
            },
        },
        .{
            .kind = .terminal,
            .tag = "sh /tmp Del",
            .body =
                \\$ zig build replay -Dtarget=wasm32-emscripten
                \\browser e2e marker 4200
            ,
            .scroll = 0,
            .cols = 80,
            .rows = 10,
            .vweight = 1,
            .terminal = .{
                .cwd = "/tmp",
                .stream =
                    \\$ zig build replay -Dtarget=wasm32-emscripten
                    \\browser e2e marker 4200
                ,
            },
        },
    },
}