Commit Graph
6820 Commits
Author SHA1 Message Date
Bob QiuandClaude Sonnet 5.5 6f3dc3bbec 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-05 14:18:20 +08:00
Bob QiuandClaude Sonnet 5.5 b45ccec0dc fix(insomnia-test): fix lint warnings in cloud-sync and git-sync specs
Share the backend project meta.json reader across cloud-sync specs, use locator assertions in the git-sync disabled specs, and split the pull-conflict spec into explicit cases.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:20 +08:00
Bob Qiu f8d2388842 test(cloud-sync): improve interaction handling in delete and restore snapshot flows 2026-11-05 14:18:20 +08:00
Bob QiuandClaude Sonnet 5.5 7f34a4e6e6 refactor(insomnia-test): import cloud-sync-mock from misc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:20 +08:00
Bob QiuandClaude Sonnet 5.5 77b9c50d92 style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:20 +08:00
Bob QiuandClaude Sonnet 5.5 2546589bcb refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:20 +08:00
Bob QiuandClaude Sonnet 5.5 66b4f765a5 test(insomnia-test): adapt sync specs to FlowContext file chooser stubbing
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 3ab2f0b6aa test(insomnia-test): use split Git Sync / Cloud Sync pages and drop removed helpers in sync and konnect specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 9ca8e2141c test(insomnia-test): add git-sync, cloud-sync, organization and konnect specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 bf3e5f3a2a fix(insomnia-test): use the preferences components in e2e-4 specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 5f5bfb2c62 test(insomnia-test): add the mock-bin server to the mock server
Port the mock-bin (:4090) responses used by the mock-server specs into
misc/server and start it from index.ts.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 b5fee458ec test(insomnia-test): align 4-workspace with pruned e2e-1 base
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 fe206f334f style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 2f13105bad refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 7dfc4592d1 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-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 5b3adb6d1f test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 c1cdfb3a07 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-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 1fca3c66cf 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-05 14:18:19 +08:00
Bob Qiu 83d3ba31c1 test(insomnia-test): update secure cookie test to use resolving proxy host 2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 28fcfab889 style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 51281420e0 refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 f20935e02c test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 e1ba122e7f 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-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 74b23da855 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-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 f8bd403666 fix(insomnia-test): expect actual render-error preview for custom template option
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 f891ba85a0 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-05 14:18:19 +08:00
Bob Qiu eb771a2835 refactor(variable-source-levels): reorder type imports for clarity 2026-11-05 14:18:19 +08:00
Bob Qiu e3ddd44794 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-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 53b9468958 test(insomnia-test): add http-request, cookie and environment specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 c2763ae81d 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-05 14:18:19 +08:00
Bob Qiu aca666cc85 feat(insomnia-test): enhance credential menus and improve spec handling 2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 cae5be12d8 style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 32b3b508da refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:19 +08:00
Bob QiuandClaude Sonnet 5.5 372b46088b 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-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 01d6d8d5a3 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 41d83b5f4f 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-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 5eb4c68a80 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-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 778fa0f5fa style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 065e27cd8a refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 a38986a102 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-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 ebef6b5125 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 8bafd9e6be 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-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 9eb95df24b 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-05 14:18:18 +08:00
Bob Qiu 82fc4859bc test(insomnia-test): update secure cookie test to use resolving proxy host 2026-11-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 6d68e5418c style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 dd1a94279a refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 c97e69faf5 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 403a147ca8 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-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 421207a662 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-05 14:18:18 +08:00
Bob QiuandClaude Sonnet 5.5 f42a856ef5 fix(insomnia-test): expect actual render-error preview for custom template option
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:18 +08:00