skeleton-ui 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/html/index.html +7 -11
- data/html/java.html +77 -46
- data/html/ruby.html +77 -50
- data/html/template.html.erb +7 -12
- data/lib/skeleton/root.rb +3 -3
- data/lib/skeleton/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c0d53c51f764f3c80c7bd2d38515aff1b0148042de3dfacfceed58b42896037a
|
|
4
|
+
data.tar.gz: bda89dc3e1e69609fc8c95001d63b1b959bb6356bfd3413cedbcc270bdc501c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da1ad1ccf9f0a2f303291402a08da1c087230950ee9ce899b578e24d07c0e0312d88edf19073432023289a86eb4ff7262fa0eb1217497027b02a948a71b1f772
|
|
7
|
+
data.tar.gz: c5157352b8c2a7392001a9bcf28b09f96dca3145f8514a8e91665b92e1609ec58446726828832a435cbc12238525c425aa395da2d5bb959ee0d281fd447a59a0
|
data/README.md
CHANGED
|
@@ -10,13 +10,13 @@ Prerequisites:
|
|
|
10
10
|
|
|
11
11
|
#### Android
|
|
12
12
|
- Install [SDK Tools](http://developer.android.com/sdk/installing/index.html?pkg=tools).
|
|
13
|
-
- SDK tools are added to your $PATH
|
|
13
|
+
- SDK tools are added to your $PATH ([OSX](https://stackoverflow.com/posts/19764254/revisions)).
|
|
14
14
|
- Enable [USB Debugging](https://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android.htm) on your device(s).
|
|
15
15
|
|
|
16
16
|
#### iOS
|
|
17
17
|
- Install [Xcode](https://developer.apple.com/xcode/download/).
|
|
18
18
|
- Install [Xcode Command Line Tools](http://railsapps.github.io/xcode-command-line-tools.html).
|
|
19
|
-
- Install [ideviceinstaller](http://brewformulas.org/Ideviceinstaller)
|
|
19
|
+
- Install [ideviceinstaller](http://brewformulas.org/Ideviceinstaller).
|
|
20
20
|
|
|
21
21
|
Installation:
|
|
22
22
|
------
|
data/html/index.html
CHANGED
|
@@ -10,25 +10,21 @@
|
|
|
10
10
|
<body class="bg-light">
|
|
11
11
|
<div class="container-fluid">
|
|
12
12
|
<div class="py-5 text-center">
|
|
13
|
-
<img class="d-block mx-auto mb-4" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
|
|
14
13
|
<h2>Skeleton</h2>
|
|
15
14
|
</div>
|
|
16
15
|
<div class="row" style="min-height: 300px;">
|
|
17
16
|
<div class="col-md-8">
|
|
18
17
|
<h2>Get it:</h2>
|
|
19
|
-
<a href="ruby.html">Ruby</a
|
|
20
|
-
<a href="java.html">Java</a
|
|
21
|
-
<a href="python.html">Python</a
|
|
22
|
-
<a href="javascript.html">Javascript</a
|
|
18
|
+
<li><a href="ruby.html">Ruby</a></li>
|
|
19
|
+
<li><a href="java.html">Java</a></li>
|
|
20
|
+
<li><a href="python.html">Python</a></li>
|
|
21
|
+
<li><a href="javascript.html">Javascript</a></li>
|
|
23
22
|
</div>
|
|
24
23
|
</div>
|
|
25
24
|
<footer class="my-5 pt-5 text-muted text-center text-small">
|
|
26
|
-
<p class="mb-1">© 2018
|
|
27
|
-
<
|
|
28
|
-
|
|
29
|
-
<li class="list-inline-item"><a href="#">Terms</a></li>
|
|
30
|
-
<li class="list-inline-item"><a href="#">Support</a></li>
|
|
31
|
-
</ul>
|
|
25
|
+
<p class="mb-1">© 2018 <a href="https://github.com/forqa">forqa</a></p>
|
|
26
|
+
<p class="mb-1"><a href="https://github.com/alter-al">alter-al</a></p>
|
|
27
|
+
<ul class="list-inline"></ul>
|
|
32
28
|
</footer>
|
|
33
29
|
</div>
|
|
34
30
|
</body>
|
data/html/java.html
CHANGED
|
@@ -63,69 +63,100 @@ By staticText9() {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
By staticText10() {
|
|
66
|
-
return MobileBy.iOSNsPredicateString("label like '
|
|
66
|
+
return MobileBy.iOSNsPredicateString("label like '55'");
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
By staticText11() {
|
|
70
|
+
return MobileBy.iOSNsPredicateString("label like 'Banner 320x50'");
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
By staticText12() {
|
|
74
|
+
return MobileBy.iOSNsPredicateString("label like '556'");
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
By staticText13() {
|
|
78
|
+
return MobileBy.iOSNsPredicateString("label like 'Banner 320x50'");
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
By button14() {
|
|
82
|
+
return MobileBy.iOSNsPredicateString("label like '×'");
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
By button15() {
|
|
86
|
+
return MobileBy.iOSNsPredicateString("label like '×'");
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
By staticText16() {
|
|
70
90
|
return MobileBy.iOSNsPredicateString("label like 'Ad unit'");
|
|
71
91
|
}
|
|
72
92
|
|
|
93
|
+
By staticText17() {
|
|
94
|
+
return MobileBy.iOSNsPredicateString("label like 'Insert your slotId and ad type'");
|
|
95
|
+
}
|
|
96
|
+
|
|
73
97
|
</code></pre>
|
|
74
98
|
</div>
|
|
75
99
|
<br>
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
t = 1.
|
|
81
|
-
|
|
100
|
+
</div>
|
|
101
|
+
<h4 class="mb-3">Elements Tree:</h4>
|
|
102
|
+
<div class="content" id="content">
|
|
103
|
+
<pre><code>
|
|
104
|
+
t = 1.46s Snapshot accessibility hierarchy for app with pid 75035
|
|
105
|
+
t = 1.48s Snapshot accessibility hierarchy for app with pid 75035
|
|
106
|
+
Attributes: Application, 0x60000019cb10, pid: 75035, {{0.0, 0.0}, {414.0, 736.0}}, label: 'myTargetDemo'
|
|
82
107
|
Element subtree:
|
|
83
|
-
→Application,
|
|
84
|
-
Window,
|
|
85
|
-
Other,
|
|
86
|
-
NavigationBar,
|
|
87
|
-
Other,
|
|
88
|
-
Other,
|
|
89
|
-
Other,
|
|
90
|
-
Other,
|
|
91
|
-
Table,
|
|
92
|
-
Other,
|
|
93
|
-
Cell,
|
|
94
|
-
StaticText,
|
|
95
|
-
StaticText,
|
|
96
|
-
StaticText,
|
|
97
|
-
StaticText,
|
|
98
|
-
Cell,
|
|
99
|
-
StaticText,
|
|
100
|
-
StaticText,
|
|
101
|
-
StaticText,
|
|
102
|
-
StaticText,
|
|
103
|
-
Cell,
|
|
104
|
-
StaticText,
|
|
105
|
-
StaticText,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
108
|
+
→Application, 0x60000019cb10, pid: 75035, {{0.0, 0.0}, {414.0, 736.0}}, label: 'myTargetDemo'
|
|
109
|
+
Window, 0x60000019bc70, Main Window, {{0.0, 0.0}, {414.0, 736.0}}
|
|
110
|
+
Other, 0x600000185480, traits: 8589934592, {{0.0, 0.0}, {414.0, 736.0}}
|
|
111
|
+
NavigationBar, 0x60000019c700, traits: 35192962023424, {{0.0, 20.0}, {414.0, 44.0}}, identifier: 'myTarget Demo'
|
|
112
|
+
Other, 0x60000019cff0, traits: 8590000128, {{144.3, 31.7}, {125.7, 20.3}}, label: 'myTarget Demo'
|
|
113
|
+
Other, 0x60000019cd80, traits: 8589934592, {{0.0, 0.0}, {414.0, 736.0}}
|
|
114
|
+
Other, 0x60000019d0c0, traits: 8589934592, {{0.0, 0.0}, {414.0, 736.0}}
|
|
115
|
+
Other, 0x60000019d190, traits: 8589934592, {{0.0, 64.0}, {414.0, 672.0}}
|
|
116
|
+
Table, 0x60000019d260, traits: 35192962023424, {{0.0, 64.0}, {414.0, 672.0}}
|
|
117
|
+
Other, 0x60000019d330, traits: 8589934592, {{0.0, 64.0}, {414.0, 0.0}}
|
|
118
|
+
Cell, 0x60000019c080, traits: 8589934592, {{0.0, 64.0}, {414.0, 280.0}}
|
|
119
|
+
StaticText, 0x60000019d400, traits: 8589934656, {{16.0, 297.0}, {108.3, 32.3}}, label: '320x50 and 300x250 banners'
|
|
120
|
+
StaticText, 0x60000019c220, traits: 8589934656, {{218.0, 297.0}, {119.3, 16.3}}, label: 'Fullscreen banners'
|
|
121
|
+
StaticText, 0x60000019c150, traits: 8589934656, {{16.0, 270.0}, {72.3, 21.0}}, label: 'Banners'
|
|
122
|
+
StaticText, 0x60000019d4d0, traits: 8589934656, {{218.0, 270.0}, {124.7, 21.0}}, label: 'Interstitial Ads'
|
|
123
|
+
Cell, 0x60000019d5a0, traits: 8589934592, {{0.0, 344.0}, {414.0, 280.0}}
|
|
124
|
+
StaticText, 0x60000019d670, traits: 8589934656, {{16.0, 577.0}, {134.0, 32.3}}, label: 'Advertisement inside app's content'
|
|
125
|
+
StaticText, 0x60000019d740, traits: 8589934656, {{218.0, 577.0}, {118.3, 16.3}}, label: 'Instream video ads'
|
|
126
|
+
StaticText, 0x60000019d810, traits: 8589934656, {{16.0, 550.0}, {92.7, 21.0}}, label: 'Native Ads'
|
|
127
|
+
StaticText, 0x60000019d8e0, traits: 8589934656, {{218.0, 550.0}, {113.7, 21.0}}, label: 'Instream Ads'
|
|
128
|
+
Cell, 0x60000019d9b0, traits: 8589934592, {{0.0, 624.0}, {414.0, 280.0}}
|
|
129
|
+
StaticText, 0x60000019da80, traits: 8589934656, {{10.0, 634.0}, {192.0, 190.0}}, label: '55'
|
|
130
|
+
StaticText, 0x60000019db50, traits: 8589934656, {{16.0, 830.0}, {127.3, 21.0}}, label: 'Banner 320x50'
|
|
131
|
+
StaticText, 0x60000019dc20, traits: 8589934656, {{212.0, 634.0}, {192.0, 190.0}}, label: '556'
|
|
132
|
+
StaticText, 0x60000019dcf0, traits: 8589934656, {{218.0, 830.0}, {127.3, 21.0}}, label: 'Banner 320x50'
|
|
133
|
+
Button, 0x60000019ddc0, traits: 8589934593, {{162.0, 634.0}, {40.0, 40.0}}, label: '×'
|
|
134
|
+
Button, 0x60000019de90, traits: 8589934593, {{364.0, 634.0}, {40.0, 40.0}}, label: '×'
|
|
135
|
+
Cell, 0x60000019df60, traits: 8589934592, {{0.0, 904.0}, {414.0, 280.0}}
|
|
136
|
+
StaticText, 0x60000019e030, traits: 8589934656, {{0.0, 64.0}, {62.0, 21.0}}, label: 'Ad unit'
|
|
137
|
+
StaticText, 0x60000019e100, traits: 8589934656, {{0.0, 64.0}, {134.7, 32.3}}, label: 'Insert your slotId and ad type'
|
|
138
|
+
Other, 0x60000019e1d0, traits: 8589934592, {{0.0, 1184.0}, {414.0, 0.0}}
|
|
139
|
+
Window, 0x60000019e2a0, {{0.0, 0.0}, {414.0, 736.0}}
|
|
140
|
+
Other, 0x60000019e370, traits: 8589934592, {{0.0, 0.0}, {414.0, 736.0}}
|
|
141
|
+
Other, 0x60000019e440, traits: 8589934592, {{0.0, 736.0}, {414.0, 226.0}}
|
|
142
|
+
Window, 0x60000019e510, {{0.0, 0.0}, {414.0, 736.0}}
|
|
143
|
+
StatusBar, 0x60000019e5e0, {{0.0, 0.0}, {414.0, 20.0}}
|
|
144
|
+
Other, 0x60000019e6b0, {{0.0, 0.0}, {414.0, 20.0}}
|
|
145
|
+
Other, 0x60000019e780, {{0.0, 0.0}, {414.0, 20.0}}
|
|
146
|
+
Other, 0x60000019e850, traits: 8388608, {{6.0, 0.0}, {39.0, 20.0}}
|
|
147
|
+
Other, 0x60000019e920, traits: 8388608, {{50.0, 0.0}, {14.0, 20.0}}, label: '3 of 3 Wi-Fi bars', value: SSID
|
|
148
|
+
Other, 0x60000019e9f0, traits: 8389120, {{182.0, 0.0}, {54.0, 20.0}}, label: '10:21 AM'
|
|
149
|
+
Other, 0x60000019eac0, traits: 8388608, {{374.0, 0.0}, {35.0, 20.0}}, label: '-100% battery power'
|
|
118
150
|
Path to element:
|
|
119
|
-
→Application,
|
|
151
|
+
→Application, 0x60000019cb10, pid: 75035, {{0.0, 0.0}, {414.0, 736.0}}, label: 'myTargetDemo'
|
|
120
152
|
Query chain:
|
|
121
|
-
→Find: Application "ru.
|
|
153
|
+
→Find: Application "ru.forqa.xctest" 0x6000000ab3a0
|
|
122
154
|
Output: {
|
|
123
|
-
Application,
|
|
155
|
+
Application, 0x60000019cb10, pid: 75035, {{0.0, 0.0}, {414.0, 736.0}}, label: 'myTargetDemo'
|
|
124
156
|
}
|
|
125
157
|
|
|
126
158
|
|
|
127
159
|
</code></pre>
|
|
128
|
-
</div>
|
|
129
160
|
</div>
|
|
130
161
|
</div>
|
|
131
162
|
<footer class="my-5 pt-5 text-muted text-center text-small">
|
data/html/ruby.html
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
<body class="bg-light">
|
|
11
11
|
<div class="container-fluid">
|
|
12
12
|
<div class="py-5 text-center">
|
|
13
|
-
<img class="d-block mx-auto mb-4" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
|
|
14
13
|
<h2>Skeleton</h2>
|
|
15
14
|
</div>
|
|
16
15
|
<div class="row" style="min-height: 666px;">
|
|
@@ -63,77 +62,105 @@ def static_text9
|
|
|
63
62
|
end
|
|
64
63
|
|
|
65
64
|
def static_text10
|
|
66
|
-
return :predicate, "label like '
|
|
65
|
+
return :predicate, "label like '55'"
|
|
67
66
|
end
|
|
68
67
|
|
|
69
68
|
def static_text11
|
|
69
|
+
return :predicate, "label like 'Banner 320x50'"
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
def static_text12
|
|
73
|
+
return :predicate, "label like '556'"
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
def static_text13
|
|
77
|
+
return :predicate, "label like 'Banner 320x50'"
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
def button14
|
|
81
|
+
return :predicate, "label like '×'"
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def button15
|
|
85
|
+
return :predicate, "label like '×'"
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
def static_text16
|
|
70
89
|
return :predicate, "label like 'Ad unit'"
|
|
71
90
|
end
|
|
72
91
|
|
|
92
|
+
def static_text17
|
|
93
|
+
return :predicate, "label like 'Insert your slotId and ad type'"
|
|
94
|
+
end
|
|
95
|
+
|
|
73
96
|
</code></pre>
|
|
74
97
|
</div>
|
|
75
98
|
<br>
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
t = 1.
|
|
81
|
-
|
|
99
|
+
</div>
|
|
100
|
+
<h4 class="mb-3">Elements Tree:</h4>
|
|
101
|
+
<div class="content" id="content">
|
|
102
|
+
<pre><code>
|
|
103
|
+
t = 1.46s Snapshot accessibility hierarchy for app with pid 75035
|
|
104
|
+
t = 1.48s Snapshot accessibility hierarchy for app with pid 75035
|
|
105
|
+
Attributes: Application, 0x60000019cb10, pid: 75035, {{0.0, 0.0}, {414.0, 736.0}}, label: 'myTargetDemo'
|
|
82
106
|
Element subtree:
|
|
83
|
-
→Application,
|
|
84
|
-
Window,
|
|
85
|
-
Other,
|
|
86
|
-
NavigationBar,
|
|
87
|
-
Other,
|
|
88
|
-
Other,
|
|
89
|
-
Other,
|
|
90
|
-
Other,
|
|
91
|
-
Table,
|
|
92
|
-
Other,
|
|
93
|
-
Cell,
|
|
94
|
-
StaticText,
|
|
95
|
-
StaticText,
|
|
96
|
-
StaticText,
|
|
97
|
-
StaticText,
|
|
98
|
-
Cell,
|
|
99
|
-
StaticText,
|
|
100
|
-
StaticText,
|
|
101
|
-
StaticText,
|
|
102
|
-
StaticText,
|
|
103
|
-
Cell,
|
|
104
|
-
StaticText,
|
|
105
|
-
StaticText,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
107
|
+
→Application, 0x60000019cb10, pid: 75035, {{0.0, 0.0}, {414.0, 736.0}}, label: 'myTargetDemo'
|
|
108
|
+
Window, 0x60000019bc70, Main Window, {{0.0, 0.0}, {414.0, 736.0}}
|
|
109
|
+
Other, 0x600000185480, traits: 8589934592, {{0.0, 0.0}, {414.0, 736.0}}
|
|
110
|
+
NavigationBar, 0x60000019c700, traits: 35192962023424, {{0.0, 20.0}, {414.0, 44.0}}, identifier: 'myTarget Demo'
|
|
111
|
+
Other, 0x60000019cff0, traits: 8590000128, {{144.3, 31.7}, {125.7, 20.3}}, label: 'myTarget Demo'
|
|
112
|
+
Other, 0x60000019cd80, traits: 8589934592, {{0.0, 0.0}, {414.0, 736.0}}
|
|
113
|
+
Other, 0x60000019d0c0, traits: 8589934592, {{0.0, 0.0}, {414.0, 736.0}}
|
|
114
|
+
Other, 0x60000019d190, traits: 8589934592, {{0.0, 64.0}, {414.0, 672.0}}
|
|
115
|
+
Table, 0x60000019d260, traits: 35192962023424, {{0.0, 64.0}, {414.0, 672.0}}
|
|
116
|
+
Other, 0x60000019d330, traits: 8589934592, {{0.0, 64.0}, {414.0, 0.0}}
|
|
117
|
+
Cell, 0x60000019c080, traits: 8589934592, {{0.0, 64.0}, {414.0, 280.0}}
|
|
118
|
+
StaticText, 0x60000019d400, traits: 8589934656, {{16.0, 297.0}, {108.3, 32.3}}, label: '320x50 and 300x250 banners'
|
|
119
|
+
StaticText, 0x60000019c220, traits: 8589934656, {{218.0, 297.0}, {119.3, 16.3}}, label: 'Fullscreen banners'
|
|
120
|
+
StaticText, 0x60000019c150, traits: 8589934656, {{16.0, 270.0}, {72.3, 21.0}}, label: 'Banners'
|
|
121
|
+
StaticText, 0x60000019d4d0, traits: 8589934656, {{218.0, 270.0}, {124.7, 21.0}}, label: 'Interstitial Ads'
|
|
122
|
+
Cell, 0x60000019d5a0, traits: 8589934592, {{0.0, 344.0}, {414.0, 280.0}}
|
|
123
|
+
StaticText, 0x60000019d670, traits: 8589934656, {{16.0, 577.0}, {134.0, 32.3}}, label: 'Advertisement inside app's content'
|
|
124
|
+
StaticText, 0x60000019d740, traits: 8589934656, {{218.0, 577.0}, {118.3, 16.3}}, label: 'Instream video ads'
|
|
125
|
+
StaticText, 0x60000019d810, traits: 8589934656, {{16.0, 550.0}, {92.7, 21.0}}, label: 'Native Ads'
|
|
126
|
+
StaticText, 0x60000019d8e0, traits: 8589934656, {{218.0, 550.0}, {113.7, 21.0}}, label: 'Instream Ads'
|
|
127
|
+
Cell, 0x60000019d9b0, traits: 8589934592, {{0.0, 624.0}, {414.0, 280.0}}
|
|
128
|
+
StaticText, 0x60000019da80, traits: 8589934656, {{10.0, 634.0}, {192.0, 190.0}}, label: '55'
|
|
129
|
+
StaticText, 0x60000019db50, traits: 8589934656, {{16.0, 830.0}, {127.3, 21.0}}, label: 'Banner 320x50'
|
|
130
|
+
StaticText, 0x60000019dc20, traits: 8589934656, {{212.0, 634.0}, {192.0, 190.0}}, label: '556'
|
|
131
|
+
StaticText, 0x60000019dcf0, traits: 8589934656, {{218.0, 830.0}, {127.3, 21.0}}, label: 'Banner 320x50'
|
|
132
|
+
Button, 0x60000019ddc0, traits: 8589934593, {{162.0, 634.0}, {40.0, 40.0}}, label: '×'
|
|
133
|
+
Button, 0x60000019de90, traits: 8589934593, {{364.0, 634.0}, {40.0, 40.0}}, label: '×'
|
|
134
|
+
Cell, 0x60000019df60, traits: 8589934592, {{0.0, 904.0}, {414.0, 280.0}}
|
|
135
|
+
StaticText, 0x60000019e030, traits: 8589934656, {{0.0, 64.0}, {62.0, 21.0}}, label: 'Ad unit'
|
|
136
|
+
StaticText, 0x60000019e100, traits: 8589934656, {{0.0, 64.0}, {134.7, 32.3}}, label: 'Insert your slotId and ad type'
|
|
137
|
+
Other, 0x60000019e1d0, traits: 8589934592, {{0.0, 1184.0}, {414.0, 0.0}}
|
|
138
|
+
Window, 0x60000019e2a0, {{0.0, 0.0}, {414.0, 736.0}}
|
|
139
|
+
Other, 0x60000019e370, traits: 8589934592, {{0.0, 0.0}, {414.0, 736.0}}
|
|
140
|
+
Other, 0x60000019e440, traits: 8589934592, {{0.0, 736.0}, {414.0, 226.0}}
|
|
141
|
+
Window, 0x60000019e510, {{0.0, 0.0}, {414.0, 736.0}}
|
|
142
|
+
StatusBar, 0x60000019e5e0, {{0.0, 0.0}, {414.0, 20.0}}
|
|
143
|
+
Other, 0x60000019e6b0, {{0.0, 0.0}, {414.0, 20.0}}
|
|
144
|
+
Other, 0x60000019e780, {{0.0, 0.0}, {414.0, 20.0}}
|
|
145
|
+
Other, 0x60000019e850, traits: 8388608, {{6.0, 0.0}, {39.0, 20.0}}
|
|
146
|
+
Other, 0x60000019e920, traits: 8388608, {{50.0, 0.0}, {14.0, 20.0}}, label: '3 of 3 Wi-Fi bars', value: SSID
|
|
147
|
+
Other, 0x60000019e9f0, traits: 8389120, {{182.0, 0.0}, {54.0, 20.0}}, label: '10:21 AM'
|
|
148
|
+
Other, 0x60000019eac0, traits: 8388608, {{374.0, 0.0}, {35.0, 20.0}}, label: '-100% battery power'
|
|
118
149
|
Path to element:
|
|
119
|
-
→Application,
|
|
150
|
+
→Application, 0x60000019cb10, pid: 75035, {{0.0, 0.0}, {414.0, 736.0}}, label: 'myTargetDemo'
|
|
120
151
|
Query chain:
|
|
121
|
-
→Find: Application "ru.
|
|
152
|
+
→Find: Application "ru.forqa.xctest" 0x6000000ab3a0
|
|
122
153
|
Output: {
|
|
123
|
-
Application,
|
|
154
|
+
Application, 0x60000019cb10, pid: 75035, {{0.0, 0.0}, {414.0, 736.0}}, label: 'myTargetDemo'
|
|
124
155
|
}
|
|
125
156
|
|
|
126
157
|
|
|
127
158
|
</code></pre>
|
|
128
|
-
</div>
|
|
129
159
|
</div>
|
|
130
160
|
</div>
|
|
131
161
|
<footer class="my-5 pt-5 text-muted text-center text-small">
|
|
132
162
|
<p class="mb-1">© 2018-2033 forqa</p>
|
|
133
163
|
<ul class="list-inline">
|
|
134
|
-
<li class="list-inline-item"><a href="#">Privacy</a></li>
|
|
135
|
-
<li class="list-inline-item"><a href="#">Terms</a></li>
|
|
136
|
-
<li class="list-inline-item"><a href="#">Support</a></li>
|
|
137
164
|
</ul>
|
|
138
165
|
</footer>
|
|
139
166
|
</div>
|
data/html/template.html.erb
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
<body class="bg-light">
|
|
11
11
|
<div class="container-fluid">
|
|
12
12
|
<div class="py-5 text-center">
|
|
13
|
-
<img class="d-block mx-auto mb-4" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
|
|
14
13
|
<h2>Skeleton</h2>
|
|
15
14
|
</div>
|
|
16
15
|
<div class="row" style="min-height: 666px;">
|
|
@@ -24,20 +23,16 @@
|
|
|
24
23
|
<div class="content" id="content">
|
|
25
24
|
<pre><code><%= @pageobject %></code></pre>
|
|
26
25
|
</div>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
</div>
|
|
26
|
+
</div>
|
|
27
|
+
<h4 class="mb-3">Elements Tree:</h4>
|
|
28
|
+
<div class="content" id="content">
|
|
29
|
+
<pre><code><%= @elements_tree %></code></pre>
|
|
32
30
|
</div>
|
|
33
31
|
</div>
|
|
34
32
|
<footer class="my-5 pt-5 text-muted text-center text-small">
|
|
35
|
-
<p class="mb-1">© 2018
|
|
36
|
-
<
|
|
37
|
-
|
|
38
|
-
<li class="list-inline-item"><a href="#">Terms</a></li>
|
|
39
|
-
<li class="list-inline-item"><a href="#">Support</a></li>
|
|
40
|
-
</ul>
|
|
33
|
+
<p class="mb-1">© 2018 <a href="https://github.com/forqa">forqa</a></p>
|
|
34
|
+
<p class="mb-1"><a href="https://github.com/alter-al">alter-al</a></p>
|
|
35
|
+
<ul class="list-inline"></ul>
|
|
41
36
|
</footer>
|
|
42
37
|
</div>
|
|
43
38
|
</body>
|
data/lib/skeleton/root.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require_relative 'version'
|
|
2
2
|
|
|
3
3
|
class Base
|
|
4
|
-
|
|
5
|
-
ROOT_DIR = "#{`gem environment gemdir`.strip}" \
|
|
6
|
-
|
|
4
|
+
ROOT_DIR = File.expand_path('..', Dir.pwd)
|
|
5
|
+
#ROOT_DIR = "#{`gem environment gemdir`.strip}" \
|
|
6
|
+
# "/gems/#{Skeleton::GEM_NAME}-#{Skeleton::VERSION}"
|
|
7
7
|
end
|
data/lib/skeleton/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: skeleton-ui
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- a.alterpesotskiy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-07-
|
|
11
|
+
date: 2018-07-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|