Skip to content

Add the ability to collapse Environment section using a Hide/Unhide #622

@arindam31

Description

@arindam31

In some projects, the environment variable list is just too long. Takes a bit of a scroll to reach the test details.

There can two solutions:

  1. Add a simple button

114417843-3f18b580-9bb2-11eb-8edb-5d338e484345-2

The JS will be also simple:

function hideEnvironment() {
  var x = document.getElementById("environment"); // 
  var buttonName = document.getElementById("environHideUnhide");
  if (x.style.display === "none") {
    x.style.display = "block";
    buttonName.innerText = 'Hide';
  } else {
    x.style.display = "none";
    buttonName.innerText = 'UnHide';
  }
}
  1. Add the ability to add JS and HTML tags anywhere with a hook. May be based on IDs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions