Back to TestPilot

Saved test runs

Every completed story run is saved here so you can review the AI-created test cases and Playwright output later.

Saved in Neon
Total runs
11
Ready to run
2
Failed
6
Saved test runs

Recent AI output

Latest saved run

Generated Playwright test

Run id
run-f05aa63b-dae8-4eba-a704-5ab6953b3849
Ready
0
Failed
0
Skipped
0
generated.spec.ts
2 cases
import { test, expect } from '@playwright/test';

test('TC-001: Successful login with valid credentials', async ({ page }) => {
  await page.goto('https://qa-demo-bank.vercel.app/login');

  await page.getByLabel('Email address').fill('alex.rivera@qademobank.test');
  await page.getByLabel('Password').fill('demo-password');
  await page.getByTestId('login-submit').click();

  await expect(page).toHaveURL(/.*\/dashboard/);
  await expect(page.getByRole('heading', { name: 'Dashboard', exact: true })).toBeVisible();
});

test('TC-002: Login fails with incorrect password', async ({ page }) => {
  await page.goto('https://qa-demo-bank.vercel.app/login');

  await page.getByLabel('Email address').fill('alex.rivera@qademobank.test');
  await page.getByLabel('Password').fill('wrong-password');
  await page.getByTestId('login-submit').click();

  await expect(page.getByTestId('login-error')).toHaveText('Invalid demo credentials.');
  await expect(page).toHaveURL(/.*\/login/);
});