Skip to content

Projects and environments

A project is one application under test. It holds that application’s environments, routes, variables, workflows, runs, batches, and schedules. A project belongs to your organization, and everyone in the organization can see it.

A Member or an Admin can create one.

  • The first project. While the organization has no project, Projects asks for the address of the app you want to test. Make the project makes a project named from the site, with one environment, Default, at that address. A person in no organization gets an organization made with it, and is its Admin. See Write your first test, which also lists the reasons an address is refused.
  • Every project after it. Once there is a project, Projects lists them, with New project beside the list: enter a name and choose Create project. A project made this way has no environment until you add one.

A project with no workflow and no run shows Write it here and Write it with my agent on its dashboard in place of its numbers, so the first workflow is one click away. A draft is not a workflow yet, so the two stay until one becomes a workflow or the project has a run.

A Viewer in an organization with no project reads “No projects yet.”

Project, under Settings in the sidebar, renames the project, sets its icon, and deletes it.

By default the icon is taken from the website of the project’s first environment, and Refresh from website fetches it again. You can upload one in its place: a PNG, JPEG, GIF, ICO, or simple SVG file of up to 512 KB. Use automatic icon goes back to the website’s.

The sidebar always holds one project. Its name is under Belay’s, and the pages below it are that project’s. Open the name to move to another project, or choose All projects to see every project with its environments.

Looking at All projects, or at a page that is not a project’s, does not take you out of your project: the sidebar keeps the one you were last in, with its pages. You move to another project by opening it.

When you sign in, Belay opens the dashboard of the project you were last in, in the environment you last chose there. Until you have opened a project, that is the first project your organization made. If the project you were in has been deleted, it is the first one that is left.

The organization’s settings and your preferences have a sidebar of their own. The arrow at its top goes back to the project you were in.

While your organization has no project there is no sidebar. Your name, at the top right, opens Organization and Preferences.

An environment is one place the application runs: a name, such as staging or production, and a base URL.

Add one on Environments, under Settings in the sidebar, where you can also rename it, change its base URL, give it a colour, and delete it. Once there is a project, Projects has a New environment form too.

  • It must start with http:// or https://.
  • It must be reachable from the internet. Belay’s browsers cannot open an address on a private network or on your own computer.
  • It must not contain a user name or password. Sign in with steps, using a secret for the password.
  • It can carry a path. Routes and paths in steps are added after it: with the base URL https://example.com/app and a route whose path is /login, a step that goes to that route opens https://example.com/app/login.

A changed base URL is used by the next run on that environment.

Workflows belong to the project, not to an environment. You choose the environment when you start a run, so the same workflow tests staging and production. What differs between them goes in variables, which can have a value per environment.

Under the project’s name in the sidebar is the environment you are looking at. Choose one, and the dashboard, workflows, runs, batches, and schedules show that environment, and a run you start goes to it. With two or more environments, choose All environments to see them together and to pick the environment each time you start a run.

Your choice is kept in the page’s address, so a link you share shows what you saw. Belay remembers your last choice for each project.

On All projects and other pages that are not a project’s, the picker shows your last choice, and choosing another environment opens the project’s dashboard in it.

Deleting a project, an environment, or a workflow takes it out of every list, and nothing can be run on it afterwards. Runs that already happened stay readable.

Deleting a project asks you to type its name first, and says what goes with it.