mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #2104] [MERGED] feat: handle test script execution failure #3628
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#3628
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/2104
Author: @RishabhAgarwal-2001
Created: 1/31/2022
Status: ✅ Merged
Merged: 2/1/2022
Merged by: @liyasthomas
Base:
main← Head:main📝 Commits (4)
951c155feat: handle test script execution failuread04ab2Merge branch 'main' into maind567eb9fix: make script error non optionalb27b111Merge branch 'main' into main📊 Changes
4 files changed (+33 additions, -3 deletions)
View changed files
📝
packages/hoppscotch-app/components/http/TestResult.vue(+19 -0)📝
packages/hoppscotch-app/helpers/RequestRunner.ts(+9 -1)📝
packages/hoppscotch-app/helpers/types/HoppTestResult.ts(+1 -0)📝
packages/hoppscotch-app/locales/en.json(+4 -2)📄 Description
Closes #2079
Description
Existing code didn't handle the case when execution of test script was not successful. In case of a faulty test/post-request script, the users were greeted with the results of the latest valid test script.
With this PR, the case of script execution failure is now covered. Users will see an error message instead of old test results.
Checks
Additional Information
N/A
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.