summaryrefslogtreecommitdiffhomepage
path: root/frontend/src/pages/System/system.test.tsx
blob: f9c0b5daddd65c71d1727df3638330bb8d15f98c (plain)
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
import { renderTest, RenderTestCase } from "@/tests/render";
import SystemBackupsView from "./Backups";
import SystemLogsView from "./Logs";
import SystemProvidersView from "./Providers";
import SystemReleasesView from "./Releases";
import SystemStatusView from "./Status";
import SystemTasksView from "./Tasks";

const cases: RenderTestCase[] = [
  {
    name: "backups page",
    ui: SystemBackupsView,
  },
  {
    name: "logs page",
    ui: SystemLogsView,
  },
  {
    name: "providers page",
    ui: SystemProvidersView,
  },
  {
    name: "releases page",
    ui: SystemReleasesView,
  },
  {
    name: "status page",
    ui: SystemStatusView,
  },
  {
    name: "tasks page",
    ui: SystemTasksView,
  },
];

renderTest("System", cases);