mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 04:46:05 +00:00
implement/init e2e tests (#135)
* init e2e * updated/moved vitest, finished merge * fix bun picking up e2e tests * e2e: overwrite webserver config with env * e2e: added adapter configs * e2e: replaced image
This commit is contained in:
@@ -21,6 +21,7 @@ import { Link, isLinkActive } from "ui/components/wouter/Link";
|
||||
import { useBrowserTitle } from "ui/hooks/use-browser-title";
|
||||
import * as AppShell from "ui/layouts/AppShell/AppShell";
|
||||
import { routes, useNavigate, useRouteNavigate } from "ui/lib/routes";
|
||||
import { testIds } from "ui/lib/config";
|
||||
|
||||
export function DataRoot({ children }) {
|
||||
// @todo: settings routes should be centralized
|
||||
@@ -269,6 +270,7 @@ export function DataEmpty() {
|
||||
}}
|
||||
primary={{
|
||||
children: "Create entity",
|
||||
"data-testid": testIds.data.btnCreateEntity,
|
||||
onClick: $data.modals.createEntity,
|
||||
}}
|
||||
/>
|
||||
|
||||
@@ -139,6 +139,7 @@ function Adapters() {
|
||||
<Button
|
||||
key={i}
|
||||
onClick={() => ctx.select(i)}
|
||||
id={`adapter-${schema.properties.type.const}`}
|
||||
variant={ctx.selected === i ? "primary" : "outline"}
|
||||
className={twMerge(
|
||||
"flex flex-row items-center justify-center gap-3 border",
|
||||
|
||||
Reference in New Issue
Block a user