create test case list table

This commit is contained in:
Takeshi Kimata
2024-02-24 15:06:28 +09:00
parent 73fae0d924
commit c93262f89d
2 changed files with 243 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ import Config from "@/config/config";
const apiServer = Config.apiServer;
import { Listbox, ListboxItem } from "@nextui-org/react";
import { useRouter } from "next/navigation";
import TestCaseTable from "./test-case-table";
/**
* fetch folder records
@@ -56,7 +57,7 @@ export default function Page({
return (
<>
<Listbox aria-label="Listbox Variants">
{/* <Listbox aria-label="Listbox Variants">
{cases.map((testCase, index) => (
<ListboxItem
key={index}
@@ -69,7 +70,8 @@ export default function Page({
{testCase.title}
</ListboxItem>
))}
</Listbox>
</Listbox> */}
<TestCaseTable cases={cases}/>
</>
);
}