Create and Update Tests
Learn how to browse, filter, and organize tests in SmoothDeploy, and how to create new tests from scratch, code, or the recorder.
The Tests page lists every test in a project. Use it to browse, create, run, and organize your tests.
The Test List
Click Tests in the sidebar. Tests live in a directory tree; click a directory to drill in. The page title and a back link show your current location.
Filtering and Pagination
- Type in the search box to filter by name.
- Use the Status dropdown to filter by
draft,active,archived, orquarantined. - Use the Tags dropdown to filter by tag (shown when tags exist).
Filters compose. Filter state is saved in the URL, so you can share or bookmark a filtered view.
Use the Rows per Page selector (10, 25, 50, 100, 500) and the navigation buttons at the bottom to page through results.
Columns
| Column | What It Shows |
|---|---|
| (checkbox) | Select the row for bulk actions |
| Name | Test or directory name; click to open |
| Status | Icon: pencil = draft, check = active, box = archived |
| Tags | Color-coded tag badges |
| Steps | Number of steps in the test |
| Last updated | When the test was last modified |
Per-Row Actions
| Button | Action |
|---|---|
| Run (play icon) | Start a remote run. A directory's Run runs every test inside it |
| Run Locally | Desktop app only, shown for tests with at least one step. Runs the test on your machine |
| View Test (pen icon) | Open the test details page |
| Duplicate | Copy the test or directory with a new name; the copy starts as draft |
| Delete (trash icon) | Admins and owners only |
A test can have only one run in progress. Starting another while one is queued or running fails with "Test already has a run in … status"; wait for it or cancel it first.
Bulk Actions
Select rows with the checkboxes to reveal the bulk toolbar:
| Button | Action |
|---|---|
| Run (play icon) | Run all selected tests |
| Change Status (arrows icon) | Set all selected to draft, active, archived, or quarantined |
| Move to Directory (folder-arrow icon) | Move selected tests into a directory |
| Set Tags (tag icon) | Replace tags on all selected tests |
| Delete (trash icon) | Delete selected tests — admins and owners only |
Draft and archived tests are excluded from bulk runs. A toast names how many drafts will be skipped. Change their status to active first.
A test that belongs to one or more active schedules cannot be deleted. A dialog lists the blocking schedules and links to the Schedules page.
Toolbar Actions
These are always visible regardless of selection:
| Button | Action |
|---|---|
| Create Directory | Create a new directory in the current location |
| Record Test | Desktop app only. Opens the recorder; see Playwright Test Recorder |
| Status filter | Filter by draft, active, archived, or quarantined |
| Tags filter | Filter by tag |
| Toggle columns (eye icon) | Show or hide columns |
| Import Code | Import a test from a Playwright spec file or paste a raw script |
| Export | Export as CSV (metadata only), JSON (full test data), or Playwright (.spec.ts files). The same menu holds Import Archive, which restores tests from a SmoothDeploy JSON export (.zip) |
| Refresh (circular arrows icon) | Reload the test list |
The Export scope depends on what is selected or filtered: selected rows export selected tests; inside a directory exports that directory; filtered by tag exports tagged tests; otherwise exports the current page.
Creating a Test
Click Create Test in the empty-state prompt, or click New Test in the top-right of the navbar (keyboard shortcut: /). Both open the same form. You can also record a test in the desktop app, import one from code or an archive (see above), or create one through the API or an MCP client.
| Field | Required | Notes |
|---|---|---|
| Test Name | Yes | |
| Description | No | |
| Test Type | Yes | VISUAL (step-based) or SCRIPT (Playwright spec file) |
| Status | Yes | Draft or Active; defaults to Draft |
For a SCRIPT test, upload or paste a .spec.ts / .spec.js file. The test name is prefilled from the filename if left blank.
See Roles and Permissions for the full permission matrix.
Next Steps
Dashboard
The dashboard shows test health and recent activity for your active branch, including pass rate, run counts, and failed and flaky test lists.
Test Editor
Build and edit the steps that make up a visual test in the SmoothDeploy test editor, including conditions, groups, shared steps, and the script preview.