mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-20 14:17:29 -04:00
refactor: rename the copy for example (#8661)
* refactor: rename the copy for example * fix: test
This commit is contained in:
@@ -5,7 +5,7 @@ import { test } from '../../playwright/test';
|
||||
test('can render Spectral OpenAPI lint errors', async ({ page }) => {
|
||||
await page.getByRole('button', { name: 'Create document' }).click();
|
||||
await page.getByRole('dialog').getByRole('button', { name: 'Create' }).click();
|
||||
await page.click('text=start from an example');
|
||||
await page.click('text=start from boilerplate');
|
||||
|
||||
const codeEditor = page.locator('.pane-one');
|
||||
await expect.soft(codeEditor).toContainText('openapi: 3.0.0');
|
||||
|
||||
@@ -80,7 +80,7 @@ export const DesignEmptyState: FC<Props> = ({ onImport }) => {
|
||||
onImport(spec.exampleOpenApiSpec);
|
||||
}}
|
||||
>
|
||||
start from an example
|
||||
start from boilerplate
|
||||
</Button>
|
||||
</span>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user