testcentricity 2.4.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +29 -0
  3. data/.rspec +2 -1
  4. data/.rubocop.yml +38 -0
  5. data/.ruby-version +1 -1
  6. data/.simplecov +9 -0
  7. data/.yardopts +3 -0
  8. data/CHANGELOG.md +275 -0
  9. data/CODE_OF_CONDUCT.md +13 -0
  10. data/{LICENSE.txt → LICENSE.md} +3 -4
  11. data/README.md +938 -1378
  12. data/Rakefile +63 -1
  13. data/config/cucumber.yml +145 -0
  14. data/config/locales/en-US.yml +56 -0
  15. data/config/test_data/LOCAL_data.yml +11 -0
  16. data/config/test_data/data.yml +10 -0
  17. data/features/deep_links.feature +26 -0
  18. data/features/login.feature +30 -0
  19. data/features/navigation.feature +31 -0
  20. data/features/step_definitions/generic_steps.rb +72 -0
  21. data/features/support/android/screens/about_screen.rb +11 -0
  22. data/features/support/android/screens/base_app_screen.rb +29 -0
  23. data/features/support/android/screens/checkout_address_screen.rb +17 -0
  24. data/features/support/android/screens/checkout_payment_screen.rb +22 -0
  25. data/features/support/android/screens/login_screen.rb +18 -0
  26. data/features/support/android/screens/products_screen.rb +13 -0
  27. data/features/support/android/screens/saucebot_screen.rb +16 -0
  28. data/features/support/android/screens/webview_screen.rb +13 -0
  29. data/features/support/android/sections/nav_widgets/nav_menu.rb +39 -0
  30. data/features/support/env.rb +61 -0
  31. data/features/support/hooks.rb +135 -0
  32. data/features/support/ios/screens/about_screen.rb +11 -0
  33. data/features/support/ios/screens/base_app_screen.rb +19 -0
  34. data/features/support/ios/screens/checkout_address_screen.rb +17 -0
  35. data/features/support/ios/screens/checkout_payment_screen.rb +22 -0
  36. data/features/support/ios/screens/login_screen.rb +18 -0
  37. data/features/support/ios/screens/products_screen.rb +13 -0
  38. data/features/support/ios/screens/saucebot_screen.rb +16 -0
  39. data/features/support/ios/screens/webview_screen.rb +13 -0
  40. data/features/support/ios/sections/list_items/product_cell_item.rb +13 -0
  41. data/features/support/ios/sections/modals/base_modal.rb +23 -0
  42. data/features/support/ios/sections/modals/logout_modal.rb +6 -0
  43. data/features/support/ios/sections/modals/reset_app_state_modal.rb +6 -0
  44. data/features/support/ios/sections/nav_widgets/nav_bar.rb +31 -0
  45. data/features/support/ios/sections/nav_widgets/nav_menu.rb +41 -0
  46. data/features/support/shared_components/screens/base_app_screen.rb +31 -0
  47. data/features/support/shared_components/screens/checkout_address_screen.rb +17 -0
  48. data/features/support/shared_components/screens/checkout_payment_screen.rb +22 -0
  49. data/features/support/shared_components/screens/login_screen.rb +39 -0
  50. data/features/support/shared_components/screens/saucebot_screen.rb +17 -0
  51. data/features/support/shared_components/screens/webview_screen.rb +12 -0
  52. data/features/support/shared_components/sections/nav_menu.rb +58 -0
  53. data/features/support/world_data.rb +12 -0
  54. data/features/support/world_pages.rb +26 -0
  55. data/lib/testcentricity/app_core/appium_connect_helper.rb +355 -111
  56. data/lib/testcentricity/app_core/screen_object.rb +252 -0
  57. data/lib/testcentricity/app_core/screen_objects_helper.rb +29 -280
  58. data/lib/testcentricity/app_core/screen_section.rb +350 -0
  59. data/lib/testcentricity/app_elements/app_element_helper.rb +17 -8
  60. data/lib/testcentricity/app_elements/checkbox.rb +3 -3
  61. data/lib/testcentricity/data_objects/environment.rb +133 -39
  62. data/lib/testcentricity/version.rb +1 -1
  63. data/lib/testcentricity.rb +4 -129
  64. data/reports/.keep +1 -0
  65. data/spec/fixtures/page_object.rb +22 -0
  66. data/spec/fixtures/page_section_object.rb +21 -0
  67. data/spec/fixtures/screen_object.rb +16 -0
  68. data/spec/fixtures/screen_section_object.rb +16 -0
  69. data/spec/spec_helper.rb +28 -9
  70. data/spec/testcentricity/elements/button_spec.rb +18 -0
  71. data/spec/testcentricity/elements/checkbox_spec.rb +28 -0
  72. data/spec/testcentricity/elements/image_spec.rb +13 -0
  73. data/spec/testcentricity/elements/label_spec.rb +18 -0
  74. data/spec/testcentricity/elements/list_spec.rb +13 -0
  75. data/spec/testcentricity/elements/ui_element_spec.rb +72 -0
  76. data/spec/testcentricity/mobile/appium_connect_spec.rb +117 -0
  77. data/spec/testcentricity/mobile/screen_object_spec.rb +63 -0
  78. data/spec/testcentricity/mobile/screen_section_object_spec.rb +56 -0
  79. data/spec/testcentricity/version_spec.rb +7 -0
  80. data/spec/testcentricity/web/browser_spec.rb +41 -0
  81. data/spec/testcentricity/web/local_webdriver_spec.rb +86 -0
  82. data/spec/testcentricity/web/mobile_webdriver_spec.rb +123 -0
  83. data/spec/testcentricity/web/page_object_spec.rb +85 -0
  84. data/spec/testcentricity/web/page_section_object_spec.rb +72 -0
  85. data/testcentricity.gemspec +28 -27
  86. metadata +196 -127
  87. data/.ruby-gemset +0 -1
  88. data/Gemfile.lock +0 -93
  89. data/bin/console +0 -14
  90. data/bin/setup +0 -8
  91. data/lib/devices/devices.yml +0 -352
  92. data/lib/testcentricity/app_core/appium_server.rb +0 -69
  93. data/lib/testcentricity/app_core/screen_sections_helper.rb +0 -491
  94. data/lib/testcentricity/browser_helper.rb +0 -174
  95. data/lib/testcentricity/data_objects/data_objects_helper.rb +0 -78
  96. data/lib/testcentricity/data_objects/excel_helper.rb +0 -242
  97. data/lib/testcentricity/exception_queue_helper.rb +0 -111
  98. data/lib/testcentricity/utility_helpers.rb +0 -28
  99. data/lib/testcentricity/web_core/drag_drop_helper.rb +0 -15
  100. data/lib/testcentricity/web_core/page_objects_helper.rb +0 -711
  101. data/lib/testcentricity/web_core/page_sections_helper.rb +0 -932
  102. data/lib/testcentricity/web_core/webdriver_helper.rb +0 -588
  103. data/lib/testcentricity/web_elements/button.rb +0 -8
  104. data/lib/testcentricity/web_elements/cell_button.rb +0 -8
  105. data/lib/testcentricity/web_elements/cell_checkbox.rb +0 -38
  106. data/lib/testcentricity/web_elements/cell_element.rb +0 -69
  107. data/lib/testcentricity/web_elements/cell_image.rb +0 -8
  108. data/lib/testcentricity/web_elements/cell_radio.rb +0 -31
  109. data/lib/testcentricity/web_elements/checkbox.rb +0 -100
  110. data/lib/testcentricity/web_elements/file_field.rb +0 -45
  111. data/lib/testcentricity/web_elements/image.rb +0 -34
  112. data/lib/testcentricity/web_elements/label.rb +0 -8
  113. data/lib/testcentricity/web_elements/link.rb +0 -8
  114. data/lib/testcentricity/web_elements/list.rb +0 -100
  115. data/lib/testcentricity/web_elements/list_button.rb +0 -8
  116. data/lib/testcentricity/web_elements/list_checkbox.rb +0 -38
  117. data/lib/testcentricity/web_elements/list_element.rb +0 -61
  118. data/lib/testcentricity/web_elements/list_radio.rb +0 -31
  119. data/lib/testcentricity/web_elements/radio.rb +0 -74
  120. data/lib/testcentricity/web_elements/select_list.rb +0 -208
  121. data/lib/testcentricity/web_elements/siebel_open_ui_helper.rb +0 -15
  122. data/lib/testcentricity/web_elements/table.rb +0 -612
  123. data/lib/testcentricity/web_elements/textfield.rb +0 -114
  124. data/lib/testcentricity/web_elements/ui_elements_helper.rb +0 -532
  125. data/lib/testcentricity/world_extensions.rb +0 -26
  126. data/my_templates/default/method_details/setup.rb +0 -3
  127. data/spec/testcentricity_spec.rb +0 -9
