summaryrefslogtreecommitdiffstats
path: root/tools/perf/page_sets/key_silk_cases.json
blob: cecd53fdc758c48cc7f8f4e169afde0b315e749f (plain)
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
{
  "description": "Pages hand-picked for project Silk.",
  "archive_data_file": "data/key_silk_cases.json",
  "credentials_path": "data/credentials.json",
  "user_agent_type": "mobile",
  "smoothness": { "action": "scroll" },
  "navigate_steps" : [
    { "action": "navigate" },
    { "action": "wait", "seconds": 2 }
  ],
  "pages": [
    {
      "url": "http://groupcloned.com/test/plain/list-recycle-transform.html",
      "why": "best case infinite scroll from sencha",
      "smoothness": {
        "action": "scroll",
        "scrollable_element_function": "function(callback) { callback(document.getElementById('scrollable')); }"
      }
    },
    {
      "url": "http://groupcloned.com/test/plain/list-animation-simple.html",
      "why": "lots of layers all animating",
      "smoothness": { "action": "wait", "seconds": 2 }
    },
    {
      "url": "http://www.polymer-project.org/polymer-all/labs/list/static-scroll-display.html",
      "why": "",
      "smoothness": {
        "action": "scroll",
        "scrollable_element_function": "function(callback) { callback(document.getElementById('list')); }"
      }
    },
    {
      "url": "http://www.polymer-project.org/polymer-all/labs/list/virtual-scroll-examples.html",
      "why": "",
      "smoothness": {
        "action": "scroll",
        "scrollable_element_function": "function(callback) { callback(document.getElementById('list')); }"
      }
    },
    {
      "url": "http://groupcloned.com/test/plain/sticky-using-webkit-backface-visibility.html",
      "why": "",
      "smoothness": {
        "action": "scroll",
        "scrollable_element_function": "function(callback) { callback(document.getElementById('container')); }"
      }
    },
    {
      "url": "http://pr.gg/scroll6_even_faster.html",
      "why": "reduced version of ui toolkit static scroll case",
      "smoothness": {
        "action": "scroll",
        "scrollable_element_function": "function(callback) { callback(document.getElementsByClassName('container')[0]); }"
      }
    },
    {
      "url": "http://jsfiddle.net/mdxJ7/3/embedded/result/",
      "why": "only the green div should repaint",
      "smoothness": { "action": "wait", "seconds": 3 }
    },
    {
      "url": "http://jsfiddle.net/3yDKh/1/embedded/result",
      "why": "only the red div should repaint",
      "smoothness": { "action": "wait", "seconds": 3 }
    },
    {
      "url": "http://jsfiddle.net/3yDKh/3/embedded/result",
      "why": "margin top animation",
      "smoothness": { "action": "wait", "seconds": 3 }
    },
    {
      "url": "http://jsfiddle.net/R8DX9/1/embedded/result/",
      "smoothness": { "action": "wait", "seconds": 3 }
    },
    {
      "url": "http://jsfiddle.net/rF9Gh/1/embedded/result/",
      "smoothness": { "action": "wait", "seconds": 3 }
    },
    {
      "url": "http://jsfiddle.net/uHqN9/embedded/result/",
      "smoothness": { "action": "wait", "seconds": 4 }
    },
    {
      "url": "http://jsfiddle.net/humper/yEX8u/3/embedded/result/",
      "smoothness": { "action": "wait", "seconds": 4 }
    },
    {
      "url": "http://jsfiddle.net/humper/cKB9D/3/embedded/result/",
      "smoothness": { "action": "wait", "seconds": 4 }
    },
    {
      "url": "http://jsfiddle.net/vBQHH/3/embedded/result/",
      "smoothness": { "action": "wait", "seconds": 4 }
    },
    {
      "url": "http://www.google.com/nexus/5/#/",
      "smoothness": { "action": "scroll" }
    },
    {
      "url": "https://play.google.com/store/devices/details/Nexus_5_16GB_White?id=nexus_5_white_16gb",
      "smoothness": {
        "action": "toggle",
        "repeat": 3
      },
      "toggle": [
        {
          "action": "click_element",
          "selector": ".details-info .play-button:not(.selected)"
        },
        { "action": "wait", "seconds": 2}
      ]
    },
    {
      "url": "http://jsfiddle.net/426x6/2/embedded/result",
      "smoothness": { "action": "wait", "seconds": 2 }
    },
    {
      "url": "http://jsfiddle.net/FtR7p/42/embedded/result/",
      "smoothness": { "action": "wait", "seconds": 5 }
    },
    {
      "url": "http://jsfiddle.net/ugkd4/9/embedded/result/",
      "smoothness": { "action": "wait", "seconds": 5 }
    },
    {
      "url": "file://key_silk_cases/text-mask.html",
      "smoothness": { "action": "wait", "seconds": 4 }
    },
    {
      "url": "file://key_silk_cases/rectangle_transition.html",
      "smoothness": { "action": "wait", "seconds": 5 }
    },
    {
      "url": "file://key_silk_cases/font_wipe.html",
      "smoothness": { "action": "wait", "seconds": 5 }
    },
    {
      "url": "file://key_silk_cases/inbox_app.html?swipe_to_dismiss",
      "navigate_steps" : [
        { "action": "navigate" },
        { "action": "wait", "seconds": 2 }
      ],
      "smoothness": {
        "action": "swipe_to_dismiss"
      },
      "swipe_to_dismiss": [
        {
          "action": "swipe",
          "element_function": "function(callback) { callback(document.getElementsByClassName('message')[2]); }",
          "distance": 200,
          "direction": "left",
          "left_start_percentage": 0.8,
          "top_start_percentage": 0.2,
          "wait_after": {
            "javascript": "document.getElementsByClassName('message').length < 18"
          }
        }
      ]
    },
    {
      "url": "file://key_silk_cases/inbox_app.html?stress_hidey_bars",
      "navigate_steps" : [
        { "action": "navigate" },
        { "action": "wait", "seconds": 2 }
      ],
      "smoothness": {
        "action": "stress_hidey_bars"
      },
      "stress_hidey_bars": [
        {
          "action": "scroll",
          "scrollable_element_function": "function(callback) { callback(document.getElementById('messages')); }",
          "direction": "down",
          "speed": 200
        },
        {
          "action": "scroll",
          "scrollable_element_function": "function(callback) { callback(document.getElementById('messages')); }",
          "direction": "up",
          "speed": 200
        },
        {
          "action": "scroll",
          "scrollable_element_function": "function(callback) { callback(document.getElementById('messages')); }",
          "direction": "down",
          "speed": 200
        }
      ]
    },
    {
      "url": "file://key_silk_cases/inbox_app.html?toggle_drawer",
      "navigate_steps" : [
        { "action": "navigate" },
        { "action": "wait", "seconds": 2 }
      ],
      "smoothness": {
        "action": "toggle_drawer",
        "repeat": 6
      },
      "toggle_drawer": [
        {
          "action": "click_element",
          "selector": "#menu-button"
        },
        { "action": "wait", "seconds": 1 }
      ]
    },
    {
      "url": "file://key_silk_cases/old_inbox_app.html?slide_drawer",
      "navigate_steps" : [
        { "action": "navigate" },
        { "action": "wait", "seconds": 2 }
      ],
      "smoothness": {
        "action": "slide_drawer"
      },
      "slide_drawer": [
        {
          "action": "swipe",
          "element_function": "function(callback) { callback(document.getElementById('nav-drawer')); }",
          "distance": 200,
          "direction": "left",
          "left_start_percentage": 0.8,
          "top_start_percentage": 0.2,
          "wait_after": {
            "javascript": "!document.getElementById('nav-drawer').active"
          }
        }
      ]
    }
  ]
}