-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbrowserstack.yml
More file actions
59 lines (51 loc) · 2 KB
/
Copy pathbrowserstack.yml
File metadata and controls
59 lines (51 loc) · 2 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
# =============================
# Set BrowserStack Credentials
# =============================
# Add your BrowserStack userName and accessKey here or set BROWSERSTACK_USERNAME and
# BROWSERSTACK_ACCESS_KEY as env variables
userName: ${BROWSERSTACK_USERNAME}
accessKey: ${BROWSERSTACK_ACCESS_KEY}
# ======================
# BrowserStack Reporting
# ======================
projectName: BrowserStack Self-Heal Sample Project
buildName: browserstack self-heal sample build native app
buildIdentifier: '#${BUILD_NUMBER}'
framework: testng
source: testng:appium-sample-sdk:v1.1
# =============================================
# App Selection — Toggle for Demo
# =============================================
# DEMO PART 1 (Without Self-Healing): selfHeal: false
# Step 1: Use BaseApp → mvn test -P sampleBaseAppTest → Tests PASS
# Step 2: Use SelfHealApp → mvn test -P sampleSelfHealAppTest → Tests FAIL
#
# DEMO PART 2 (With Self-Healing): selfHeal: true
# Step 1: Use BaseApp → mvn test -P sampleBaseAppTest → Tests PASS (Agent learns)
# Step 2: Use SelfHealApp → mvn test -P sampleSelfHealAppTest → Tests PASS (healed!)
#
# app: ./apps/BaseApp.apk # BaseApp — original selectors (tests PASS)
# app: ./apps/SelfHealApp.apk # SelfHealApp — changed selectors (tests FAIL without self-heal)
app: ./apps/browserstack-demoapp.apk
# =======================================
# Platforms
# =======================================
platforms:
- deviceName: Samsung Galaxy S22 Ultra
osVersion: 12.0
platformName: android
parallelsPerPlatform: 6
browserstackLocal: false
# ===================
# Debugging features
# ===================
debug: false
networkLogs: false
consoleLogs: errors
# =============================================
# Self-Heal Toggle
# =============================================
# DEMO PART 1: selfHeal: false → SelfHealApp tests FAIL (no healing)
# DEMO PART 2: selfHeal: true → SelfHealApp tests PASS (AI heals broken selectors)
#
selfHeal: false # Set to true for Demo Part 2