metadata CHANGED
@@ -1,31 +1,31 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Mrozinski
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-27 00:00:00.000000000 Z
11
+ date: 2022-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.5'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.5'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: cucumber
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -39,33 +39,27 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: capybara
42
+ name: cuke_modeler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '2.15'
48
- - - "<"
45
+ - - "~>"
49
46
  - !ruby/object:Gem::Version
50
47
  version: '3.0'
51
- type: :runtime
48
+ type: :development
52
49
  prerelease: false
53
50
  version_requirements: !ruby/object:Gem::Requirement
54
51
  requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: '2.15'
58
- - - "<"
52
+ - - "~>"
59
53
  - !ruby/object:Gem::Version
60
54
  version: '3.0'
61
55
  - !ruby/object:Gem::Dependency
62
- name: test-unit
56
+ name: curb
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
59
  - - ">="
66
60
  - !ruby/object:Gem::Version
67
61
  version: '0'
68
- type: :runtime
62
+ type: :development
69
63
  prerelease: false
70
64
  version_requirements: !ruby/object:Gem::Requirement
71
65
  requirements:
@@ -73,33 +67,27 @@ dependencies:
73
67
  - !ruby/object:Gem::Version
74
68
  version: '0'
75
69
  - !ruby/object:Gem::Dependency
