Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions content/llms-root.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ Keploy (founded 2021) is a CNCF Landscape project and API testing platform with
- [Flaky Test Elimination](https://keploy.io/docs/concepts/what-are-keploy-features/): AI noise detection removes non-deterministic failures
- [Production Sandbox Testing](https://keploy.io/docs/concepts/what-is-keploy/): Production-like environments without staging infrastructure

## UI Testing (Beta)
- [UI Testing overview](https://keploy.io/docs/running-keploy/ui-capture/): Record real user sessions in a web app with the capture SDK (@keploy/capture-sdk) and read each visit as UI flows and journeys in the dashboard, over the REST API, or from an AI agent through MCP
- [Dashboard quickstart](https://keploy.io/docs/ui-capture/quickstart-dashboard/): Create an ingest key, add it to a sample React shop, and see your first flows
- [From first visit to journeys](https://keploy.io/docs/ui-capture/walkthrough-dashboard/): Record five visits, read their flows and journeys, read the same data from a script, and clean up
- [UI Capture errors and warnings](https://keploy.io/docs/ui-capture/errors/): Every KUI_E_ code the capture SDK reports, with its cause and fix
- [Capture SDK 3.1.0 release notes](https://keploy.io/docs/ui-capture/capture-sdk-3-1-0-release-notes/): What changed in @keploy/capture-sdk 3.1.0

## Keploy Cloud & Integrations
- [Enterprise plan](https://keploy.io/docs/keploy-cloud/cloud-installation/): Getting started on the Enterprise plan — install Keploy, sign in, and the plan's features
- [VS Code Extension](https://keploy.io/docs/keploy-explained/integrations-vscode/): IDE integration for test generation
Expand Down
69 changes: 68 additions & 1 deletion src/components/GetStartedPaths.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ import {
FaRetweet,
FaLaptopCode,
FaLayerGroup,
FaMousePointer,
} from "react-icons/fa";
import {SiKubernetes} from "react-icons/si";

// The five entry points rendered as cards below, in display order. Exported
// The six entry points rendered as cards below, in display order. Exported
// so the docs home can emit them as an ItemList off the same data the links
// are built from -- a hand-copied list in the JSON-LD would quietly rot the
// first time one of these paths moves.
Expand Down Expand Up @@ -42,6 +43,12 @@ export const GET_STARTED_PATHS = [
"Universal Mocker: record your tests' database, queue and API calls once, then replay them offline",
href: "/docs/universal-mocker/overview/",
},
{
name: "Record real user flows in your web app",
description:
"UI Testing (Beta): add the capture SDK, then read each visit as UI flows in the Keploy dashboard",
href: "/docs/ui-capture/quickstart-dashboard/",
},
];

const [
Expand All @@ -50,6 +57,7 @@ const [
K8S_PROXY,
LOCAL_RECORD,
UNIVERSAL_MOCKER,
UI_CAPTURE,
] = GET_STARTED_PATHS;

export const GetStartedPaths = () => {
Expand Down Expand Up @@ -334,6 +342,65 @@ export const GetStartedPaths = () => {
</div>
</div>
</div>
{/* UI Testing: spans both columns, below Universal Mocker */}
<div className="group relative overflow-hidden rounded-2xl border border-gray-200 bg-gradient-to-br from-white to-sky-50/50 p-6 shadow-sm transition-all duration-300 hover:shadow-lg hover:shadow-sky-100/50 dark:border-gray-700 dark:from-gray-800 dark:to-sky-950/20 dark:hover:shadow-sky-900/20 md:col-span-2">
{/* Decorative gradient blob */}
<div className="absolute -right-10 -top-10 h-32 w-32 rounded-full bg-gradient-to-br from-sky-400/20 to-sky-600/10 blur-2xl transition-transform duration-500 group-hover:scale-150"></div>

<div className="relative flex flex-col gap-6 md:flex-row md:items-center">
<div className="md:flex-1">
{/* Icon Badge */}
<div className="mb-4 inline-flex items-center justify-center rounded-xl bg-gradient-to-br from-sky-500 to-sky-700 p-3 text-white shadow-lg shadow-sky-500/25">
<FaMousePointer className="h-6 w-6" />
</div>

{/* Path Label */}
<div className="mb-2 flex items-center gap-2">
<span className="rounded-md bg-sky-100 px-2 py-0.5 text-xs font-semibold uppercase tracking-wider text-sky-800 dark:bg-sky-900/40 dark:text-sky-200">
UI Testing
</span>
<span className="rounded-full bg-orange-100 px-2 py-0.5 text-xs font-semibold text-orange-700 dark:bg-orange-900/30 dark:text-orange-300">
Beta
</span>
</div>

{/* Content */}
<h3 className="mb-2 text-xl font-bold text-gray-900 dark:text-white">
Capture Real User Flows From Your Web App
</h3>
<p className="mb-0 text-sm text-gray-600 dark:text-gray-400">
A browser SDK records each visit and masks personal data before
it leaves the browser. Read every visit as flows and journeys in
the dashboard, over the API, or from an AI agent.
</p>
</div>

<div className="md:flex-1">
<Link
to={useBaseUrl(UI_CAPTURE.href)}
className="group/option flex min-h-[92px] items-start justify-between gap-3 rounded-xl border border-gray-200 bg-white/50 p-3 transition-all duration-200 hover:border-sky-300 hover:bg-sky-50/50 hover:no-underline dark:border-gray-600 dark:bg-gray-800/50 dark:hover:border-sky-500/50 dark:hover:bg-sky-900/10"
>
<div className="flex items-start gap-3">
<div className="flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg bg-sky-100 text-sky-700 transition-colors group-hover/option:bg-sky-100 group-hover/option:text-sky-800 dark:bg-sky-900/30 dark:text-sky-200">
<FaMousePointer className="h-5 w-5" />
</div>
<div>
<h4 className="mb-0.5 text-sm font-semibold text-gray-900 dark:text-white">
Record real user flows in your web app
</h4>
<p className="text-xs text-gray-500 dark:text-gray-400">
Add the capture SDK, then read each visit as UI flows in
the Keploy dashboard
</p>
</div>
</div>
<span className="mt-1 text-gray-400 transition-colors group-hover/option:text-sky-500 dark:text-gray-500">
→
</span>
</Link>
</div>
</div>
</div>
</div>
</section>
);
Expand Down
38 changes: 36 additions & 2 deletions src/components/QuickStartTabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ import {
FaDownload,
FaCircle,
FaTerminal,
FaMousePointer,
FaKey,
FaCode,
FaStream,
} from "react-icons/fa";

export const QuickStartTabs = () => {
Expand Down Expand Up @@ -77,6 +81,36 @@ export const QuickStartTabs = () => {
primary: false,
},
},
ui: {
id: "ui",
label: "UI Capture Quickstart",
time: "10 min",
icon: FaMousePointer,
color: "gray",
headline: "Quickstart: UI Capture (Beta)",
steps: [
{
icon: FaKey,
title: "Create an ingest key",
description: "In the dashboard's UI Testing setup card",
},
{
icon: FaCode,
title: "Add the SDK to your app",
description: "Or run the sample React shop",
},
{
icon: FaStream,
title: "See your flows",
description: "Each visit's steps and network calls",
},
],
cta: {
label: "Start UI Capture Quickstart",
link: "/docs/ui-capture/quickstart-dashboard/",
primary: false,
},
},
};

return (
Expand All @@ -95,8 +129,8 @@ export const QuickStartTabs = () => {
</p>
</div>

{/* Two Quickstart Tiles */}
<div className="grid gap-6 md:grid-cols-2">
{/* Quickstart Tiles */}
<div className="grid gap-6 md:grid-cols-2 lg:grid-cols-3">
{Object.values(tabs).map((tab) => {
const isActive = activeTab === tab.id;
const Icon = tab.icon;
Expand Down
139 changes: 112 additions & 27 deletions src/components/TestingCapabilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,56 +8,130 @@ import {
FaCamera,
FaTachometerAlt,
FaShieldAlt,
FaMousePointer,
} from "react-icons/fa";

const capabilities = {
functional: {
title: "Functional",
color: "orange",
items: [
{ icon: FaSync, label: "Regression testing", subtitle: "Catch behavior regressions in CI" },
{ icon: FaCubes, label: "Integration testing", subtitle: "Validate dependencies (DB/queues/services)" },
{ icon: FaRoute, label: "Flow testing (multi-step)", subtitle: "API journeys with setup + cleanup" },
{ icon: FaPlug, label: "API testing", subtitle: "Endpoint assertions across environments" },
{ icon: FaShieldAlt, label: "Contract testing", subtitle: "OpenAPI contract expectations" },
{ icon: FaCamera, label: "Schema testing", subtitle: "Field-level request/response validation" },
{ icon: FaDatabase, label: "DB validation tests", subtitle: "DB invariants and mutation checks" },
{ icon: FaTachometerAlt, label: "Chaos & fuzz tests", subtitle: "Fault + input chaos testing", badge: "Upcoming" },
{
icon: FaSync,
label: "Regression testing",
subtitle: "Catch behavior regressions in CI",
},
{
icon: FaCubes,
label: "Integration testing",
subtitle: "Validate dependencies (DB/queues/services)",
},
{
icon: FaRoute,
label: "Flow testing (multi-step)",
subtitle: "API journeys with setup + cleanup",
},
{
icon: FaPlug,
label: "API testing",
subtitle: "Endpoint assertions across environments",
},
{
icon: FaShieldAlt,
label: "Contract testing",
subtitle: "OpenAPI contract expectations",
},
{
icon: FaCamera,
label: "Schema testing",
subtitle: "Field-level request/response validation",
},
{
icon: FaDatabase,
label: "DB validation tests",
subtitle: "DB invariants and mutation checks",
},
{
icon: FaMousePointer,
label: "UI journey capture",
subtitle: "Real user flows and journeys from your web app",
badge: "Beta",
},
{
icon: FaTachometerAlt,
label: "Chaos & fuzz tests",
subtitle: "Fault + input chaos testing",
badge: "Upcoming",
},
],
},
qualityGates: {
title: "Quality Gates",
color: "purple",
items: [
{ icon: FaCubes, label: "Code Coverage", subtitle: "Line/branch coverage gates" },
{ icon: FaPlug, label: "Schema / API Business Coverage", subtitle: "% API paths + fields exercised" },
{ icon: FaCamera, label: "Baseline assertions", subtitle: "Behavior diffs after normalization" },
{ icon: FaShieldAlt, label: "Contract drifts detection", subtitle: "Breaking changes vs OpenAPI" },
{ icon: FaTachometerAlt, label: "Load & performance metrics", subtitle: "p95 latency + error-rate regression" },
{ icon: FaShieldAlt, label: "Security checks", subtitle: "Auth/schema/input validation" },
{ icon: FaDatabase, label: "Data consistency gate", subtitle: "Cleanup + DB invariants" },
{ icon: FaSync, label: "Crash free rate", subtitle: "0 crashes/panics across runs" },
{
icon: FaCubes,
label: "Code Coverage",
subtitle: "Line/branch coverage gates",
},
{
icon: FaPlug,
label: "Schema / API Business Coverage",
subtitle: "% API paths + fields exercised",
},
{
icon: FaCamera,
label: "Baseline assertions",
subtitle: "Behavior diffs after normalization",
},
{
icon: FaShieldAlt,
label: "Contract drifts detection",
subtitle: "Breaking changes vs OpenAPI",
},
{
icon: FaTachometerAlt,
label: "Load & performance metrics",
subtitle: "p95 latency + error-rate regression",
},
{
icon: FaShieldAlt,
label: "Security checks",
subtitle: "Auth/schema/input validation",
},
{
icon: FaDatabase,
label: "Data consistency gate",
subtitle: "Cleanup + DB invariants",
},
{
icon: FaSync,
label: "Crash free rate",
subtitle: "0 crashes/panics across runs",
},
],
},
};

const CapabilityItem = ({ icon: Icon, label, subtitle, badge, color }) => {
const CapabilityItem = ({icon: Icon, label, subtitle, badge, color}) => {
const colorClasses = {
orange: {
chipBorder: "border-orange-200/70 dark:border-orange-500/30",
chipBg: "bg-orange-50/70 dark:bg-orange-900/10",
chipText: "text-orange-700 dark:text-orange-200",
iconBg: "bg-orange-100 dark:bg-orange-900/20",
iconText: "text-orange-600 dark:text-orange-300",
hover: "hover:bg-orange-100/70 dark:hover:bg-orange-900/20 hover:border-orange-300/80 dark:hover:border-orange-500/40",
hover:
"hover:bg-orange-100/70 dark:hover:bg-orange-900/20 hover:border-orange-300/80 dark:hover:border-orange-500/40",
},
purple: {
chipBorder: "border-purple-200/70 dark:border-purple-500/30",
chipBg: "bg-purple-50/70 dark:bg-purple-900/10",
chipText: "text-purple-700 dark:text-purple-200",
iconBg: "bg-purple-100 dark:bg-purple-900/20",
iconText: "text-purple-600 dark:text-purple-200",
hover: "hover:bg-purple-100/70 dark:hover:bg-purple-900/20 hover:border-purple-300/80 dark:hover:border-purple-500/40",
hover:
"hover:bg-purple-100/70 dark:hover:bg-purple-900/20 hover:border-purple-300/80 dark:hover:border-purple-500/40",
},
};

Expand All @@ -69,10 +143,14 @@ const CapabilityItem = ({ icon: Icon, label, subtitle, badge, color }) => {
className={`inline-flex max-w-full items-center gap-2 rounded-full border px-3 py-1.5 text-sm transition-all ${classes.chipBorder} ${classes.chipBg} ${classes.hover}`}
title={subtitle || label}
>
<span className={`flex h-6 w-6 items-center justify-center rounded-full ${classes.iconBg} ${classes.iconText}`}>
<span
className={`flex h-6 w-6 items-center justify-center rounded-full ${classes.iconBg} ${classes.iconText}`}
>
<Icon className="h-3.5 w-3.5" />
</span>
<span className={`truncate font-medium ${classes.chipText}`}>{label}</span>
<span className={`truncate font-medium ${classes.chipText}`}>
{label}
</span>
{badge ? (
<span className="ml-1 rounded-full border border-gray-200 bg-white/70 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wider text-gray-700 dark:border-gray-700 dark:bg-gray-900/40 dark:text-gray-200">
{badge}
Expand All @@ -82,7 +160,9 @@ const CapabilityItem = ({ icon: Icon, label, subtitle, badge, color }) => {

{/* Subtitle: visible on mobile, tooltip-only on desktop */}
{subtitle ? (
<p className="mt-1 text-xs text-gray-500 dark:text-gray-400 md:hidden">{subtitle}</p>
<p className="mt-1 text-xs text-gray-500 dark:text-gray-400 md:hidden">
{subtitle}
</p>
) : null}
</div>
);
Expand All @@ -100,7 +180,8 @@ export const TestingCapabilities = () => {
Whatever your testing strategy, Keploy fits
</h2>
<p className="mx-auto max-w-2xl text-gray-600 dark:text-gray-400">
Run the tests you need, then gate merges in CI with measurable signals—coverage, drift, performance, security, and data consistency.
Run the tests you need, then gate merges in CI with measurable
signals—coverage, drift, performance, security, and data consistency.
</p>
</div>

Expand All @@ -113,7 +194,9 @@ export const TestingCapabilities = () => {
<h3 className="text-lg font-semibold text-gray-900 dark:text-white">
{capabilities.functional.title}
</h3>
<span className="text-xs text-gray-500 dark:text-gray-400">• What you run</span>
<span className="text-xs text-gray-500 dark:text-gray-400">
• What you run
</span>
</div>

<div className="flex flex-wrap gap-2">
Expand All @@ -140,7 +223,9 @@ export const TestingCapabilities = () => {
<h3 className="text-lg font-semibold text-gray-900 dark:text-white">
{capabilities.qualityGates.title}
</h3>
<span className="text-xs text-gray-500 dark:text-gray-400">• What blocks/permits merges</span>
<span className="text-xs text-gray-500 dark:text-gray-400">
• What blocks/permits merges
</span>
</div>

<div className="flex flex-wrap gap-2">
Expand All @@ -164,12 +249,12 @@ export const TestingCapabilities = () => {
<span className="flex h-5 w-5 items-center justify-center rounded-full bg-green-100 text-xs text-green-600 dark:bg-green-900/30 dark:text-green-400">
✓
</span>
Same test assets can be reused across environments (local → CI → staging) with consistent assertions.
Same test assets can be reused across environments (local → CI →
staging) with consistent assertions.
</p>
</div>
</section>
);
};

export default TestingCapabilities;

Loading
Loading