Repository navigation
Expand file tree
/
Copy pathprobe.yaml.example
More file actions
86 lines (77 loc) · 3.36 KB
/
Copy pathprobe.yaml.example
File metadata and controls
86 lines (77 loc) · 3.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# FlutterProbe configuration — copy to probe.yaml and customize
#
# Resolution order: CLI flag > probe.yaml > built-in default
project:
name: "My App"
app: com.example.myapp # Bundle Identifier (iOS) or application ID (Android); on Android a camelCase value may match its snake_case form
defaults:
platform: android # android | ios
timeout: 30s
screenshots: on_failure # true | false | on_failure
video: false
retry_failed_tests: 0
agent:
port: 48686
dial_timeout: 30s
token_read_timeout: 30s
reconnect_delay: 2s
device:
boot_timeout: 120s
restart_delay: 500ms
# Cloud dashboard (optional — upload results to FlutterProbe Cloud)
# Set cloud.url to your cloud API endpoint. There is no default URL;
# you must configure it here or pass --cloud-url on the CLI.
# cloud:
# url: https://your-cloud-instance.example.com
# token: ${PROBE_CLOUD_TOKEN}
# Cloud device farm provider (optional — bring your own account)
# Supported: browserstack | saucelabs | lambdatest | aws | firebase (deprecated by Google, shuts down 2027-09-30)
# All are implemented but not verified on a live account, and cloud runs need a relay service:
# https://flutterprobe.dev/tools/cloud-farms/
#
# cloud:
# provider: saucelabs
# app: build/app/outputs/flutter-apk/app-debug.apk
# devices:
# - "Google Pixel 7-13.0"
# credentials:
# username: ${SAUCE_USERNAME} # or BROWSERSTACK_USERNAME, etc.
# access_key: ${SAUCE_ACCESS_KEY} # or BROWSERSTACK_ACCESS_KEY, etc.
# region: us-west-1 # SauceLabs only (us-west-1 | eu-central-1)
#
# AWS Device Farm:
# credentials:
# access_key_id: ${AWS_ACCESS_KEY_ID}
# secret_access_key: ${AWS_SECRET_ACCESS_KEY}
# project_arn: arn:aws:devicefarm:us-west-2:...
# region: us-west-2
#
# Firebase Test Lab:
# credentials:
# service_account: /path/to/service-account.json
# project_id: my-firebase-project
# AI-powered visual assertions (optional — bring your own provider key).
# `see "<assertion>" with ai` only works once this is configured; there is
# no default provider and nothing is sent anywhere unless you set this AND
# use `with ai` explicitly in a test. Direct calls to the provider you pick
# below — never relayed through a FlutterProbe-operated service.
# ai:
# provider: anthropic # openai | anthropic | local — required, no default
# api_key: ${ANTHROPIC_API_KEY} # or OPENAI_API_KEY for provider: openai; not used for provider: local
# redact: # black out these widgets before any screenshot leaves the device
# - selector: "#credit_card_field"
# - selector: "Account Balance"
#
# provider: local — nothing leaves the device/host at all, not even to a BYO-key cloud
# vendor. Points at any OpenAI-compatible local server (e.g. Ollama, LM Studio):
# ai:
# provider: local
# endpoint: http://localhost:11434/v1 # OpenAI-compatible base URL — required for provider: local
# model: llava # required — no default; must be a vision-capable model your server has loaded
# timeout: 90s # default: 60s. Large local reasoning models can take longer than that per call.
reports_folder: reports
recipes_folder: tests/recipes
# Custom tool paths (optional — defaults to PATH lookup)
# tools:
# adb: /path/to/adb
# flutter: /path/to/flutter