Commit Graph
6757 Commits
Author SHA1 Message Date
Bob QiuandClaude Sonnet 5.5 230ef2f0ea test(insomnia-test): add http-request, cookie and environment specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 2616797078 fix(insomnia-test): remove conditionals from toolbar and runner specs
Replace the ternary and the continue-in-loop flagged by playwright/no-conditional-in-test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob Qiu 6cc8618580 feat(insomnia-test): enhance credential menus and improve spec handling 2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 ddebaa5ff0 style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 25ba2a3ba3 refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 6b49592cd8 fix(insomnia-test): use import.meta.dirname instead of __dirname in ESM specs
insomnia-test is "type": "module", so __dirname is undefined and
`playwright test --list` collected 0 tests, failing the Shard Matrix job.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 bbb91eb643 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 be82ad43f7 test(insomnia-test): use SpecPage, ProjectPage and PreferencesVaultPage in workspace, document, app and preferences specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 745db10ae4 test(insomnia-test): add workspace, document, runner, mock-server, app and preferences specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 9e4f932d37 style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 5153eccf5b refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 90cef71bfe fix(insomnia-test): use import.meta.dirname instead of __dirname in ESM specs
insomnia-test is "type": "module", so __dirname is undefined and
`playwright test --list` collected 0 tests, failing the Shard Matrix job.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 e2d91f32b8 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 56d762408a test(insomnia-test): add graphql, grpc, websocket, socket.io, event-stream and mcp specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 fb3239a3be fix(insomnia-test): remove conditional from key-value blank row spec
Check blankness with every() instead of a boolean expression flagged by playwright/no-conditional-in-test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob Qiu b360e5b022 test(insomnia-test): update secure cookie test to use resolving proxy host 2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 263d8c7218 style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 3dccd74cb6 refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 162b1670f8 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 44f028c133 fix(insomnia-test): make specs loadable under ESM so playwright --list works
Replace __dirname with import.meta.dirname and import insomnia-data enums
as types only (the package is ESM-only at runtime), which made
`playwright test --list` fail in the shard matrix job.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:29 +08:00
Bob QiuandClaude Sonnet 5.5 67b5c49c80 test(insomnia-test): set query-params spec's params via bulk edit to avoid flaky row saves
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 d79a71b20f fix(insomnia-test): expect actual render-error preview for custom template option
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 2ec005fdc4 fix(insomnia-test): remove isVisible/innerText race when reading variable modal
readVariableModal checked row.isVisible() then awaited row.innerText(); when the
async Source recompute unmounted the row in between, innerText waited 30s.
Read an atomic DOM snapshot and wait for it to settle, and wait for the custom
template preview in the modal-editing spec.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob Qiu ce3aab748f refactor(variable-source-levels): reorder type imports for clarity 2026-11-06 15:51:28 +08:00
Bob Qiu 1781e9a99a Add tests and YAML configurations for environment variable sourcing and response handling
- Introduced new YAML files for global environments, project environment sources, and environment cascade collections.
- Implemented tests for variable source levels, modal editing, tooltip behavior, and response downloads.
- Enhanced pre-request scripts to handle client certificates and proxy updates.
- Verified caching behavior for prompt tags and response tag trigger behaviors.
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 5352f19403 test(insomnia-test): add http-request, cookie and environment specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 18283051d2 fix(insomnia-test): match gRPC Stream/Commit buttons without exact name
The buttons render a Font Awesome icon whose glyph is part of the
accessible name ("Stream +", "Commit "), so exact matching never hit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 d692f0bc2d style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 a1db673b1d refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 6cb1d7b1c5 fix(insomnia-test): use import.meta.dirname instead of __dirname in ESM specs
insomnia-test is "type": "module", so __dirname is undefined and
`playwright test --list` collected 0 tests, failing the Shard Matrix job.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 d785095cac test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 3a1c5a9262 test(insomnia-test): add graphql, grpc, websocket, socket.io, event-stream and mcp specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 3d016003e2 fix(insomnia-test): import FlowContext from misc in mcp-client flow
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob Qiu 2e4b862cc9 chore: align test/e2e-2-http-cookie-env with updated base branch 2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 2ef6a9ec89 test(insomnia-test): align 2-http-cookie-env with pruned e2e-1 base
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 e376061868 test(insomnia-test): align 2-http-cookie-env with pruned e2e-1 base
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 93053e7e9a fix(insomnia-test): remove conditional from key-value blank row spec
Check blankness with every() instead of a boolean expression flagged by playwright/no-conditional-in-test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob Qiu 7132b42b0e test(insomnia-test): update secure cookie test to use resolving proxy host 2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 1f6fbde9b3 style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 b619aff4db refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 8baecb7921 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:28 +08:00
Bob QiuandClaude Sonnet 5.5 849948c6aa fix(insomnia-test): make specs loadable under ESM so playwright --list works
Replace __dirname with import.meta.dirname and import insomnia-data enums
as types only (the package is ESM-only at runtime), which made
`playwright test --list` fail in the shard matrix job.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:27 +08:00
Bob QiuandClaude Sonnet 5.5 80d2b50c6c test(insomnia-test): set query-params spec's params via bulk edit to avoid flaky row saves
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:27 +08:00
Bob QiuandClaude Sonnet 5.5 74d23f1492 fix(insomnia-test): expect actual render-error preview for custom template option
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:27 +08:00
Bob QiuandClaude Sonnet 5.5 675b5a9335 fix(insomnia-test): remove isVisible/innerText race when reading variable modal
readVariableModal checked row.isVisible() then awaited row.innerText(); when the
async Source recompute unmounted the row in between, innerText waited 30s.
Read an atomic DOM snapshot and wait for it to settle, and wait for the custom
template preview in the modal-editing spec.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:27 +08:00
Bob Qiu f858354b4f refactor(variable-source-levels): reorder type imports for clarity 2026-11-06 15:51:27 +08:00
Bob Qiu 551041bc7a Add tests and YAML configurations for environment variable sourcing and response handling
- Introduced new YAML files for global environments, project environment sources, and environment cascade collections.
- Implemented tests for variable source levels, modal editing, tooltip behavior, and response downloads.
- Enhanced pre-request scripts to handle client certificates and proxy updates.
- Verified caching behavior for prompt tags and response tag trigger behaviors.
2026-11-06 15:51:27 +08:00
Bob QiuandClaude Sonnet 5.5 c3dfb44f9a test(insomnia-test): add http-request, cookie and environment specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:27 +08:00
Bob Qiu c08205edec fix: remove baseUrl from tsconfig.json to streamline module resolution 2026-11-06 15:51:27 +08:00
Bob QiuandClaude Sonnet 5.5 535d6ef589 test(insomnia-test): add the git smart-HTTP server to the mock server
Port the git server (:4070) used by the git-sync specs into misc/server:
per-repo auth overrides, repo setup/teardown and push support, started from
index.ts.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:51:27 +08:00