How-to
Add, edit or delete an application
Updated
On this page
An application is a repository connected to Zof, with a name, a description and the URL New run tests. Each change takes about 2 minutes. Changing applications needs permission to edit tests and projects; without it, the rows have no actions menu and the application's page has no Edit or Delete.
Add an application
- In the sidebar, open Applications and click Add application.
- Pick a repository. Only repositories the Zof GitHub App can see, and that aren't an application yet, are listed.
- Optionally give it a Name (the repository's name by default), a description and a URL, then click Add.
If the repository's test is disabled in Tests, Zof doesn't add it until you enable the test.
Adding an application also sets up the built-in source security check for its repository, so its pull requests are scanned without any setup or writing a test.
The URL field offers the addresses saved for the repository or seen deployed from it, and you can type any other. The URL must start with https:// (http:// only for localhost) and can't hold a username or password. Zof's own site, such as https://zof.ai, isn't offered and is refused: "This is Zof’s own site, not your app. Enter your app’s address."
Saving a test account in New run's Options also adds its repository as an application when it isn't one yet, so the account is kept for the next run. Automatic web-agent setup can reuse it as saved_site_account, without copying its credentials. Account rotation or removal invalidates its old run pin. See Run a test.
Edit an application
- On the application's row, open the actions menu and click Edit. On the application's own page, click Edit at the top.
- Change the Name, the description or the URL, then click Save.
The same checks as Add apply. A new URL is used by future New runs only; runs already made keep the address they used. The Repository can't be changed, because runs and history are tied to it. To test another repository, add it as a new application.
Delete an application
- On the application's row, open the actions menu and click Delete, or click Delete on its page.
- The dialog says what happens, for example "Removes Checkout from Applications and every picker. Its runs and evidence stay in Runs. Pull-request checks keep running while the repository is connected. To stop them, disconnect the repository in Integrations."
- Click Delete to confirm, or Cancel.
Deleting never removes runs or evidence: the application leaves the list and the pickers (New run, test projects, Pass rates), and everything recorded against it stays. A deleted application can't be chosen for a new test, project, setup or run.
Deleting also clears the application's stored test login, including its saved credentials.
Zof won't delete an application while something still runs it:
- a test of its repositories or test projects that is queued or running;
- a schedule on the Schedules page that isn't paused and runs one of its repositories or test projects.
The dialog names what's in use, for example "2 schedules and 1 running test use this application. Pause or remove them first." Pause or delete those schedules in Schedules, wait for the tests to finish or cancel them in Runs, then delete the application. Deleting never pauses or changes a schedule for you. If Zof can't check, it says "Couldn't check whether this application is in use. Try again." and deletes nothing.
While it's deleted, no run starts directly on the application: New run (one test or a group), Run now and Retry on a test in a group, and starting a test project's agents are refused. A schedule on one of its repositories or test projects can't be created or resumed, and an active schedule can't be moved onto them. Zof says "This application is archived. Restore it to run tests."
Pull-request checks keep running while the repository is connected. To stop them, disconnect the repository in Integrations. Pull-request checks are the release gate, so deleting an application never stops them.
To bring a deleted application back, add its repository again. Zof restores the same application with its runs and history. Its stored test login and named sign-ins are not restored: save them again before running signed-in or authorization tests.
Check that it worked
- After a save, the console says "Application saved", and the row shows the new name.
- After a delete, the console says "Application deleted", and the application is gone from Applications and from New run.
- Open Runs: the application's past runs are still there.