Commit Graph
6719 Commits
Author SHA1 Message Date
Bob QiuandClaude Sonnet 5.5 9fe60dac4f style(insomnia-test): sort imports after switching to @package alias
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:22:58 +08:00
Bob QiuandClaude Sonnet 5.5 bbc638f723 refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:17:39 +08:00
Bob QiuandClaude Sonnet 5.5 a668751f7f test(insomnia-test): adapt git-sync specs to FlowContext file chooser stubbing
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:17:39 +08:00
Bob Qiu fb9a997e1e test(insomnia-test): add PANE_CONTENT for spec page and update locator in getOpenApiVersion method 2026-11-02 18:17:39 +08:00
Bob QiuandClaude Sonnet 5.5 bd2906769d test(insomnia-test): add variable-source, template-tag, legacy import, upgrade and workspace delete specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:17:39 +08:00
Bob QiuandClaude Sonnet 5.5 e124b2c8a8 test(insomnia-test): add mcp-client error-response, same-name selection and TLS specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:17:39 +08:00
Bob QiuandClaude Sonnet 5.5 21d4d4146d test(insomnia-test): add git-sync and cloud-sync unknown-fields and visual-diff specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:17:39 +08:00
Bob QiuandClaude Sonnet 5.5 1640e89900 refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:17:34 +08:00
Bob QiuandClaude Sonnet 5.5 c09d748280 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-02 18:17:34 +08:00
Bob QiuandClaude Sonnet 5.5 981dc744d8 test(insomnia-test): adapt WSDL import spec to FlowContext file chooser stubbing
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:17:34 +08:00
Bob QiuandClaude Sonnet 5.5 82f6bbb131 test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:17:34 +08:00
Bob QiuandClaude Sonnet 5.5 1aeda3b836 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-02 18:17:34 +08:00
Bob QiuandClaude Sonnet 5.5 64da56f976 test(insomnia-test): add data, legacy migration and plugin specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:17:34 +08:00
Bob QiuandClaude Sonnet 5.5 e47e7c6be6 refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:16:40 +08:00
Bob QiuandClaude Sonnet 5.5 0338917ffd test(insomnia-test): adapt sync specs to FlowContext file chooser stubbing
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:16:40 +08:00
Bob QiuandClaude Sonnet 5.5 8e362a0ae4 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-02 18:16:40 +08:00
Bob QiuandClaude Sonnet 5.5 1796aca5b4 test(insomnia-test): add git-sync, cloud-sync, organization and konnect specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:16:40 +08:00
Bob QiuandClaude Sonnet 5.5 a3ae733594 refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:15:19 +08:00
Bob QiuandClaude Sonnet 5.5 e17b3e7372 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-02 18:15:19 +08:00
Bob QiuandClaude Sonnet 5.5 d54f86ab7b test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:15:19 +08:00
Bob QiuandClaude Sonnet 5.5 d33cc96b06 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-02 18:15:19 +08:00
Bob QiuandClaude Sonnet 5.5 67cc903ac0 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-02 18:15:19 +08:00
Bob QiuandClaude Sonnet 5.5 6447c822da refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:15:18 +08:00
Bob QiuandClaude Sonnet 5.5 78a437a2e1 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-02 18:15:18 +08:00
Bob QiuandClaude Sonnet 5.5 e2eb218cae test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:15:18 +08:00
Bob QiuandClaude Sonnet 5.5 e420e0bc3c 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-02 18:15:18 +08:00
Bob QiuandClaude Sonnet 5.5 a886c3fcc6 refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:15:17 +08:00
Bob QiuandClaude Sonnet 5.5 3fb33b62fe test(insomnia-test): adapt specs to ResponseView statusBar/preview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:15:17 +08:00
Bob QiuandClaude Sonnet 5.5 55ecdde5a6 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-02 18:15:17 +08:00
Bob QiuandClaude Sonnet 5.5 f0b3fc363c 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-02 18:15:17 +08:00
Bob QiuandClaude Sonnet 5.5 f492d31e29 fix(insomnia-test): expect actual render-error preview for custom template option
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:15:17 +08:00
Bob QiuandClaude Sonnet 5.5 5558de310c 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-02 18:15:17 +08:00
Bob Qiu 02374fbaa4 refactor(variable-source-levels): reorder type imports for clarity 2026-11-02 18:15:17 +08:00
Bob Qiu 56cb114730 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-02 18:15:17 +08:00
Bob QiuandClaude Sonnet 5.5 bd2301fdb5 test(insomnia-test): add http-request, cookie and environment specs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:15:17 +08:00
Bob QiuandClaude Sonnet 5.5 c54693906f refactor(insomnia-test): use @package alias for cross-directory imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 18:12:58 +08:00
Bob QiuandClaude Sonnet 5.5 ae0dddcc29 refactor(insomnia-test): organise ResponseView by response pane areas
Replace the AppResponse-derived fields with statusBar, preview, headers,
console, events and tests so assertions map to what the user sees.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 17:53:59 +08:00
Bob Qiu da44b22359 refactor: replace createSubEnvironment with addAndRenameSubEnvironment for improved clarity and functionality 2026-11-02 17:44:27 +08:00
Bob QiuandClaude Sonnet 5.5 7fbaf67e62 ci(insomnia-test): print playwright --list output when test count cannot be determined
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 17:34:42 +08:00
Bob Qiu 1fcf4a779b refactor: simplify Playwright test execution and enhance coverage report handling 2026-11-02 17:19:01 +08:00
Bob Qiu 3d9be3e33c refactor: enhance GitHub Actions permissions and add artifact cleanup step 2026-11-02 17:04:16 +08:00
Bob Qiu 838c78757a refactor: streamline file dialog stubbing across components and flows 2026-11-02 16:34:00 +08:00
Bob Qiu 33ed1cf0d3 refactor: update import paths for constants and fixtures in happy-path.spec.ts 2026-11-02 16:34:00 +08:00
Bob Qiu e47e61c951 docs: add README for insomnia-test with E2E testing details 2026-11-02 16:34:00 +08:00
Bob Qiu 3f8e6a683c refactor: update import paths to use absolute imports from @package
- Changed import statements across multiple files to use absolute paths from the @package alias instead of relative paths.
- This improves code readability and maintainability by standardizing the import structure.
2026-11-02 16:34:00 +08:00
Bob Qiu 819e796bb1 refactor: replace NeDB file access with database queries for improved reliability 2026-11-02 16:34:00 +08:00
Bob Qiu 1e8d768e52 refactor: update selection logic to use data-selected attribute for diff view and primitive selection 2026-11-02 16:34:00 +08:00
Bob QiuandClaude Sonnet 5.5 93836a85aa refactor: drop pinned-request special case when rebuilding sidebar tree
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 16:34:00 +08:00
Bob QiuandClaude Sonnet 5.5 cfc8f2a1c1 fix: use unique test ids for graphql explorer root types
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 16:34:00 +08:00
Bob QiuandClaude Sonnet 5.5 167ff2953f refactor: read graphql root types via unique test ids
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 16:34:00 +08:00