run-api-e2e-tests

Run oksai-v2 API end-to-end tests via pnpm scripts.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/HL8-ORG/oksai --skill run-api-e2e-tests-hl8-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-api-e2e-tests
Source: https://github.com/HL8-ORG/oksai/tree/main/.cursor/skills/run-api-e2e-tests
Command: npx skills add https://github.com/HL8-ORG/oksai --skill run-api-e2e-tests-hl8-org

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates end-to-end testing of the oksai-v2 API service to ensure API behavior remains correct across releases.

Core Features & Use Cases

  • Run all API e2e tests with a single command from the repository root.
  • Run a specific test by locating the test file in apps/api and e2e/enterprise, then executing the corresponding test pattern.
  • Supports different test locations (src vs e2e/enterprise) and provides guidance for normal and enterprise test suites.

Quick Start

From the repository root, run pnpm test:e2e:oksai-v2 to execute all API end-to-end tests.

Frequently Asked Questions about run-api-e2e-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run API e2e tests for the oksai-v2 service?

To run API e2e tests for the oksai-v2 service, execute the pnpm test:e2e:oksai-v2 command from the repository root to trigger all end-to-end test suites.

How do I run a specific e2e test using pnpm and Mocha?

To run a specific e2e test, locate the target test file under apps/api or e2e/enterprise, then execute the corresponding pnpm script with the specific test pattern.

Does the oksai-v2 API test suite support enterprise test environments?

Yes, the oksai-v2 API test suite supports enterprise tests by locating and executing test files specifically stored within the e2e/enterprise directory path.

What is the difference between src and e2e/enterprise test locations?

The difference between src and e2e/enterprise test locations is that the Skill applies special handling to locate regular tests in apps/api versus enterprise tests in e2e/enterprise.

Why do my pnpm e2e tests require deterministic commands?

Your pnpm e2e tests require deterministic commands to ensure reliable and consistent API behavior validation across test suites without unpredictable environmental side effects.