76
- name: selenium-webdriver
70
+ name: json
77
71
  requirement: !ruby/object:Gem::Requirement
78
72
  requirements:
79
73
  - - ">="
80
74
  - !ruby/object:Gem::Version
81
- version: 2.50.0
82
- - - "<"
83
- - !ruby/object:Gem::Version
84
- version: '3.0'
85
- type: :runtime
75
+ version: '0'
76
+ type: :development
86
77
  prerelease: false
87
78
  version_requirements: !ruby/object:Gem::Requirement
88
79
  requirements:
89
80
  - - ">="
90
81
  - !ruby/object:Gem::Version
91
- version: 2.50.0
92
- - - "<"
93
- - !ruby/object:Gem::Version
94
- version: '3.0'
82
+ version: '0'
95
83
  - !ruby/object:Gem::Dependency
96
- name: poltergeist
84
+ name: parallel_tests
97
85
  requirement: !ruby/object:Gem::Requirement
98
86
  requirements:
99
87
  - - ">="
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
- type: :runtime
90
+ type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
93
  requirements:
@@ -107,13 +95,13 @@ dependencies:
107
95
  - !ruby/object:Gem::Version
108
96
  version: '0'
109
97
  - !ruby/object:Gem::Dependency
110
- name: faker
98
+ name: rake
111
99
  requirement: !ruby/object:Gem::Requirement
112
100
  requirements:
113
101
  - - ">="
114
102
  - !ruby/object:Gem::Version
115
103
  version: '0'
116
- type: :runtime
104
+ type: :development
117
105
  prerelease: false
118
106
  version_requirements: !ruby/object:Gem::Requirement
119
107
  requirements:
@@ -121,63 +109,63 @@ dependencies:
121
109
  - !ruby/object:Gem::Version
122
110
  version: '0'
123
111
  - !ruby/object:Gem::Dependency
124
- name: chronic
112
+ name: require_all
125
113
  requirement: !ruby/object:Gem::Requirement
126
114
  requirements:
127
115
  - - '='
128
116
  - !ruby/object:Gem::Version
129
- version: 0.10.2
130
- type: :runtime
117
+ version: 1.5.0
118
+ type: :development
131
119
  prerelease: false
132
120
  version_requirements: !ruby/object:Gem::Requirement
133
121
  requirements:
134
122
  - - '='
135
123
  - !ruby/object:Gem::Version
136
- version: 0.10.2
124
+ version: 1.5.0
137
125
  - !ruby/object:Gem::Dependency
138
- name: spreadsheet
126
+ name: rspec
139
127
  requirement: !ruby/object:Gem::Requirement
140
128
  requirements:
141
- - - '='
129
+ - - "~>"
142
130
  - !ruby/object:Gem::Version
