Commit Graph
4797 Commits
Author SHA1 Message Date
Bob Qiu 059476a2af 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:20 +08:00
Bob QiuandClaude Sonnet 5.5 ff6946a83f 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:20 +08:00
Bob QiuandClaude Sonnet 5.5 197a02cff2 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-05 14:18:20 +08:00
Bob QiuandClaude Sonnet 5.5 1f1b680728 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 9ba05c9c0c 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 d028b23c08 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:20 +08:00
Bob QiuandClaude Sonnet 5.5 332e9a1420 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:20 +08:00
Bob QiuandClaude Sonnet 5.5 13cceb4890 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:20 +08:00
Bob QiuandClaude Sonnet 5.5 6af8b1f390 fix(insomnia-test): import FlowContext from misc in mcp-client flow
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:20 +08:00
Bob Qiu dc84dd308d chore: align test/e2e-2-http-cookie-env with updated base branch 2026-11-05 14:18:20 +08:00
Bob QiuandClaude Sonnet 5.5 40aacedee2 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-05 14:18:20 +08:00
Bob QiuandClaude Sonnet 5.5 cfb05a3c30 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-05 14:18:20 +08:00
Bob QiuandClaude Sonnet 5.5 311ad0906c 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:20 +08:00
Bob Qiu 69f0306019 test(insomnia-test): update secure cookie test to use resolving proxy host 2026-11-05 14:18:20 +08:00
Bob QiuandClaude Sonnet 5.5 b6b1c2f702 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 9111c19230 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 30e876aa37 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 14:18:20 +08:00
Bob QiuandClaude Sonnet 5.5 40fb0fed89 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:20 +08:00
Bob QiuandClaude Sonnet 5.5 b126b645a1 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:20 +08:00
Bob QiuandClaude Sonnet 5.5 20c80308a4 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:20 +08:00
Bob QiuandClaude Sonnet 5.5 6eb20707a7 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:20 +08:00
Bob Qiu f09a5d900a refactor(variable-source-levels): reorder type imports for clarity 2026-11-05 14:18:20 +08:00
Bob Qiu 5a638b2e08 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:20 +08:00
Bob QiuandClaude Sonnet 5.5 b6e73fa2f9 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:20 +08:00
Bob Qiu df982b624e fix: remove baseUrl from tsconfig.json to streamline module resolution 2026-11-05 14:18:20 +08:00
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