Skip to content
NewiPhone Duo, live in your browser. Try it →

Testing Test data & secrets

Test Data and Secrets

Keep usernames, passwords, PINs and one-time codes per app, use them in steps as placeholders, and keep secrets masked and away from the AI model.

Keep the values your tests type — usernames, passwords, PINs, one-time codes — in one place per app instead of in every step. Any test of the app can use them, whether or not it is in a group.

Test data

Each app has a list of named values. In a step, write the name in double braces:

Type {{username}} into the email field
Type {{password}} into the password field

On every run VibeView fills in the value before the step runs; your saved test is not changed.

You don’t have to name a key. The AI sees the app’s test data in every run, so a test like “Go to Search and play a movie” signs in with your saved username and password when the app asks for them. It sees a secret only as its name. To keep it from using test data, say so in the step, for example “Check the sign-in screen without signing in”.

In New test, the key button (or typing «) inserts a key into what the test should check, shown as a «key» chip and saved as {{key}}.

LimitValue
NameLetters, digits and underscores, up to 128 characters
ValueUp to 2000 characters
Values per appUp to 200

Only that exact form is a key: {{ name }} with spaces, or {{name|upper}}, is ordinary text.

Test data belongs to the app: every group and test of the app shares it, so editing it in one place changes it for all of them. Manage it under Setup > Notes & data on the Tests page or through the Tests API.

When a key has no value

A step can name a key the app has no value for: a typo, a key never added, or one deleted since. VibeView tells you:

  • When you save steps through the API (creating or updating a test): a warning for each such key. The test is still saved. For linked apps the check covers every platform of the test’s form factor. A secret or one-time code counts as a value.
  • On the Tests page: a notice above the list says how many tests use such a key, with Show the 3 (for example) to list only them. On a test’s page, the message is under the step that uses the key.
  • When a single test starts from CI (vibeview run-test, or Run Test in the CI API): the keys that run has no value for; the CLI prints them as warnings. Group runs and dashboard runs give no warning at the start; every finished run reports its keys with no value, in its results and on the run page.

What a run does with such a key:

  • The AI sees {{pin}} as written, so a step that only mentions it (such as “If a PIN prompt shows, enter {{pin}}” on a screen with no PIN prompt) can still pass.
  • Text that still holds the key is never typed: the step fails and nothing reaches the device. The run page shows Missing test data, with Add a value in Notes & data.
  • A Smart run whose learned path would type such a key fails before its first step, naming the step and the key.
  • App notes get the same values as steps.

Add the value under Setup > Notes & data on the Tests page (or through the Tests API), or change the step.

MessageWhat to do
“Steps use {{pin}}, which has no value for MyApp.”Add a value for pin, or fix the key’s name in the step. The test was saved.
“Test data pin has no value”Add a value in Notes & data, then run again.
“{{pin}} has no value, so it was not typed.”Shown on the run page. Same: the step tried to type the key.
“{{pin}} has no value, so it was left as the text {{pin}}.”The step only mentioned the key. Add a value if it should have one.

Secrets

Mark a value secret when it is a password, PIN, token or similar. A secret:

  • is write-only: it is never shown again and never returned by the API;
  • is masked wherever a run is shown: results, step reasoning, progress and logs. A secret of 6 or more characters is masked wherever it appears, even run together with other text. A shorter one, such as a 4-digit PIN, is masked only where it stands on its own;
  • is never put in the AI’s prompts, step text, results or logs. The AI sees {{name}}, and VibeView types the real value into the device. The AI does see screenshots, so a secret shown on screen reaches it. A learned path saves {{name}}, never the value, and replays it the same way.

Things to know:

  • A short or common value (such as “Google”) would be hidden everywhere it appears in the AI’s view and the logs. Don’t make such a value a secret.
  • Screenshots and video are not edited. A secret typed into a field that shows its text can appear in them. Prefer password fields, or use a one-time code.
  • A Verify step can’t check a secret: “Verify the label shows {{pin}}” fails with “Verify steps can’t check secrets”. Check that the right screen appears instead. A value that is not secret is filled into the step, so a Verify step can check it.
  • Opening a link uses the real value (a deep link containing {{name}} opens the real link), while the AI and the results show {{name}}.
  • A secret is one line of text with at least one letter or digit.
  • A value you add yourself is secret only when you tick Secret. A new value that arrives through a group’s variables in the API is stored as a secret when its name, or a part of it split at underscores or camelCase capitals, is password, pass, passwd, pwd, pin, secret, token, otp, key, apikey, credential or credentials (any case). So API_KEY and userToken are secrets, KEYBOARD_LAYOUT is not. A blank value stays plain.

One-time codes (TOTP)

A value of kind one-time code holds the base32 setup key your authenticator app shows when you enable two-factor sign-in. It is always secret. When a step types it, VibeView types the current six-digit code, so a test can sign in to an account that asks for a code.

Linked apps

When the same app is linked across platforms (see Same app on other platforms), its test data is shared by every linked app:

  • On the Tests page, the product’s Setup > Notes & data shows one list: each key’s shared value and an override for each platform (phone, tablet and TV alike). Leave an override empty to use the shared value. Deleting a key deletes it on every platform. See The Tests page.
  • Through the Tests API for one linked app, adding a value adds it for every linked app, changing one changes it for that platform only, and removing one removes only that platform’s own value; a value shared by every platform is removed from the Tests page or the product’s own endpoints instead.
  • A run uses the values of the platform of the device it runs on, so a test made on iOS and run on an Android device types the Android values. The platform’s own value replaces the shared value. On a device whose platform has no linked app, the run uses the shared values only.
  • The AI gets the notes written for every platform, then the notes of the device’s platform.
  • A value that is secret on one platform is secret on every platform, and a run hides every secret of the linked apps, including the other platforms’.

Start state

Each test starts from a known app state: Fresh install, Clean app data, Restart the app or Where the last test stopped (see Running tests):

  • Each test has its own start state, set in Starts from on its page or through the API (start_state, see Tests API). A test that sets none starts from Clean app data, alone or in a group. On Roku, clearing data deletes the channel and installs it again.
  • The Run dialog can pick one start state for every test of a run.
  • A single test run from CI, including vibeview run-test, starts on a freshly installed app and is not reset.

Groups

A test can be in several groups. A group has no start state or other settings of its own. Deleting a group never deletes its tests: they stay in the list. Only the group’s run history is deleted.

Last updated 2 Dec 2026 Something wrong on this page? Tell us

Search the docs