Your first test case
If you run the Quick start, you probably noticed that a Lila test is just a YAML file with human readable steps.
Each step can be:
goto
verify
click
type
hover
search
login
tip
For more details about the step instructions, read the Instructions section
Starting template
template.yaml
tags:
- foo
- bar
steps:
- goto: <my-app>
- login:
...
- Install the CLI:
# python >= 3.11 required
pip install lilacli
- Run init:
lila init
- Create an account in https://app.lila.dev
- Create a new team and copy the default API Key
- Run
LILA_API_KEY=<api-key> lila run test
Ready! Open the link provided to see the test results.