[PR #4419] [MERGED] feat: add button to export test results as json #4789

Closed
opened 2026-03-17 02:17:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4419
Author: @Pranay-Pandey
Created: 10/8/2024
Status: Merged
Merged: 10/28/2024
Merged by: @AndrewBastin

Base: nextHead: feat-test-result-export


📝 Commits (4)

  • f88bb5d feat: add button to export test results as json
  • a3bd351 chore: replace export icon with download icon
  • 980027d chore: change naming for consistency
  • bf3d4b2 chore: update i18n text

📊 Changes

3 files changed (+51 additions, -6 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+1 -0)
📝 packages/hoppscotch-common/src/components/http/TestResult.vue (+21 -6)
packages/hoppscotch-common/src/helpers/import-export/export/testResults.ts (+29 -0)

📄 Description

Closes #4328

Add a button next to test results to export the test results as a JSON file.

What's changed

Added a share icon next to trash icon in the test results tray.
Added a new file to export the test Results to a json.

Notes to reviewers


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4419 **Author:** [@Pranay-Pandey](https://github.com/Pranay-Pandey) **Created:** 10/8/2024 **Status:** ✅ Merged **Merged:** 10/28/2024 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `next` ← **Head:** `feat-test-result-export` --- ### 📝 Commits (4) - [`f88bb5d`](https://github.com/hoppscotch/hoppscotch/commit/f88bb5d01f67f3c4b247f9db09f8b6bc77dc6c2c) feat: add button to export test results as json - [`a3bd351`](https://github.com/hoppscotch/hoppscotch/commit/a3bd351a5bca201e7e394841ea446396cc9dd95c) chore: replace export icon with download icon - [`980027d`](https://github.com/hoppscotch/hoppscotch/commit/980027d336d7f2db7aee3750b9208589f2ecc9be) chore: change naming for consistency - [`bf3d4b2`](https://github.com/hoppscotch/hoppscotch/commit/bf3d4b22d67fc01f4d23eba04c86d149b19e1363) chore: update i18n text ### 📊 Changes **3 files changed** (+51 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+1 -0) 📝 `packages/hoppscotch-common/src/components/http/TestResult.vue` (+21 -6) ➕ `packages/hoppscotch-common/src/helpers/import-export/export/testResults.ts` (+29 -0) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes #4328 <!-- Issue # here --> <!-- Add an introduction into what this PR tries to solve in a couple of sentences --> Add a button next to test results to export the test results as a JSON file. ### What's changed <!-- Describe point by point the different things you have changed in this PR --> Added a share icon next to trash icon in the test results tray. Added a new file to export the test Results to a json. <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Notes to reviewers <!-- Any information you feel the reviewer should know about when reviewing your PR --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:17:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4789
No description provided.