insomnia/packages/insomnia-smoke-test/tests/prerelease/design-document-naming.test.ts
James Gatz 81039277af
Project route UI improvements (#6400)
* project tailwind/aria-components

* update tests

* add failing test

* update e2e tests

* fix workspace name issue

* fix scroll issue

* bye test

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-08-28 15:53:37 +02:00

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();
});