insomnia/packages/insomnia-smoke-test/tests/smoke/design-document-naming.test.ts
Jack Kavanagh 56e8f36a71
Test/move-to-smoke (#6420)
* remove line that flakes

* remove sort from filter test

* move some prerelease to smoke

* flatten and fix test

* fix test locator
2023-08-30 10:57:14 +02:00

10 lines
415 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.getByTestId('project').click();
await page.getByLabel('jurassic park').click();
});