mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #3059] [MERGED] fix: set team environment from test #4208
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#4208
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/3059
Author: @nivedin
Created: 5/16/2023
Status: ✅ Merged
Merged: 5/30/2023
Merged by: @AndrewBastin
Base:
release/2023.4.4← Head:fix/team-env-set-test📝 Commits (2)
297c2f1fix: set team env from test694d371fix: type isssue📊 Changes
3 files changed (+37 additions, -12 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/environments/my/Details.vue(+2 -2)📝
packages/hoppscotch-common/src/components/environments/teams/Details.vue(+17 -7)📝
packages/hoppscotch-common/src/components/http/TestResult.vue(+18 -3)📄 Description
Closes HFE-54
Description
This PR adds the option to set an environment from the test and save it as a team environment if the team workspace is selected.
Before
When using the test
pw.env.set("variable", "value");saves the environment to the 'My Environments' or to the 'Global' even the current workspace is selected as team.After
Now when using the
pw.env.set("variable", "value");sets the environment automatically to the selected team environment and personal environments respectively checking the current workspace status.Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.