Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ The structure for smoke tests is explained in the smoke testing package: [`packa
This is just a brief summary of Insomnia's current technical debt.

- Loading large responses (~20 MB) can crash the app on weaker hardware.
- An in-memory duplicate of the local DB is stored in Redux.
- Bundling `libcurl` (native module) has caused many weeks of headaches trying to get builds working across Windows, Mac, and Linux. More expertise here is definitely needed.
- All input fields that support features like templating or code completion are actually [CodeMirror](https://codemirror.net/6/) instances. This isn't really debt, but may affect things going forward.
- Use of `libcurl` means Insomnia can't run in a web browser and can't support bidirectional socket communication.
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.19.0-beta.7",
"version": "3.19.0-beta.8",
"packages": [
"packages/*"
]
Expand Down
4 changes: 2 additions & 2 deletions packages/insomnia-inso/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions packages/insomnia-inso/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "insomnia-inso",
"version": "3.19.0-beta.7",
"version": "3.19.0-beta.8",
"homepage": "https://insomnia.rest",
"description": "A CLI for Insomnia - The Collaborative API Design Tool",
"author": "Kong <office@konghq.com>",
Expand Down Expand Up @@ -62,10 +62,10 @@
"consola": "^2.15.0",
"cosmiconfig": "^6.0.0",
"enquirer": "^2.3.6",
"insomnia-send-request": "^3.19.0-beta.7",
"insomnia-testing": "^3.19.0-beta.7",
"insomnia-send-request": "^3.19.0-beta.8",
"insomnia-testing": "^3.19.0-beta.8",
"nedb": "^1.8.0",
"openapi-2-kong": "^3.19.0-beta.7",
"openapi-2-kong": "^3.19.0-beta.8",
"string-argv": "^0.3.2",
"yaml": "^2.3.1"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/insomnia-send-request/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/insomnia-send-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"name": "insomnia-send-request",
"license": "Apache-2.0",
"version": "3.19.0-beta.7",
"version": "3.19.0-beta.8",
"author": "Kong <office@konghq.com>",
"main": "dist/index.js",
"types": "dist/send-request/index.d.ts",
Expand All @@ -21,7 +21,7 @@
"hkdf": "0.0.2",
"html-entities": "^2.4.0",
"httpsnippet": "^1.22.0",
"insomnia-testing": "^3.19.0-beta.7",
"insomnia-testing": "^3.19.0-beta.8",
"isomorphic-git": "^1.5.0",
"jshint": "^2.13.6",
"jsonlint-mod-fixed": "1.7.7",
Expand All @@ -33,7 +33,7 @@
"node-forge": "^1.3.1",
"nunjucks": "^3.2.4",
"oauth-1.0a": "^2.2.6",
"openapi-2-kong": "^3.19.0-beta.7",
"openapi-2-kong": "^3.19.0-beta.8",
"tough-cookie": "^4.1.3",
"tslib": "2.0.1",
"url-join": "^4.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/insomnia-smoke-test/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/insomnia-smoke-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"bugs": {
"url": "https://github.com/kong/insomnia/issues"
},
"version": "3.19.0-beta.7",
"version": "3.19.0-beta.8",
"scripts": {
"test:dev": "xvfb-maybe cross-env BUNDLE=dev playwright test",
"test:build": "xvfb-maybe cross-env BUNDLE=build playwright test",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ test.describe('Cookie editor', async () => {
await page.click('button:has-text("Cookies")');

// Edit existing cookie
await page.click('button:has-text("Edit")');
await page.getByRole('button', { name: 'Edit' }).first().click();
await page.click('pre[role="presentation"]:has-text("bar")');
await page.locator('[data-testid="CookieValue"] >> textarea').nth(1).fill('123');
await page.locator('text=Done').nth(1).click();

// Create a new cookie
await page.getByRole('button', { name: 'Actions' }).click();
await page.getByRole('menuitem', { name: 'Add Cookie' }).click();
await page.getByText('Edit').first().click();
await page.getByRole('button', { name: 'Edit' }).first().click();

// Try to replace text in Raw view
await page.getByRole('tab', { name: 'Raw' }).click();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test.describe('Debug-Sidebar', async () => {
await page.getByRole('button', { name: 'example http' }).click();
await page.locator('[data-testid="Dropdown-example-http"]').click();
await page.getByRole('menuitem', { name: 'Settings' }).click();
await expect(page.locator('.app')).toContainText('Request Settings req');
await page.getByRole('tab', { name: 'Preview' }).click();
// Close settings modal
await page.locator('.app').press('Escape');
});
Expand All @@ -30,7 +30,6 @@ test.describe('Debug-Sidebar', async () => {
await page.getByRole('button', { name: 'example grpc' }).click();
await page.locator('[data-testid="Dropdown-example-grpc"]').click();
await page.getByRole('menuitem', { name: 'Settings' }).click();
await expect(page.locator('.app')).toContainText('Request Settings greq');
// Close settings modal
await page.locator('.app').press('Escape');
});
Expand All @@ -39,7 +38,7 @@ test.describe('Debug-Sidebar', async () => {
await page.getByRole('button', { name: 'example websocket' }).click();
await page.locator('[data-testid="Dropdown-example-websocket"]').click();
await page.getByRole('menuitem', { name: 'Settings' }).click();
await expect(page.locator('.app')).toContainText('Request Settings ws-req');
await page.getByRole('tab', { name: 'Preview' }).click();
// Close settings modal
await page.locator('.app').press('Escape');
});
Expand All @@ -48,7 +47,7 @@ test.describe('Debug-Sidebar', async () => {
await page.getByRole('button', { name: 'example graphql' }).click();
await page.locator('[data-testid="Dropdown-example-graphql"]').click();
await page.getByRole('menuitem', { name: 'Settings' }).click();
await expect(page.locator('.app')).toContainText('Request Settings req');
await page.getByRole('tab', { name: 'Preview' }).click();
// Close settings modal
await page.locator('.app').press('Escape');
});
Expand All @@ -57,12 +56,12 @@ test.describe('Debug-Sidebar', async () => {
await page.getByRole('button', { name: 'test folder' }).click();
await page.locator('[data-testid="Dropdown-test-folder"] button').click();
await page.getByRole('menuitem', { name: 'Settings' }).click();
await expect(page.locator('.app')).toContainText('Folder Settings fld');
await page.getByRole('tab', { name: 'Preview' }).click();
});

test('Open properties of the collection', async ({ page }) => {
await page.getByRole('button', { name: 'simple' }).click();
await page.getByRole('menuitem', { name: 'Collection Settings' }).click();
await page.getByTestId('workspace-dropdown').locator('button').click();
await page.getByRole('menuitem', { name: 'Settings' }).click();
await page.getByText('Collection Settings').click();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test.describe('Plugins', async () => {
await expect(page.locator('.app')).toContainText('This is a sample server Petstore server');

// Open declarative config
await page.getByRole('button', { name: 'New Document' }).click();
await page.getByTestId('workspace-dropdown').locator('button').click();
await page.getByRole('menuitem', { name: 'Declarative Config (Legacy)' }).click();
// Check for declarative config contents
await page.getByText('_format_version').click();
Expand Down
4 changes: 2 additions & 2 deletions packages/insomnia-testing/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/insomnia-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"name": "insomnia-testing",
"license": "Apache-2.0",
"version": "3.19.0-beta.7",
"version": "3.19.0-beta.8",
"author": "Kong <office@konghq.com>",
"repository": {
"type": "git",
Expand Down
84 changes: 2 additions & 82 deletions packages/insomnia/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading