Kong / Kong/insomnia

Tests appear in wrong (opposite) order after closing and reopening Insomnia

Open
#4,089 1 comment 0 reactions 0 assignees View on GitHub
B-bug S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for a bug that matches the one I want to file, without success.

### Insomnia Version

2021.5.3

### What operating system are you using?

Other Linux

### Operating System Version

Linux x64 5.13.13-1-MANJARO (Arch)

### Installation method

Download AppImage from Github Releases

### Expected Behavior

Test are in the same order as they were written, e.g.

1. Upload OPT
2. Create EHR
3. Commit Composition
4. Execute AQL Query

### Actual Behavior

Tests are in opposite order

![image](https://user-images.githubusercontent.com/64201310/136661030-35ddcaf6-01e6-4b0f-888d-12a832963615.png)

### Reproduction Steps

1. create a test suite
2. create multiple tests
3. close Insomnia
4. open insomnia

### Additional Information

Version: Insomnia 2021.5.3
Release date: 13/09/2021
OS: Linux x64 5.13.13-1-MANJARO
Electron: 11.2.3
Node: 12.18.3
V8: 8.7.220.31-electron.0
Architecture: x64
node-libcurl: libcurl/7.73.0 OpenSSL/1.1.1i zlib/1.2.11 brotli/1.0.9 zstd/1.5.0 libidn2/2.3.2 libssh2/1.9.0 nghttp2/1.42.0

Contributor guide

Open the contributing guide

Research direction

Reproduce the ordering regression in Insomnia 2021.5.3 using the listed steps, recording the order before closing and after reopening. Locate the test-suite persistence or display entry point, then add a regression check for preserved creation order; done means reopened suites retain the written order.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, node.js, typescript
Domain
desktop, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.