Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request Setting id is changed after export/import #7756

Open
1 task done
ivancho979 opened this issue Jul 25, 2024 · 0 comments
Open
1 task done

Request Setting id is changed after export/import #7756

ivancho979 opened this issue Jul 25, 2024 · 0 comments
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@ivancho979
Copy link

Expected Behavior

After exporting Insomnia project as JSON with included unit test and later on import the project again it is expected the same test suite working as before export/import.

Namely, request id, e.g. req_eeb4e85ca9494caeb4b38ab1b4a54c9e. that is used in original tests should stay intact.

Actual Behavior

Currently, after export/import Insomnia JSON project requests are getting new request id and at the same time unit tests are using request ids from original project. This resulting in failed tests with error: 'failed to find workspace' and test require update with new request id

Reproduction Steps

  1. Go to Export project option for a project with unit tests where request id is used while sending a request (e.g. const response = await insomnia.send('req_eeb4e85ca9494caeb4b38ab1b4a54c9e') ..)
  2. Export as JSON file
  3. As other user use Import option
  4. 'Choose a File for import' option
  5. Import previously exported JSON file
  6. Open the request used in unit tests and go to Settings

Expected: Request Setting id is the same as before the export/import
Actual: Request Setting id is not the same as before the export/import

Is there an existing issue for this?

Additional Information

Export is done with Insomnia 9.3.0 and import with Insomnia 9.3.2.
Possibly related to #7457

Insomnia Version

9.3.2

What operating system are you using?

Windows

Operating System Version

Windows 10 Pro

Installation method

Download from insomnia

Last Known Working Insomnia version

No response

@ivancho979 ivancho979 added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

No branches or pull requests

1 participant