Skip to content

Export and import tests

You can take your tests out of Marriska — as runnable Playwright code, as YAML, or as a .marriska bundle you can import again later.

FormatWhat you getGood for
.marriskaA JSON bundle of the test (steps, metadata)Re-importing into Marriska
YAMLThe step list in YAMLReading, diffing, version control
PythonA runnable Playwright Python scriptHanding to an engineer, running outside Marriska

Open the test’s ⋯ menu in the Tests explorer (or right-click it) and pick Export .marriska.

Several tests download as one ZIP, one file per test:

  • Everything currently listed — the Export N shown button under the filters in the Tests sidebar. It exports exactly what the sidebar is showing, so it respects the project you are in, any tag filter, and the status filter. That is how you export a whole project, or everything carrying a tag. The files are .marriska.
  • A hand-picked set of tests — tick them on the Tests page and use the Export action in the bar that appears. The files are .marriska; one ticked test downloads as a single file instead of a ZIP.
  • A whole test set — open the set’s ⋯ menu on the Runner page (or right-click it) and pick Export .marriska, Export YAML or Export Python.

The app offers YAML and Python through a test set only. For one test, the API has all three — GET /api/v1/tests/{test_id}/export/{marriska|yaml|python} — with the same signed-in-only rule as a run’s exports: an API key is refused.

Import accepts the .marriska format — the same bundle the exporter produces. In the test editor, choose Import and pick a .marriska file; its steps load into the editor, ready to review and save.

To move a test to another project, you do not need the round-trip: the explorer’s row menu (the ⋯, or a right-click) has Move to project… — see Organize tests with projects and folders. Export and import is for a copy: the original stays where it is.

Export and import aren’t plan-gated — they work on every tier. The only gate is the usual one: you can export tests in your own organization.