mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
11 lines
493 B
TypeScript
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();
|
|
});
|