Commit Graph
5009 Commits
Author SHA1 Message Date
Bob Qiu b6a2d5da1b chore: align test/refactor_e2e_tests with updated base branch 2026-11-04 17:34:17 +08:00
Bob QiuandClaude Sonnet 5.5 998fdd0c53 style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:17 +08:00
Bob QiuandClaude Sonnet 5.5 8382d63be1 refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:17 +08:00
Bob QiuandClaude Sonnet 5.5 91e81950c5 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-04 17:34:17 +08:00
Bob QiuandClaude Sonnet 5.5 19775e16f0 test(insomnia-test): adapt WSDL import spec to FlowContext file chooser stubbing
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 d3c316c280 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 1f32e7cd3e test(insomnia-test): use PreferencesPluginsPage and drop removed parent argument in data and plugin specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 5a0522a471 test(insomnia-test): add data, legacy migration and plugin specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 963fd6dbcf 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-04 17:34:16 +08:00
Bob Qiu 4844ce47aa test(cloud-sync): improve interaction handling in delete and restore snapshot flows 2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 ba056069e9 refactor(insomnia-test): import cloud-sync-mock from misc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 b4ce1ddf77 style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 f1f89544c5 refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 b62a19f92e test(insomnia-test): adapt sync specs to FlowContext file chooser stubbing
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 16bc2538fd 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-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 e40b8ebd8f test(insomnia-test): add git-sync, cloud-sync, organization and konnect specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 ce28b31c38 test(insomnia-test): align 4-workspace with pruned e2e-1 base
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 13a8716f95 style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 2a45a8bd06 refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 f72dec90cd 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-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 6784a91016 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 80a89438a8 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-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 1323649c86 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-04 17:34:16 +08:00
Bob Qiu bcae62e019 test(insomnia-test): update secure cookie test to use resolving proxy host 2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 4223a49ce6 style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 7317815fba refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 d8b9b99d61 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 2cf0c01b73 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-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 f51d7b7fe2 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-04 17:34:16 +08:00
Bob QiuandClaude Sonnet 5.5 11c2dd6f22 fix(insomnia-test): expect actual render-error preview for custom template option
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 005894a03f 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-04 17:34:15 +08:00
Bob Qiu 67cdba21d8 refactor(variable-source-levels): reorder type imports for clarity 2026-11-04 17:34:15 +08:00
Bob Qiu 192cbfb228 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-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 bcbb8d9088 test(insomnia-test): add http-request, cookie and environment specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 d45b258c86 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-04 17:34:15 +08:00
Bob Qiu 226670a1ee feat(insomnia-test): enhance credential menus and improve spec handling 2026-11-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 4dea6ff8ed style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 6a3aa2f488 refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 bcaf57f60a 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-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 4548870d2f test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 2c2ebb9bbb 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-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 98196009bb 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-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 73daca4e79 style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 6b149d2d14 refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 e7d187dd87 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-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 bd5b3807d8 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 34dbe3c4f7 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-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 46c1816026 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-04 17:34:15 +08:00
Bob Qiu 941b469fbd test(insomnia-test): update secure cookie test to use resolving proxy host 2026-11-04 17:34:15 +08:00
Bob QiuandClaude Sonnet 5.5 c70c9111cc style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 17:34:15 +08:00