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
4 changes: 2 additions & 2 deletions e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { defineConfig, devices } from '@playwright/test';

export default defineConfig({
testDir: './tests',
timeout: 60_000,
expect: { timeout: 30_000 },
timeout: 10_000,
expect: { timeout: 10_000 },
reporter: 'list',
use: {
baseURL: 'http://localhost:8080',
Expand Down
4 changes: 2 additions & 2 deletions e2e/tests/ticket-flow.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function ticketStatus(ticketItem: Locator): Locator {
}

async function waitForStatus(ticketItem: Locator, status: string): Promise<void> {
await expect(ticketStatus(ticketItem)).toContainText(status, { timeout: 30_000 });
await expect(ticketStatus(ticketItem)).toContainText(status, { timeout: 10_000 });
}

test('full ticket lifecycle: add → investigate → implement → done → cleanup', async ({ page }) => {
Expand Down Expand Up @@ -46,7 +46,7 @@ test('full ticket lifecycle: add → investigate → implement → done → clea
await page.getByRole('button', { name: 'Approve' }).click();

// ── 5. Wait for implementation state (Accept button enabled) ────────────
await expect(page.getByRole('button', { name: 'Accept' })).toBeEnabled({ timeout: 30_000 });
await expect(page.getByRole('button', { name: 'Accept' })).toBeEnabled({ timeout: 10_000 });

// ── 6. Accept → transition to done ──────────────────────────────────────
await page.getByRole('button', { name: 'Accept' }).click();
Expand Down
Loading
Loading