bolt.diy/tests/e2e/problem.spec.ts
2025-03-12 17:54:44 -07:00

11 lines
493 B
TypeScript

import { test, expect } from '@playwright/test';
test('Should be able to load a problem', async ({ page }) => {
await page.goto('/');
await page.getByRole('banner').locator('div').nth(1).click();
await page.getByRole('link', { name: 'Problems' }).click();
await page.getByRole('link', { name: 'Contact book tiny search icon' }).click();
await page.getByRole('link', { name: 'Load Problem' }).click();
await expect(page.getByText('Import the "problem" folder')).toBeVisible();
});