143
- version: 1.1.1
144
- type: :runtime
131
+ version: '3.10'
132
+ type: :development
145
133
  prerelease: false
146
134
  version_requirements: !ruby/object:Gem::Requirement
147
135
  requirements:
148
- - - '='
136
+ - - "~>"
149
137
  - !ruby/object:Gem::Version
150
- version: 1.1.1
138
+ version: '3.10'
151
139
  - !ruby/object:Gem::Dependency
152
- name: os
140
+ name: simplecov
153
141
  requirement: !ruby/object:Gem::Requirement
154
142
  requirements:
155
- - - ">="
143
+ - - "~>"
156
144
  - !ruby/object:Gem::Version
157
- version: '0'
158
- type: :runtime
145
+ version: '0.18'
146
+ type: :development
159
147
  prerelease: false
160
148
  version_requirements: !ruby/object:Gem::Requirement
161
149
  requirements:
162
- - - ">="
150
+ - - "~>"
163
151
  - !ruby/object:Gem::Version
164
- version: '0'
152
+ version: '0.18'
165
153
  - !ruby/object:Gem::Dependency
166
- name: i18n
154
+ name: yard
167
155
  requirement: !ruby/object:Gem::Requirement
168
156
  requirements:
169
157
  - - ">="
170
158
  - !ruby/object:Gem::Version
171
- version: '0'
172
- type: :runtime
159
+ version: 0.9.0
160
+ type: :development
173
161
  prerelease: false
174
162
  version_requirements: !ruby/object:Gem::Requirement
175
163
  requirements:
176
164
  - - ">="
177
165
  - !ruby/object:Gem::Version
178
- version: '0'
166
+ version: 0.9.0
179
167
  - !ruby/object:Gem::Dependency
180
- name: browserstack-local
168
+ name: appium_lib
181
169
  requirement: !ruby/object:Gem::Requirement
182
170
  requirements:
183
171
  - - ">="
@@ -191,67 +179,105 @@ dependencies:
191
179
  - !ruby/object:Gem::Version
192
180
  version: '0'
193
181
  - !ruby/object:Gem::Dependency
194
- name: appium_lib
182
+ name: testcentricity_web
195
183
  requirement: !ruby/object:Gem::Requirement
196
184
  requirements:
197
185
  - - ">="
198
186
  - !ruby/object:Gem::Version
199
- version: '0'
187
+ version: 4.2.2
200
188
  type: :runtime
201
189
  prerelease: false
202
190
  version_requirements: !ruby/object:Gem::Requirement
203
191
  requirements:
204
192
  - - ">="
205
193
  - !ruby/object:Gem::Version
206
- version: '0'
194
+ version: 4.2.2
207
195
  - !ruby/object:Gem::Dependency
208
- name: childprocess
196
+ name: test-unit
209
197
  requirement: !ruby/object:Gem::Requirement
210
198
  requirements:
211
- - - "~>"
199
+ - - ">="
212
200
  - !ruby/object:Gem::Version
213
- version: '0.5'
201
+ version: '0'
214
202
  type: :runtime
215
203
  prerelease: false
216
204
  version_requirements: !ruby/object:Gem::Requirement
217
205
  requirements:
218
- - - "~>"
206
+ - - ">="
219
207
  - !ruby/object:Gem::Version
220
- version: '0.5'
208
+ version: '0'
221
209
  description: |2-
222
210
 
