Skip to content

Config tab

The Config tab of the Settings screen (/settings?tab=config) is where you edit the configuration your tests read when they run. The old /environments and /manage URLs redirect to this screen.

Config tab — file chips for playwright.config.ts and tsconfig.json, the Load config chip, and the selected file's values

The Config tab finds the configuration files already in your project — .env files, .properties files, JSON/YAML config — and gives you a form-style editor for them. Instead of opening a file in a text editor and risking a typo in a key name, you edit values in a table and save.

This matters most when you have several environments. A suite that reads BASE_URL from a config file can be pointed at QA, staging, or production by changing one value here, with no code change and no redeploy.

  • Across the top — the file chips. One chip per config file Testver discovered or you loaded (for example Default, Production, Playwright, tsconfig.json), plus a dashed Load config chip for adding your own. A file you loaded yourself carries a LOADED badge. The selected chip is highlighted; an amber dot marks a file with unsaved changes. Above the chips, on the right, sit the Rescan icon (circular arrows) and a Load config button.
  • Below — the editor. The selected file’s contents. Its header shows the file’s name and path, a format badge (for example DOTENV, JSON or JS CONFIG), and the save button — Saved when there is nothing to save, Save changes when there is. A setting that holds the base URL is surfaced as its own Base URL field above the Variables & secrets list.
Config editor for playwright.config.ts — JS CONFIG badge, Saved button, and the Variables & secrets table with each value flagged plain

Each row is one setting:

ControlWhat it does
KeyThe variable name, for example BASE_URL.
ValueWhat the variable is set to.
Eye iconReveals or hides a value that is being masked.
plain / secret flagShown at the end of each row. Testver detects this from the key name — a key that looks like a credential is treated as secret and masked on screen; everything else shows as plain. Click the flag to switch a row between plain and secret.
Trash iconAppears when you hover a row; removes it.
Add variableAbove the list, adds an empty row.
Config tab with tsconfig.json selected — JSON badge, Add variable link, and its compilerOptions values

Changes are staged until you save, so an accidental keystroke doesn’t immediately change how your tests run. The amber dot in the file list and a Discard button let you back out of unsaved edits.

Code configs such as playwright.config.ts (badge JS CONFIG) are edited values only: there is no Add variable or trash icon, keys can’t be added or renamed, and the rest of the file’s code is left untouched — the note under the list says so.

If Testver didn’t pick up a file automatically — for example a config nested somewhere unusual — click Load config to open the Load a config file dialog and give it the path relative to the project root (for example config/qa/settings.properties), then Load. The dialog also lists the files Loaded by you — each with an Un-load (trash) button that removes it from the list without deleting anything from disk — and the config files Testver Detected, not loaded, with a filter box; click one to load it.

Load a config file dialog — a path box with Load, the files loaded by you with un-load buttons, and a detected file not yet loaded

Use the Rescan icon if you’ve added config files to the project since opening the screen.