refactor: comment out unused APIs (#7323)

* refactor: comment out unused API hints in autocomplete.js

* refactor: comment out unused API translations in postman and bruno translators

Temporarily disable certain API translations due to UI update issues affecting their functionality. A note has been added to restore these translations once the UI fixes are implemented.

* refactor: temporarily skip tests for collection variable translations due to UI update issues

Commented out tests related to `setCollectionVar`, `deleteCollectionVar`, and related functionalities until the necessary UI updates are implemented. A note has been added to restore these tests once the fixes are live.

* refactor: comment out variable deletion and retrieval methods due to UI sync issues

* revert: ping.bru

* refactor: update postman translation tests to enable previously skipped cases
This commit is contained in:
sanish chirayath
2026-03-04 18:00:10 +05:30
committed by GitHub
parent 75c3ab8032
commit 17c3dc0e2b
21 changed files with 270 additions and 149 deletions

View File

@@ -12,4 +12,4 @@ get {
script:pre-request {
bru.runner.stopExecution();
}
}

View File

@@ -11,6 +11,9 @@ get {
}
script:pre-request {
// TODO: skipped because deleteAllCollectionVars does not update the UI
bru.runner.skipRequest();
return;
bru.setCollectionVar("testDelAllCollectionA", "a");
bru.setCollectionVar("testDelAllCollectionB", "b");
}

View File

@@ -11,6 +11,9 @@ get {
}
script:pre-request {
// TODO: skipped because deleteAllGlobalEnvVars does not update the UI
bru.runner.skipRequest();
return;
bru.setGlobalEnvVar("testDelAllGlobalA", "a");
bru.setGlobalEnvVar("testDelAllGlobalB", "b");
}

View File

@@ -11,6 +11,9 @@ get {
}
script:pre-request {
// TODO: skipped because deleteCollectionVar does not update the UI
bru.runner.skipRequest();
return;
bru.setCollectionVar("testDeleteCollectionVar", "to-be-deleted");
bru.deleteCollectionVar("testDeleteCollectionVar");
}

View File

@@ -11,6 +11,9 @@ get {
}
script:pre-request {
// TODO: skipped because deleteGlobalEnvVar does not update the UI
bru.runner.skipRequest();
return;
bru.setGlobalEnvVar("testDeleteGlobalEnvVar", "to-be-deleted");
bru.deleteGlobalEnvVar("testDeleteGlobalEnvVar");
}

View File

@@ -11,6 +11,9 @@ get {
}
script:pre-request {
// TODO: skipped because getAllCollectionVars does not update the UI
bru.runner.skipRequest();
return;
bru.setCollectionVar("testCollectionA", "valueA");
bru.setCollectionVar("testCollectionB", "valueB");
}

View File

@@ -10,6 +10,11 @@ get {
auth: none
}
script:pre-request {
// TODO: skipped because setCollectionVar does not update the UI
bru.runner.skipRequest();
}
script:post-response {
bru.setCollectionVar("testSetCollectionVar", "collection-test-value")
}