about summary refs log tree commit diff
path: root/__e2e__/perf-test.yml
blob: 7a7b7a18c9055a3ef665f985b63facad2e98cfb7 (plain) (blame)
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
# flow.yaml

appId: xyz.blueskyweb.app
---
- launchApp
# Login
# - runFlow:
#    when:
# - tapOn: "Sign In"
# - tapOn: "Username or email address"
# - inputText: "ansh.bsky.team"
# - tapOn: "Password"
# - inputText: "PASSWORd"
# - tapOn: "Next"
# Allow notifications if popup is visible
# - runFlow:
#     when:
#       visible: "Notifications"
#     commands:
#       - tapOn: "Allow"
# Scroll in main feed
- "scroll"
- "scroll"
- "scroll"
- "scroll"
- "scroll"
- "scroll"
- "scroll"
- "scroll"
# Swipe between feeds
- swipe:
    direction: "LEFT"
- swipe:
    direction: "LEFT"
- swipe: 
    direction: "LEFT"
- swipe:
    direction: "RIGHT"
- swipe:
    direction: "RIGHT"
- swipe:
    direction: "RIGHT"
# Go to Notifications
- tapOn:
    id: "viewHeaderDrawerBtn"
- tapOn: "Notifications"
- "scroll"
- "scroll"
- "scroll"
- "scroll"
- "scroll"
- swipe:
    direction: "DOWN" # Make header visible
# Go to Feeds tab
- tapOn:
    id: "viewHeaderDrawerBtn"
- tapOn: "Feeds"
- scrollUntilVisible:
    element: "Discover"
    direction: UP
- tapOn: "Discover"
- waitForAnimationToEnd
- "scroll"
- "scroll"
- "scroll"
- "scroll"
- "scroll"
# Click on post
- tapOn:
    id: "postText"
    index: 0
- "scroll"
- "scroll"
- "scroll"
- "scroll"
- "scroll"