223
- The TestCentricity™ core generic framework for desktop/mobile web and native mobile app testing implements a Page Object Model DSL
224
- for use with Cucumber, Capybara, Appium, and Selenium-Webdriver. The TestCentricity™ gem supports running automated tests
225
- against locally hosted desktop browsers (Firefox, Chrome, Safari, or IE), locally hosted emulated mobile browsers (iOS,
226
- Android, Windows Phone, Blackberry, Kindle Fire) running within a locally hosted instance of Chrome, a "headless" browser (using
227
- Poltergeist and PhantomJS), mobile Safari browsers on iOS device simulators or physical iOS devices (using Appium and XCode on
228
- OS X), mobile Chrome or Android browsers on Android Studio virtual device emulators (using Appium and Android Studio on OS X),
229
- or cloud hosted desktop or mobile web browsers (using the BrowserStack, Sauce Labs, CrossBrowserTesting, or TestingBot services).
211
+ The TestCentricity™ core framework for native mobile iOS and Android apps and desktop/mobile web testing implements a Page Object
212
+ Model DSL for use with Cucumber, Appium, Capybara, and Selenium-Webdriver v4.x. The gem also facilitates the configuration of the
213
+ appropriate Appium capabilities required to establish a connection with locally or cloud (using BrowserStack, Sauce Labs, or
214
+ TestingBot services) hosted iOS or Android devices or simulators. For more information on desktop/mobile web testing with this
215
+ gem, refer to docs for the TestCentricity™ Web gem (https://www.rubydoc.info/gems/testcentricity_web).
230
216
  email:
231
217
  - testcentricity@gmail.com
232
- executables:
233
- - console
234
- - setup
218
+ executables: []
235
219
  extensions: []
236
220
  extra_rdoc_files: []
237
221
  files:
238
222
  - ".gitignore"
239
223
  - ".rspec"
240
- - ".ruby-gemset"
224
+ - ".rubocop.yml"
241
225
  - ".ruby-version"
226
+ - ".simplecov"
227
+ - ".yardopts"
228
+ - CHANGELOG.md
229
+ - CODE_OF_CONDUCT.md
242
230
  - Gemfile
243
- - Gemfile.lock
244
- - LICENSE.txt
231
+ - LICENSE.md
245
232
  - README.md
246
233
  - Rakefile
247
- - bin/console
248
- - bin/setup
249
- - lib/devices/devices.yml
234
+ - config/cucumber.yml
235
+ - config/locales/en-US.yml
236
+ - config/test_data/LOCAL_data.yml
237
+ - config/test_data/data.yml
238
+ - features/deep_links.feature
239
+ - features/login.feature
240
+ - features/navigation.feature
241
+ - features/step_definitions/generic_steps.rb
242
+ - features/support/android/screens/about_screen.rb
243
+ - features/support/android/screens/base_app_screen.rb
244
+ - features/support/android/screens/checkout_address_screen.rb
245
+ - features/support/android/screens/checkout_payment_screen.rb
246
+ - features/support/android/screens/login_screen.rb
247
+ - features/support/android/screens/products_screen.rb
248
+ - features/support/android/screens/saucebot_screen.rb
249
+ - features/support/android/screens/webview_screen.rb
250
+ - features/support/android/sections/nav_widgets/nav_menu.rb
251
+ - features/support/env.rb
252
+ - features/support/hooks.rb
253
+ - features/support/ios/screens/about_screen.rb
254
+ - features/support/ios/screens/base_app_screen.rb
255
+ - features/support/ios/screens/checkout_address_screen.rb
256
+ - features/support/ios/screens/checkout_payment_screen.rb
257
+ - features/support/ios/screens/login_screen.rb
258
+ - features/support/ios/screens/products_screen.rb
259
+ - features/support/ios/screens/saucebot_screen.rb
260
+ - features/support/ios/screens/webview_screen.rb
261
+ - features/support/ios/sections/list_items/product_cell_item.rb
262
+ - features/support/ios/sections/modals/base_modal.rb
263
+ - features/support/ios/sections/modals/logout_modal.rb
264
+ - features/support/ios/sections/modals/reset_app_state_modal.rb
265
+ - features/support/ios/sections/nav_widgets/nav_bar.rb
266
+ - features/support/ios/sections/nav_widgets/nav_menu.rb
267
+ - features/support/shared_components/screens/base_app_screen.rb
268
+ - features/support/shared_components/screens/checkout_address_screen.rb
269
+ - features/support/shared_components/screens/checkout_payment_screen.rb
270
+ - features/support/shared_components/screens/login_screen.rb
271
+ - features/support/shared_components/screens/saucebot_screen.rb
272
+ - features/support/shared_components/screens/webview_screen.rb
273
+ - features/support/shared_components/sections/nav_menu.rb
274
+ - features/support/world_data.rb
275
+ - features/support/world_pages.rb
250
276
  - lib/testcentricity.rb
251
277
  - lib/testcentricity/app_core/appium_connect_helper.rb
252
- - lib/testcentricity/app_core/appium_server.rb
278
+ - lib/testcentricity/app_core/screen_object.rb
253
279
  - lib/testcentricity/app_core/screen_objects_helper.rb
254
- - lib/testcentricity/app_core/screen_sections_helper.rb
280
+ - lib/testcentricity/app_core/screen_section.rb
255
281
  - lib/testcentricity/app_elements/alert.rb
256
282
  - lib/testcentricity/app_elements/app_element_helper.rb
257
283
  - lib/testcentricity/app_elements/button.rb
@@ -262,49 +288,37 @@ files:
262
288
  - lib/testcentricity/app_elements/select_list.rb
263
289
  - lib/testcentricity/app_elements/switch.rb
264
290
  - lib/testcentricity/app_elements/textfield.rb
265
- - lib/testcentricity/browser_helper.rb
266
- - lib/testcentricity/data_objects/data_objects_helper.rb
267
291
  - lib/testcentricity/data_objects/environment.rb
268
- - lib/testcentricity/data_objects/excel_helper.rb
269
- - lib/testcentricity/exception_queue_helper.rb
270
- - lib/testcentricity/utility_helpers.rb
271
292
  - lib/testcentricity/version.rb
272
- - lib/testcentricity/web_core/drag_drop_helper.rb
273
- - lib/testcentricity/web_core/page_objects_helper.rb
274
- - lib/testcentricity/web_core/page_sections_helper.rb
275
- - lib/testcentricity/web_core/webdriver_helper.rb
276
- - lib/testcentricity/web_elements/button.rb
277
- - lib/testcentricity/web_elements/cell_button.rb
278
- - lib/testcentricity/web_elements/cell_checkbox.rb
279
- - lib/testcentricity/web_elements/cell_element.rb
280
- - lib/testcentricity/web_elements/cell_image.rb
281
- - lib/testcentricity/web_elements/cell_radio.rb
282
- - lib/testcentricity/web_elements/checkbox.rb
283
- - lib/testcentricity/web_elements/file_field.rb
284
- - lib/testcentricity/web_elements/image.rb
285
- - lib/testcentricity/web_elements/label.rb
286
- - lib/testcentricity/web_elements/link.rb
287
- - lib/testcentricity/web_elements/list.rb
288
- - lib/testcentricity/web_elements/list_button.rb
289
- - lib/testcentricity/web_elements/list_checkbox.rb
290
- - lib/testcentricity/web_elements/list_element.rb
291
- - lib/testcentricity/web_elements/list_radio.rb
292
- - lib/testcentricity/web_elements/radio.rb
293
- - lib/testcentricity/web_elements/select_list.rb
294
- - lib/testcentricity/web_elements/siebel_open_ui_helper.rb
295
- - lib/testcentricity/web_elements/table.rb
296
- - lib/testcentricity/web_elements/textfield.rb
297
- - lib/testcentricity/web_elements/ui_elements_helper.rb
298
- - lib/testcentricity/world_extensions.rb
299
- - my_templates/default/method_details/setup.rb
293
+ - reports/.keep
294
+ - spec/fixtures/page_object.rb
295
+ - spec/fixtures/page_section_object.rb
296
+ - spec/fixtures/screen_object.rb
297
+ - spec/fixtures/screen_section_object.rb
300
298
  - spec/spec_helper.rb
301
- - spec/testcentricity_spec.rb
299
+ - spec/testcentricity/elements/button_spec.rb
300
+ - spec/testcentricity/elements/checkbox_spec.rb
301
+ - spec/testcentricity/elements/image_spec.rb
302
+ - spec/testcentricity/elements/label_spec.rb
303
+ - spec/testcentricity/elements/list_spec.rb
304
+ - spec/testcentricity/elements/ui_element_spec.rb
305
+ - spec/testcentricity/mobile/appium_connect_spec.rb
306
+ - spec/testcentricity/mobile/screen_object_spec.rb
307
+ - spec/testcentricity/mobile/screen_section_object_spec.rb
308
+ - spec/testcentricity/version_spec.rb
309
+ - spec/testcentricity/web/browser_spec.rb
310
+ - spec/testcentricity/web/local_webdriver_spec.rb
311
+ - spec/testcentricity/web/mobile_webdriver_spec.rb
312
+ - spec/testcentricity/web/page_object_spec.rb
313
+ - spec/testcentricity/web/page_section_object_spec.rb
302
314
  - testcentricity.gemspec
303
- homepage: ''
315
+ homepage: https://github.com/TestCentricity/testcentricity
304
316
  licenses:
305
- - BSD-3-Clause-Clear
306
- metadata: {}
307
- post_install_message:
317
+ - BSD-3-Clause
318
+ metadata:
319
+ changelog_uri: https://github.com/TestCentricity/testcentricity/blob/main/CHANGELOG.md
320
+ documentation_uri: https://www.rubydoc.info/gems/testcentricity
321
+ post_install_message:
308
322
  rdoc_options: []
309
323
  require_paths:
310
324
  - lib
@@ -312,20 +326,75 @@ required_ruby_version: !ruby/object:Gem::Requirement
312
326
  requirements:
313
327
  - - ">="
314
328
  - !ruby/object:Gem::Version
315
- version: 2.3.0
329
+ version: 2.7.5
316
330
  required_rubygems_version: !ruby/object:Gem::Requirement
317
331
  requirements:
318
332
  - - ">="
319
333
  - !ruby/object:Gem::Version
320
334
  version: '0'
321
335
  requirements:
322
- - Capybara, Appium, Selenium-WebDriver
323
- rubyforge_project:
324
- rubygems_version: 2.5.1
325
- signing_key:
336
+ - Appium, TestCentricity Web
337
+ rubygems_version: 3.1.6
338
+ signing_key:
326
339
  specification_version: 4
327
- summary: A Page Object and Data Object Model Framework for desktop/mobile web and
328
- native mobile app testing
340
+ summary: A Page Object Model Framework for desktop/mobile web and native mobile app
341
+ testing
329
342
  test_files:
343
+ - features/deep_links.feature
344
+ - features/login.feature
345
+ - features/navigation.feature
346
+ - features/step_definitions/generic_steps.rb
347
+ - features/support/android/screens/about_screen.rb
348
+ - features/support/android/screens/base_app_screen.rb
349
+ - features/support/android/screens/checkout_address_screen.rb
350
+ - features/support/android/screens/checkout_payment_screen.rb
351
+ - features/support/android/screens/login_screen.rb
352
+ - features/support/android/screens/products_screen.rb
353
+ - features/support/android/screens/saucebot_screen.rb
354
+ - features/support/android/screens/webview_screen.rb
355
+ - features/support/android/sections/nav_widgets/nav_menu.rb
356
+ - features/support/env.rb
357
+ - features/support/hooks.rb
358
+ - features/support/ios/screens/about_screen.rb
359
+ - features/support/ios/screens/base_app_screen.rb
360
+ - features/support/ios/screens/checkout_address_screen.rb
361
+ - features/support/ios/screens/checkout_payment_screen.rb
362
+ - features/support/ios/screens/login_screen.rb
363
+ - features/support/ios/screens/products_screen.rb
364
+ - features/support/ios/screens/saucebot_screen.rb
365
+ - features/support/ios/screens/webview_screen.rb
366
+ - features/support/ios/sections/list_items/product_cell_item.rb
367
+ - features/support/ios/sections/modals/base_modal.rb
368
+ - features/support/ios/sections/modals/logout_modal.rb
369
+ - features/support/ios/sections/modals/reset_app_state_modal.rb
370
+ - features/support/ios/sections/nav_widgets/nav_bar.rb
371
+ - features/support/ios/sections/nav_widgets/nav_menu.rb
372
+ - features/support/shared_components/screens/base_app_screen.rb
373
+ - features/support/shared_components/screens/checkout_address_screen.rb
374
+ - features/support/shared_components/screens/checkout_payment_screen.rb
375
+ - features/support/shared_components/screens/login_screen.rb
376
+ - features/support/shared_components/screens/saucebot_screen.rb
377
+ - features/support/shared_components/screens/webview_screen.rb
378
+ - features/support/shared_components/sections/nav_menu.rb
379
+ - features/support/world_data.rb
380
+ - features/support/world_pages.rb
381
+ - spec/fixtures/page_object.rb
382
+ - spec/fixtures/page_section_object.rb
383
+ - spec/fixtures/screen_object.rb
384
+ - spec/fixtures/screen_section_object.rb
330
385
  - spec/spec_helper.rb
331
- - spec/testcentricity_spec.rb
386
+ - spec/testcentricity/elements/button_spec.rb
387
+ - spec/testcentricity/elements/checkbox_spec.rb
388
+ - spec/testcentricity/elements/image_spec.rb
389
+ - spec/testcentricity/elements/label_spec.rb
390
+ - spec/testcentricity/elements/list_spec.rb
391
+ - spec/testcentricity/elements/ui_element_spec.rb
392
+ - spec/testcentricity/mobile/appium_connect_spec.rb
393
+ - spec/testcentricity/mobile/screen_object_spec.rb
394
+ - spec/testcentricity/mobile/screen_section_object_spec.rb
395
+ - spec/testcentricity/version_spec.rb
396
+ - spec/testcentricity/web/browser_spec.rb
397
+ - spec/testcentricity/web/local_webdriver_spec.rb
398
+ - spec/testcentricity/web/mobile_webdriver_spec.rb
399
+ - spec/testcentricity/web/page_object_spec.rb
400
+ - spec/testcentricity/web/page_section_object_spec.rb
data/.ruby-gemset DELETED
@@ -1 +0,0 @@
1
- testcentricity
data/Gemfile.lock DELETED
@@ -1,93 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- testcentricity (2.4.0)
5
- appium_lib
6
- browserstack-local
7
- capybara (>= 2.15, < 3.0)
8
- childprocess (~> 0.5)
9
- chronic (= 0.10.2)
10
- faker
11
- i18n
12
- os
13
- poltergeist
14
- selenium-webdriver (>= 2.50.0, < 3.0)
15
- spreadsheet (= 1.1.1)
16
- test-unit
17
-
18
- GEM
19
- remote: https://rubygems.org/
20
- specs:
21
- addressable (2.5.2)
22
- public_suffix (>= 2.0.2, < 4.0)
23
- appium_lib (9.0.0)
24
- awesome_print (~> 1.6)
25
- json (~> 1.8)
26
- nokogiri (~> 1.6, >= 1.6.6)
27
- selenium-webdriver (~> 2.50)
28
- tomlrb (~> 1.1)
29
- awesome_print (1.8.0)
30
- browserstack-local (1.3.0)
31
- capybara (2.17.0)
32
- addressable
33
- mini_mime (>= 0.1.3)
34
- nokogiri (>= 1.3.3)
35
- rack (>= 1.0.0)
36
- rack-test (>= 0.5.4)
37
- xpath (>= 2.0, < 4.0)
38
- childprocess (0.8.0)
39
- ffi (~> 1.0, >= 1.0.11)
40
- chronic (0.10.2)
41
- cliver (0.3.2)
42
- concurrent-ruby (1.0.5)
43
- faker (1.8.7)
44
- i18n (>= 0.7)
45
- ffi (1.9.21)
46
- i18n (0.9.3)
47
- concurrent-ruby (~> 1.0)
48
- json (1.8.6)
49
- mini_mime (1.0.0)
50
- mini_portile2 (2.3.0)
51
- nokogiri (1.8.2)
52
- mini_portile2 (~> 2.3.0)
53
- os (1.0.0)
54
- poltergeist (1.17.0)
55
- capybara (~> 2.1)
56
- cliver (~> 0.3.1)
57
- websocket-driver (>= 0.2.0)
58
- power_assert (1.1.1)
59
- public_suffix (3.0.1)
60
- rack (2.0.4)
61
- rack-test (0.8.2)
62
- rack (>= 1.0, < 3)
63
- rake (12.3.0)
64
- redcarpet (3.4.0)
65
- ruby-ole (1.2.12.1)
66
- rubyzip (1.2.1)
67
- selenium-webdriver (2.53.4)
68
- childprocess (~> 0.5)
69
- rubyzip (~> 1.0)
70
- websocket (~> 1.0)
71
- spreadsheet (1.1.1)
72
- ruby-ole (>= 1.0)
73
- test-unit (3.2.7)
74
- power_assert
75
- tomlrb (1.2.6)
76
- websocket (1.2.5)
77
- websocket-driver (0.7.0)
78
- websocket-extensions (>= 0.1.0)
79
- websocket-extensions (0.1.3)
80
- xpath (3.0.0)
81
- nokogiri (~> 1.8)
82
-
83
- PLATFORMS
84
- ruby
85
-
86
- DEPENDENCIES
87
- bundler (~> 1.5)
88
- rake
89
- redcarpet
90
- testcentricity!
91
-
92
- BUNDLED WITH
93
- 1.16.1
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "testcentricity"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here