diff --git a/editor/pages/tests/reports/how-to-setup.tsx b/editor/pages/tests/reports/how-to-setup.tsx new file mode 100644 index 00000000..ba3a283b --- /dev/null +++ b/editor/pages/tests/reports/how-to-setup.tsx @@ -0,0 +1,66 @@ +import Head from "next/head"; +import { useRouter } from "next/router"; +import React from "react"; + +export default function HowToSetupReports() { + const router = useRouter(); + + return ( + <> + + How to setup local server for @codetest/reports + + +
+

+ How to setup local server for @codetest/reports +

+

+ @codetest/reports is a package that allows you to run + engine tests locally, due to its high maintainance cost, we don't + provide official reports server yet. +
+
+ To generate reports, run the following command: +
+
+ + cd testing/reports +
+ yarn build +
+ yarn start +
+
+
+ To run local reports server, run the following command: +
+
+ + cd testing/server +
+ yarn dev +
+
+
+ Go back to the page after server has started +
+
+ +

+
+ + ); +}