HomeDocsCI/CD Export
CI/CD Export

Export to CI/CD

After any test completes, export a reproducible script that replays the exact same steps. Drop it into your CI pipeline.

Supported formats

ParameterTypeDescription
playwright.spec.tsTypeScript Playwright test with page.goto, page.fill, page.click actions
cypress.cy.jsJavaScript Cypress test with cy.visit, cy.get, cy.type commands
puppeteer.test.jsJavaScript Puppeteer script with page.goto, page.type, page.click
json.jsonRaw structured data with all steps, timing, and metadata

Example: Playwright export

exported-test.spec.ts
typescript
import { test, expect } from '@playwright/test';

test('LazyHippo auth flow replay', async ({ page }) => {
  // Step 1: Navigate to signup
  await page.goto('https://yourapp.com/signup');

  // Step 2: Fill signup form
  await page.fill('input[name="email"]', 'test@example.com');
  await page.fill('input[name="password"]', 'SecurePass123!');

  // Step 3: Submit
  await page.click('button[type="submit"]');

  // Step 4: Verify redirect to dashboard
  await expect(page).toHaveURL(/dashboard/);
});

Example: Cypress export

exported-test.cy.js
javascript
describe('LazyHippo auth flow replay', () => {
  it('should complete signup and login', () => {
    // Step 1: Navigate to signup
    cy.visit('https://yourapp.com/signup');

    // Step 2: Fill signup form
    cy.get('input[name="email"]').type('test@example.com');
    cy.get('input[name="password"]').type('SecurePass123!');

    // Step 3: Submit
    cy.get('button[type="submit"]').click();

    // Step 4: Verify redirect
    cy.url().should('include', '/dashboard');
  });
});
Tip
The export button is available on every test report. Click the "Export" dropdown in the top-right corner and pick your format.