Element reference

Autotest

Autotest ​

An autotest is a check that a program executes. Steps use Playwright action names and live in the project.

Relations ​

Related elementHow it connects
ProjectRequired owner
Autotest stepOrdered steps
Test accountOptional bind on kind CASE only
COMMON predecessorExplicit list of READY + COMMON autotests in the same project
Autotest resultCreated when the autotest is included in a run
TagOptional labels on the card and in the listing Tags column

Enumerations ​

Kind ​

ValueMeaning
CASEScenario that starts as its own job in a run
COMMONSetup. Does not start as its own job. Steps run only as an explicit predecessor of another autotest in the same project

There is no kind named SHARED, SETUP, or SCENARIO.

Status ​

ValueMeaning
PENDINGNot ready
READYCan enter a run when kind is CASE
DISABLEDExcluded from runs

Only READY + kind CASE enter a run (all such autotests, or a list you select).

Rules ​

  • Bind a test account on the CASE, not on COMMON.
  • A COMMON step may still use value source TEST_ACCOUNT (login or password). The value comes from the account of the CASE in the queue.
  • If the CASE has no account and a step asks for TEST_ACCOUNT, the run fails. It does not send an empty string.
  • Predecessors on an autotest card: list READY + COMMON autotests in this project, in order. In the UI the block is Pre autotest cases. They run first in the same browser session. Nested predecessors on those COMMON cards are not expanded.
  • On the Table view, Kind (CASE / COMMON) is editable like Status. Tags shows tags attached to the autotest. Listing views: Autotest listing views.

Playwright tab ​

The autotest card has a Playwright tab. It shows this scenario as one JavaScript file in the shape of a Playwright test. Copy puts the text on the clipboard. The tab is read-only: editing the file on your machine does not change the autotest in ComplexQA.

One test contains the direct predecessors' steps first, then this autotest's steps, on the same page. A predecessor's own predecessors are not included. A run does not expand them either.

Constants above the test are for you to fill when they are empty:

ConstantWhen it appearsWhat it holds
baseURLA step opens a relative pathEmpty. Set the stand address, for example https://example.test, with no trailing slash. A relative path is joined to it. A full http:// or https:// address in a step stays as written
A name from <<name>>The token is in these steps, a page path, or a locatorEmpty. Values from an autotest run are not copied here
login, passwordA step reads the test accountThe login and password of this autotest's account, already filled in. Predecessor steps use that same account. On a shared autotest with no account the constants are empty

The file does not repeat the step timeout or the run's allowed domains. Save the text as a test file and run it the way the Playwright documentation describes.

Limits ​

  • Before a run you need a verified team domain and an execution context snapshot. See Autotest run creation. Axes inside the snapshot may be empty: the worker applies Chromium and 1920x1080 per the rules on the execution context page.
  • localhost and similar reserved hosts are not accepted as starting domains.

Version 1.4.0 · Last updated 2026-11-08

Did this page help?