mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
12 lines
550 B
TypeScript
12 lines
550 B
TypeScript
|
import { test } from '../../playwright/test';
|
||
|
|
||
|
test('can name design documents', async ({ page }) => {
|
||
|
await page.getByRole('button', { name: ' New Document' }).click();
|
||
|
await page.getByPlaceholder('my-spec.yaml').fill('jurassic park');
|
||
|
await page.getByPlaceholder('my-spec.yaml').press('Enter');
|
||
|
await page.getByLabel('jurassic park').click();
|
||
|
await page.getByRole('button', { name: 'jurassic park ' }).press('Escape');
|
||
|
await page.getByTestId('project').click();
|
||
|
await page.getByLabel('jurassic park').click();
|
||
|
});
|