Supercheck LogoSupercheck

Create and manage test scripts

Tests are reusable scripts that validate your application. Create browser, API, database, custom, or performance tests.

Tests List

Test Types

Browser Test

Playwright-based UI testing for user flows

API Test

HTTP and GraphQL endpoint validation

Database Test

SQL queries and data validation

Custom Test

Node.js scripts for any scenario

Performance Test

k6 load testing from multiple regions

Create Test

  1. Go to Create and select test type
  2. Write script in the Playground
  3. Use AI Create to generate from natural language
  4. Use Templates to start with pre-built scripts
  5. Click Run to validate
  6. Save when passing

AI Features

  • AI Create — Generate tests from plain English descriptions
  • AI Fix — Automatically fix failing tests by analyzing errors
  • Templates — Pre-built scripts for common scenarios

See Playground for details.

Browser Test Example

import { test, expect } from '@playwright/test';

test('login flow', async ({ page }) => {
  await page.goto('https://app.example.com/login');
  await page.fill('#email', 'user@example.com');
  await page.fill('#password', 'password');
  await page.click('button[type="submit"]');
  await expect(page).toHaveURL('/dashboard');
});

API Test Example

const response = await fetch('https://api.example.com/users', {
  headers: { 'Authorization': `Bearer ${getSecret('API_KEY')}` }
});
expect(response.status).toBe(200);

Database Test Example

SELECT COUNT(*) as user_count FROM users WHERE active = true;
-- Assertion: user_count > 0

Features

  • Playground — Interactive editor with AI assistance
  • Variables — Project-scoped secrets and config
  • Reports — Screenshots, traces, and logs
  • Multi-region — Performance tests from US, EU, APAC