testcentricity 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/testcentricity/app_core/appium_connect_helper.rb +1 -0
- data/lib/testcentricity/app_core/screen_section.rb +0 -1
- data/lib/testcentricity/app_elements/app_element_helper.rb +1 -1
- data/lib/testcentricity/version.rb +1 -1
- metadata +5 -150
- data/.gitignore +0 -40
- data/.rspec +0 -4
- data/.rubocop.yml +0 -38
- data/.ruby-version +0 -1
- data/.simplecov +0 -9
- data/CODE_OF_CONDUCT.md +0 -13
- data/Gemfile +0 -6
- data/Rakefile +0 -63
- data/config/cucumber.yml +0 -146
- data/config/locales/en-US.yml +0 -56
- data/config/test_data/data.yml +0 -76
- data/features/deep_links.feature +0 -38
- data/features/login.feature +0 -30
- data/features/navigation.feature +0 -43
- data/features/step_definitions/generic_steps.rb +0 -67
- data/features/support/android/screens/about_screen.rb +0 -11
- data/features/support/android/screens/base_app_screen.rb +0 -31
- data/features/support/android/screens/biometrics_screen.rb +0 -17
- data/features/support/android/screens/checkout_address_screen.rb +0 -17
- data/features/support/android/screens/checkout_payment_screen.rb +0 -22
- data/features/support/android/screens/geo_location_screen.rb +0 -28
- data/features/support/android/screens/login_screen.rb +0 -18
- data/features/support/android/screens/product_item_screen.rb +0 -39
- data/features/support/android/screens/products_screen.rb +0 -27
- data/features/support/android/screens/qr_code_scanner_screen.rb +0 -15
- data/features/support/android/screens/saucebot_screen.rb +0 -16
- data/features/support/android/screens/webview_screen.rb +0 -13
- data/features/support/android/sections/list_items/product_list_item.rb +0 -13
- data/features/support/android/sections/nav_widgets/nav_menu.rb +0 -39
- data/features/support/data/product_data.rb +0 -27
- data/features/support/data/user_data.rb +0 -17
- data/features/support/env.rb +0 -62
- data/features/support/hooks.rb +0 -135
- data/features/support/ios/screens/about_screen.rb +0 -11
- data/features/support/ios/screens/base_app_screen.rb +0 -20
- data/features/support/ios/screens/biometrics_screen.rb +0 -17
- data/features/support/ios/screens/checkout_address_screen.rb +0 -17
- data/features/support/ios/screens/checkout_payment_screen.rb +0 -22
- data/features/support/ios/screens/geo_location_screen.rb +0 -32
- data/features/support/ios/screens/login_screen.rb +0 -18
- data/features/support/ios/screens/product_item_screen.rb +0 -39
- data/features/support/ios/screens/products_screen.rb +0 -27
- data/features/support/ios/screens/qr_code_scanner_screen.rb +0 -11
- data/features/support/ios/screens/saucebot_screen.rb +0 -16
- data/features/support/ios/screens/webview_screen.rb +0 -13
- data/features/support/ios/sections/list_items/product_list_item.rb +0 -13
- data/features/support/ios/sections/nav_widgets/nav_bar.rb +0 -31
- data/features/support/ios/sections/nav_widgets/nav_menu.rb +0 -41
- data/features/support/shared_components/screens/base_app_screen.rb +0 -35
- data/features/support/shared_components/screens/checkout_address_screen.rb +0 -17
- data/features/support/shared_components/screens/checkout_payment_screen.rb +0 -22
- data/features/support/shared_components/screens/login_screen.rb +0 -39
- data/features/support/shared_components/screens/saucebot_screen.rb +0 -17
- data/features/support/shared_components/screens/webview_screen.rb +0 -12
- data/features/support/shared_components/sections/nav_menu.rb +0 -58
- data/features/support/world_data.rb +0 -15
- data/features/support/world_pages.rb +0 -30
- data/reports/.keep +0 -1
- data/spec/fixtures/page_object.rb +0 -22
- data/spec/fixtures/page_section_object.rb +0 -21
- data/spec/fixtures/screen_object.rb +0 -16
- data/spec/fixtures/screen_section_object.rb +0 -16
- data/spec/spec_helper.rb +0 -33
- data/spec/testcentricity/elements/button_spec.rb +0 -18
- data/spec/testcentricity/elements/checkbox_spec.rb +0 -28
- data/spec/testcentricity/elements/image_spec.rb +0 -13
- data/spec/testcentricity/elements/label_spec.rb +0 -18
- data/spec/testcentricity/elements/list_spec.rb +0 -13
- data/spec/testcentricity/elements/ui_element_spec.rb +0 -72
- data/spec/testcentricity/mobile/appium_connect_spec.rb +0 -117
- data/spec/testcentricity/mobile/screen_object_spec.rb +0 -63
- data/spec/testcentricity/mobile/screen_section_object_spec.rb +0 -56
- data/spec/testcentricity/version_spec.rb +0 -7
- data/spec/testcentricity/web/browser_spec.rb +0 -41
- data/spec/testcentricity/web/local_webdriver_spec.rb +0 -86
- data/spec/testcentricity/web/mobile_webdriver_spec.rb +0 -123
- data/spec/testcentricity/web/page_object_spec.rb +0 -85
- data/spec/testcentricity/web/page_section_object_spec.rb +0 -72
- data/testcentricity.gemspec +0 -48
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4be45cea70bc057c0f1e19cc43110526d6799560e80f0c833d01edf84d178ab5
|
4
|
+
data.tar.gz: a8cab6531bd2057e86096a87dbbfd0d92d453e4da9b4607c70f1bcedf6dcbc5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac8b2e9626dc495b771dba76d8742e18a907f0721faa715f34c508529cbd41fba7798bec02a164d2d650de772afc1b0ca5042e7932415491b8ba7052f50702a1
|
7
|
+
data.tar.gz: 51410e60617d58e6494b19c3838e3152a1208e4da4af0f1fd87d770fb112ff46de26bf8450b169e7a184d3b8cfe514976d6000d7ccb2331ac808182f9801fd48
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
4
|
|
5
|
+
## [3.0.5] - 12-JUNE-2022
|
6
|
+
|
7
|
+
### Fixed
|
8
|
+
* Fix `gemspec` to no longer include specs and cuke tests as part of deployment package for gem.
|
9
|
+
|
10
|
+
### Updated
|
11
|
+
* Incorporated all changes from the [TestCentricity™ Web gem](https://rubygems.org/gems/testcentricity_web) version 4.2.6, which is
|
12
|
+
bundled with this gem.
|
13
|
+
|
14
|
+
|
5
15
|
## [3.0.4] - 02-JUNE-2022
|
6
16
|
|
7
17
|
### Added
|
@@ -271,6 +271,7 @@ module TestCentricity
|
|
271
271
|
caps[:newCommandTimeout] = ENV['NEW_COMMAND_TIMEOUT'] if ENV['NEW_COMMAND_TIMEOUT']
|
272
272
|
caps[:noReset] = ENV['APP_NO_RESET'] if ENV['APP_NO_RESET']
|
273
273
|
caps[:fullReset] = ENV['APP_FULL_RESET'] if ENV['APP_FULL_RESET']
|
274
|
+
caps[:autoLaunch] = ENV['AUTO_LAUNCH'] if ENV['AUTO_LAUNCH']
|
274
275
|
caps[:webkitDebugProxyPort] = ENV['WEBKIT_DEBUG_PROXY_PORT'] if ENV['WEBKIT_DEBUG_PROXY_PORT']
|
275
276
|
caps[:webDriverAgentUrl] = ENV['WEBDRIVER_AGENT_URL'] if ENV['WEBDRIVER_AGENT_URL']
|
276
277
|
caps[:wdaLocalPort] = ENV['WDA_LOCAL_PORT'] if ENV['WDA_LOCAL_PORT']
|
@@ -350,7 +350,7 @@ module TestCentricity
|
|
350
350
|
obj = element
|
351
351
|
object_not_found_exception(obj)
|
352
352
|
if Environ.is_ios?
|
353
|
-
$driver.execute_script('mobile: scroll', direction: direction
|
353
|
+
$driver.execute_script('mobile: scroll', { direction: direction })
|
354
354
|
else
|
355
355
|
case direction
|
356
356
|
when :down
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testcentricity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- A.J. Mrozinski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - ">="
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 4.2.
|
187
|
+
version: 4.2.6
|
188
188
|
type: :runtime
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 4.2.
|
194
|
+
version: 4.2.6
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: test-unit
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -219,67 +219,10 @@ executables: []
|
|
219
219
|
extensions: []
|
220
220
|
extra_rdoc_files: []
|
221
221
|
files:
|
222
|
-
- ".gitignore"
|
223
|
-
- ".rspec"
|
224
|
-
- ".rubocop.yml"
|
225
|
-
- ".ruby-version"
|
226
|
-
- ".simplecov"
|
227
222
|
- ".yardopts"
|
228
223
|
- CHANGELOG.md
|
229
|
-
- CODE_OF_CONDUCT.md
|
230
|
-
- Gemfile
|
231
224
|
- LICENSE.md
|
232
225
|
- README.md
|
233
|
-
- Rakefile
|
234
|
-
- config/cucumber.yml
|
235
|
-
- config/locales/en-US.yml
|
236
|
-
- config/test_data/data.yml
|
237
|
-
- features/deep_links.feature
|
238
|
-
- features/login.feature
|
239
|
-
- features/navigation.feature
|
240
|
-
- features/step_definitions/generic_steps.rb
|
241
|
-
- features/support/android/screens/about_screen.rb
|
242
|
-
- features/support/android/screens/base_app_screen.rb
|
243
|
-
- features/support/android/screens/biometrics_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/geo_location_screen.rb
|
247
|
-
- features/support/android/screens/login_screen.rb
|
248
|
-
- features/support/android/screens/product_item_screen.rb
|
249
|
-
- features/support/android/screens/products_screen.rb
|
250
|
-
- features/support/android/screens/qr_code_scanner_screen.rb
|
251
|
-
- features/support/android/screens/saucebot_screen.rb
|
252
|
-
- features/support/android/screens/webview_screen.rb
|
253
|
-
- features/support/android/sections/list_items/product_list_item.rb
|
254
|
-
- features/support/android/sections/nav_widgets/nav_menu.rb
|
255
|
-
- features/support/data/product_data.rb
|
256
|
-
- features/support/data/user_data.rb
|
257
|
-
- features/support/env.rb
|
258
|
-
- features/support/hooks.rb
|
259
|
-
- features/support/ios/screens/about_screen.rb
|
260
|
-
- features/support/ios/screens/base_app_screen.rb
|
261
|
-
- features/support/ios/screens/biometrics_screen.rb
|
262
|
-
- features/support/ios/screens/checkout_address_screen.rb
|
263
|
-
- features/support/ios/screens/checkout_payment_screen.rb
|
264
|
-
- features/support/ios/screens/geo_location_screen.rb
|
265
|
-
- features/support/ios/screens/login_screen.rb
|
266
|
-
- features/support/ios/screens/product_item_screen.rb
|
267
|
-
- features/support/ios/screens/products_screen.rb
|
268
|
-
- features/support/ios/screens/qr_code_scanner_screen.rb
|
269
|
-
- features/support/ios/screens/saucebot_screen.rb
|
270
|
-
- features/support/ios/screens/webview_screen.rb
|
271
|
-
- features/support/ios/sections/list_items/product_list_item.rb
|
272
|
-
- features/support/ios/sections/nav_widgets/nav_bar.rb
|
273
|
-
- features/support/ios/sections/nav_widgets/nav_menu.rb
|
274
|
-
- features/support/shared_components/screens/base_app_screen.rb
|
275
|
-
- features/support/shared_components/screens/checkout_address_screen.rb
|
276
|
-
- features/support/shared_components/screens/checkout_payment_screen.rb
|
277
|
-
- features/support/shared_components/screens/login_screen.rb
|
278
|
-
- features/support/shared_components/screens/saucebot_screen.rb
|
279
|
-
- features/support/shared_components/screens/webview_screen.rb
|
280
|
-
- features/support/shared_components/sections/nav_menu.rb
|
281
|
-
- features/support/world_data.rb
|
282
|
-
- features/support/world_pages.rb
|
283
226
|
- lib/testcentricity.rb
|
284
227
|
- lib/testcentricity/app_core/appium_connect_helper.rb
|
285
228
|
- lib/testcentricity/app_core/screen_object.rb
|
@@ -297,28 +240,6 @@ files:
|
|
297
240
|
- lib/testcentricity/app_elements/textfield.rb
|
298
241
|
- lib/testcentricity/data_objects/environment.rb
|
299
242
|
- lib/testcentricity/version.rb
|
300
|
-
- reports/.keep
|
301
|
-
- spec/fixtures/page_object.rb
|
302
|
-
- spec/fixtures/page_section_object.rb
|
303
|
-
- spec/fixtures/screen_object.rb
|
304
|
-
- spec/fixtures/screen_section_object.rb
|
305
|
-
- spec/spec_helper.rb
|
306
|
-
- spec/testcentricity/elements/button_spec.rb
|
307
|
-
- spec/testcentricity/elements/checkbox_spec.rb
|
308
|
-
- spec/testcentricity/elements/image_spec.rb
|
309
|
-
- spec/testcentricity/elements/label_spec.rb
|
310
|
-
- spec/testcentricity/elements/list_spec.rb
|
311
|
-
- spec/testcentricity/elements/ui_element_spec.rb
|
312
|
-
- spec/testcentricity/mobile/appium_connect_spec.rb
|
313
|
-
- spec/testcentricity/mobile/screen_object_spec.rb
|
314
|
-
- spec/testcentricity/mobile/screen_section_object_spec.rb
|
315
|
-
- spec/testcentricity/version_spec.rb
|
316
|
-
- spec/testcentricity/web/browser_spec.rb
|
317
|
-
- spec/testcentricity/web/local_webdriver_spec.rb
|
318
|
-
- spec/testcentricity/web/mobile_webdriver_spec.rb
|
319
|
-
- spec/testcentricity/web/page_object_spec.rb
|
320
|
-
- spec/testcentricity/web/page_section_object_spec.rb
|
321
|
-
- testcentricity.gemspec
|
322
243
|
homepage: https://github.com/TestCentricity/testcentricity
|
323
244
|
licenses:
|
324
245
|
- BSD-3-Clause
|
@@ -346,70 +267,4 @@ signing_key:
|
|
346
267
|
specification_version: 4
|
347
268
|
summary: A Page Object Model Framework for native mobile app and desktop/mobile web
|
348
269
|
portal testing
|
349
|
-
test_files:
|
350
|
-
- features/deep_links.feature
|
351
|
-
- features/login.feature
|
352
|
-
- features/navigation.feature
|
353
|
-
- features/step_definitions/generic_steps.rb
|
354
|
-
- features/support/android/screens/about_screen.rb
|
355
|
-
- features/support/android/screens/base_app_screen.rb
|
356
|
-
- features/support/android/screens/biometrics_screen.rb
|
357
|
-
- features/support/android/screens/checkout_address_screen.rb
|
358
|
-
- features/support/android/screens/checkout_payment_screen.rb
|
359
|
-
- features/support/android/screens/geo_location_screen.rb
|
360
|
-
- features/support/android/screens/login_screen.rb
|
361
|
-
- features/support/android/screens/product_item_screen.rb
|
362
|
-
- features/support/android/screens/products_screen.rb
|
363
|
-
- features/support/android/screens/qr_code_scanner_screen.rb
|
364
|
-
- features/support/android/screens/saucebot_screen.rb
|
365
|
-
- features/support/android/screens/webview_screen.rb
|
366
|
-
- features/support/android/sections/list_items/product_list_item.rb
|
367
|
-
- features/support/android/sections/nav_widgets/nav_menu.rb
|
368
|
-
- features/support/data/product_data.rb
|
369
|
-
- features/support/data/user_data.rb
|
370
|
-
- features/support/env.rb
|
371
|
-
- features/support/hooks.rb
|
372
|
-
- features/support/ios/screens/about_screen.rb
|
373
|
-
- features/support/ios/screens/base_app_screen.rb
|
374
|
-
- features/support/ios/screens/biometrics_screen.rb
|
375
|
-
- features/support/ios/screens/checkout_address_screen.rb
|
376
|
-
- features/support/ios/screens/checkout_payment_screen.rb
|
377
|
-
- features/support/ios/screens/geo_location_screen.rb
|
378
|
-
- features/support/ios/screens/login_screen.rb
|
379
|
-
- features/support/ios/screens/product_item_screen.rb
|
380
|
-
- features/support/ios/screens/products_screen.rb
|
381
|
-
- features/support/ios/screens/qr_code_scanner_screen.rb
|
382
|
-
- features/support/ios/screens/saucebot_screen.rb
|
383
|
-
- features/support/ios/screens/webview_screen.rb
|
384
|
-
- features/support/ios/sections/list_items/product_list_item.rb
|
385
|
-
- features/support/ios/sections/nav_widgets/nav_bar.rb
|
386
|
-
- features/support/ios/sections/nav_widgets/nav_menu.rb
|
387
|
-
- features/support/shared_components/screens/base_app_screen.rb
|
388
|
-
- features/support/shared_components/screens/checkout_address_screen.rb
|
389
|
-
- features/support/shared_components/screens/checkout_payment_screen.rb
|
390
|
-
- features/support/shared_components/screens/login_screen.rb
|
391
|
-
- features/support/shared_components/screens/saucebot_screen.rb
|
392
|
-
- features/support/shared_components/screens/webview_screen.rb
|
393
|
-
- features/support/shared_components/sections/nav_menu.rb
|
394
|
-
- features/support/world_data.rb
|
395
|
-
- features/support/world_pages.rb
|
396
|
-
- spec/fixtures/page_object.rb
|
397
|
-
- spec/fixtures/page_section_object.rb
|
398
|
-
- spec/fixtures/screen_object.rb
|
399
|
-
- spec/fixtures/screen_section_object.rb
|
400
|
-
- spec/spec_helper.rb
|
401
|
-
- spec/testcentricity/elements/button_spec.rb
|
402
|
-
- spec/testcentricity/elements/checkbox_spec.rb
|
403
|
-
- spec/testcentricity/elements/image_spec.rb
|
404
|
-
- spec/testcentricity/elements/label_spec.rb
|
405
|
-
- spec/testcentricity/elements/list_spec.rb
|
406
|
-
- spec/testcentricity/elements/ui_element_spec.rb
|
407
|
-
- spec/testcentricity/mobile/appium_connect_spec.rb
|
408
|
-
- spec/testcentricity/mobile/screen_object_spec.rb
|
409
|
-
- spec/testcentricity/mobile/screen_section_object_spec.rb
|
410
|
-
- spec/testcentricity/version_spec.rb
|
411
|
-
- spec/testcentricity/web/browser_spec.rb
|
412
|
-
- spec/testcentricity/web/local_webdriver_spec.rb
|
413
|
-
- spec/testcentricity/web/mobile_webdriver_spec.rb
|
414
|
-
- spec/testcentricity/web/page_object_spec.rb
|
415
|
-
- spec/testcentricity/web/page_section_object_spec.rb
|
270
|
+
test_files: []
|
data/.gitignore
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
# OSX folder stuff
|
2
|
-
.DS_Store
|
3
|
-
Thumbs.db
|
4
|
-
|
5
|
-
#IDE project files
|
6
|
-
.idea/
|
7
|
-
.settings
|
8
|
-
.project
|
9
|
-
|
10
|
-
/.bundle/
|
11
|
-
/.yardoc
|
12
|
-
/_yardoc/
|
13
|
-
/coverage/
|
14
|
-
/doc/
|
15
|
-
/pkg/
|
16
|
-
/spec/reports/
|
17
|
-
/tmp/
|
18
|
-
Gemfile*.lock
|
19
|
-
*gem
|
20
|
-
|
21
|
-
# rspec failure tracking
|
22
|
-
.rspec_status
|
23
|
-
|
24
|
-
# Ignore test-reports
|
25
|
-
reports/*.html
|
26
|
-
reports/*.xml
|
27
|
-
reports/*.json
|
28
|
-
reports/screenshots/
|
29
|
-
test-reports
|
30
|
-
capybara-*.html
|
31
|
-
debug.log
|
32
|
-
|
33
|
-
BrowserStackLocal
|
34
|
-
cbttunnel.jar
|
35
|
-
|
36
|
-
/.yardoc/
|
37
|
-
/local.log
|
38
|
-
.run/*.xml
|
39
|
-
|
40
|
-
echo coverage >> .gitignore
|
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
# See full list of defaults here: https://github.com/bbatsov/rubocop/blob/master/config/default.yml
|
2
|
-
# To see all cops used see here: https://github.com/bbatsov/rubocop/blob/master/config/enabled.yml
|
3
|
-
|
4
|
-
Documentation:
|
5
|
-
Enabled: false
|
6
|
-
|
7
|
-
AccessorMethodName:
|
8
|
-
Enabled: false
|
9
|
-
|
10
|
-
TrivialAccessors:
|
11
|
-
Enabled: false
|
12
|
-
|
13
|
-
RedundantReturn:
|
14
|
-
Enabled: false
|
15
|
-
|
16
|
-
Metrics/ModuleLength:
|
17
|
-
Enabled: false
|
18
|
-
|
19
|
-
Metrics/ClassLength:
|
20
|
-
Enabled: false
|
21
|
-
|
22
|
-
Metrics/LineLength:
|
23
|
-
Enabled: false
|
24
|
-
|
25
|
-
Metrics/MethodLength:
|
26
|
-
Enabled: false
|
27
|
-
|
28
|
-
Style/RegexpLiteral:
|
29
|
-
Enabled: false
|
30
|
-
|
31
|
-
Style/HashSyntax:
|
32
|
-
Enabled: false
|
33
|
-
|
34
|
-
Metrics/CyclomaticComplexity:
|
35
|
-
Enabled: false
|
36
|
-
|
37
|
-
Layout/EmptyLines:
|
38
|
-
Enabled: false
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
ruby-2.7.5
|
data/.simplecov
DELETED
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# Contributor Code of Conduct
|
2
|
-
|
3
|
-
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
-
|
5
|
-
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
-
|
7
|
-
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
-
|
9
|
-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
-
|
11
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
-
|
13
|
-
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'cucumber'
|
3
|
-
require 'cucumber/rake/task'
|
4
|
-
require 'rake'
|
5
|
-
require 'rspec/core/rake_task'
|
6
|
-
require 'simplecov'
|
7
|
-
require 'yard'
|
8
|
-
|
9
|
-
|
10
|
-
desc 'Run required specs'
|
11
|
-
RSpec::Core::RakeTask.new(:required_specs) do |t|
|
12
|
-
t.rspec_opts = '--tag required'
|
13
|
-
end
|
14
|
-
|
15
|
-
|
16
|
-
desc 'Run web specs'
|
17
|
-
RSpec::Core::RakeTask.new(:web_specs) do |t|
|
18
|
-
t.rspec_opts = '--tag web'
|
19
|
-
end
|
20
|
-
|
21
|
-
|
22
|
-
desc 'Run Cucumber features on iOS simulator'
|
23
|
-
Cucumber::Rake::Task.new(:ios_sim) do |t|
|
24
|
-
t.profile = 'ios_sim'
|
25
|
-
end
|
26
|
-
|
27
|
-
|
28
|
-
desc 'Run Cucumber features on Android simulator'
|
29
|
-
Cucumber::Rake::Task.new(:android_sim) do |t|
|
30
|
-
t.profile = 'android_sim'
|
31
|
-
end
|
32
|
-
|
33
|
-
|
34
|
-
desc 'Run required specs and Cucumber features'
|
35
|
-
task required: [:required_specs, :android_sim, :ios_sim]
|
36
|
-
|
37
|
-
|
38
|
-
desc 'Run all specs'
|
39
|
-
task all_specs: [:required_specs, :web_specs]
|
40
|
-
|
41
|
-
|
42
|
-
desc 'Run all specs and Cucumber features'
|
43
|
-
task all: [:required_specs, :web_specs, :android_sim, :ios_sim]
|
44
|
-
|
45
|
-
|
46
|
-
desc 'Update HTML docs'
|
47
|
-
YARD::Rake::YardocTask.new(:docs) do |t|
|
48
|
-
t.files = ['lib/**/*.rb']
|
49
|
-
end
|
50
|
-
|
51
|
-
|
52
|
-
desc 'Build and release new version'
|
53
|
-
task :release do
|
54
|
-
version = TestCentricity::VERSION
|
55
|
-
puts "Releasing version #{version} of TestCentricity gem, y/n?"
|
56
|
-
exit(1) unless $stdin.gets.chomp == 'y'
|
57
|
-
sh 'gem build testcentricity.gemspec && ' \
|
58
|
-
"gem push testcentricity-#{version}.gem"
|
59
|
-
end
|
60
|
-
|
61
|
-
|
62
|
-
desc 'Update docs, build gem, and push to RubyGems'
|
63
|
-
task ship_it: [:docs, :release]
|
data/config/cucumber.yml
DELETED
@@ -1,146 +0,0 @@
|
|
1
|
-
<% desktop = "--require features BROWSER_TILE=true BROWSER_SIZE=1300,1000 --publish-quiet" %>
|
2
|
-
<% mobile = "--require features --publish-quiet" %>
|
3
|
-
<% reports = "--require features --format pretty --format html --out reports/test_results.html --format junit --out reports --format json --out reports/test_results.json" %>
|
4
|
-
<% regression = "--tags '@regression and (not @wip and not @failing)' --require features" %>
|
5
|
-
<% acceptance = "--tags '@bat and (not @wip and not @failing)' --require features" %>
|
6
|
-
|
7
|
-
|
8
|
-
#==============
|
9
|
-
# generic test context profiles
|
10
|
-
#==============
|
11
|
-
|
12
|
-
failing: --tags '@failing and not @wip'
|
13
|
-
wip: --tags '@wip and not @failing'
|
14
|
-
dev: --tags '@dev and (not @wip and not @failing)'
|
15
|
-
regress: <%= regression %>
|
16
|
-
bvt: <%= acceptance %>
|
17
|
-
|
18
|
-
|
19
|
-
#==============
|
20
|
-
# test reporting profiles
|
21
|
-
#==============
|
22
|
-
|
23
|
-
report: <%= reports %> REPORTING=true
|
24
|
-
parallel: PARALLEL=true REPORTING=true --require features --format pretty --format html --out reports/test_results<%= ENV['TEST_ENV_NUMBER'] %>.html --format junit --out reports --format json --out reports/test_results<%= ENV['TEST_ENV_NUMBER'] %>.json
|
25
|
-
|
26
|
-
|
27
|
-
#==============
|
28
|
-
# conditionally load Page and Screen Object implementations based on which target platform we're running on
|
29
|
-
#==============
|
30
|
-
|
31
|
-
ios: PLATFORM=ios --tags @ios -r features/support/ios -e features/support/android
|
32
|
-
android: PLATFORM=android --tags @android -r features/support/android -e features/support/ios
|
33
|
-
web: PLATFORM=web --tags @web -r features/support/web -e features/support/ios -e features/support/android
|
34
|
-
|
35
|
-
|
36
|
-
#==============
|
37
|
-
# target_test_environment profiles
|
38
|
-
#==============
|
39
|
-
|
40
|
-
local: TEST_ENVIRONMENT=LOCAL
|
41
|
-
debug: DEBUG=true
|
42
|
-
|
43
|
-
|
44
|
-
#==============
|
45
|
-
# profiles for mobile device screen orientation
|
46
|
-
#==============
|
47
|
-
|
48
|
-
landscape: ORIENTATION=landscape
|
49
|
-
portrait: ORIENTATION=portrait
|
50
|
-
|
51
|
-
|
52
|
-
#==============
|
53
|
-
# profile to start Appium Server prior to running mobile browser tests on iOS or Android simulators or physical devices
|
54
|
-
#==============
|
55
|
-
run_appium: APPIUM_SERVER=run
|
56
|
-
upload_app: UPLOAD_APP=true
|
57
|
-
|
58
|
-
|
59
|
-
#==============
|
60
|
-
# profiles for native iOS apps hosted within XCode iOS simulators
|
61
|
-
# NOTE: Requires installation of XCode, iOS version specific target simulators, and Appium
|
62
|
-
#==============
|
63
|
-
|
64
|
-
appium_ios: WEB_BROWSER=appium --profile ios AUTOMATION_ENGINE=XCUITest APP_PLATFORM_NAME="iOS" NEW_COMMAND_TIMEOUT="30" <%= mobile %>
|
65
|
-
app_ios_14: --profile appium_ios APP_VERSION="14.5"
|
66
|
-
app_ios_15: --profile appium_ios APP_VERSION="15.4"
|
67
|
-
|
68
|
-
iphone_12PM_14_sim: --profile app_ios_14 DEVICE_TYPE=phone APP_DEVICE="iPhone 12 Pro Max"
|
69
|
-
iphone_13PM_15_sim: --profile app_ios_15 DEVICE_TYPE=phone APP_DEVICE="iPhone 13 Pro Max"
|
70
|
-
iphone_11_14_sim: --profile app_ios_14 DEVICE_TYPE=phone APP_DEVICE="iPhone 11"
|
71
|
-
ipad_pro_12_15_sim: --profile app_ios_15 DEVICE_TYPE=tablet APP_DEVICE="iPad Pro (12.9-inch) (5th generation)"
|
72
|
-
ios_sim: --profile iphone_13PM_15_sim --profile local --profile run_appium
|
73
|
-
|
74
|
-
|
75
|
-
#==============
|
76
|
-
# profiles for native Android apps hosted within Android Studio Android Virtual Device emulators
|
77
|
-
# NOTE: Requires installation of Android Studio, Android version specific virtual device simulators, and Appium
|
78
|
-
#==============
|
79
|
-
|
80
|
-
appium_android: WEB_BROWSER=appium --profile android AUTOMATION_ENGINE=UiAutomator2 APP_PLATFORM_NAME="Android" <%= mobile %>
|
81
|
-
app_android_12: --profile appium_android APP_VERSION="12.0"
|
82
|
-
pixel_5_api31_sim: --profile app_android_12 DEVICE_TYPE=phone APP_DEVICE="Pixel_5_API_31"
|
83
|
-
android_sim: --profile pixel_5_api31_sim --profile local --profile run_appium
|
84
|
-
|
85
|
-
|
86
|
-
#==============
|
87
|
-
# profiles for remotely hosted devices on the BrowserStack service
|
88
|
-
#==============
|
89
|
-
|
90
|
-
browserstack: WEB_BROWSER=browserstack BS_USERNAME="<INSERT USER NAME HERE>" BS_AUTHKEY="<INSERT PASSWORD HERE>" TEST_CONTEXT="TestCentricity"
|
91
|
-
|
92
|
-
# BrowserStack iOS real device native app profiles
|
93
|
-
bs_ios: --profile browserstack --profile ios BS_OS=ios <%= mobile %>
|
94
|
-
bs_iphone: --profile bs_ios DEVICE_TYPE=phone
|
95
|
-
bs_iphone13PM_15: --profile bs_iphone BS_OS_VERSION="15" BS_DEVICE="iPhone 13 Pro Max"
|
96
|
-
bs_iphone11_14: --profile bs_iphone BS_OS_VERSION="14" BS_DEVICE="iPhone 11"
|
97
|
-
|
98
|
-
# BrowserStack Android real device native app profiles
|
99
|
-
bs_android: --profile browserstack --profile android BS_OS=android <%= mobile %>
|
100
|
-
bs_pixel5: --profile bs_android BS_DEVICE="Google Pixel 5" BS_OS_VERSION="12.0" DEVICE_TYPE=phone
|
101
|
-
|
102
|
-
|
103
|
-
#==============
|
104
|
-
# profiles for remotely hosted devices on the SauceLabs service
|
105
|
-
#==============
|
106
|
-
|
107
|
-
saucelabs: WEB_BROWSER=saucelabs SL_USERNAME="<INSERT USER NAME HERE>" SL_AUTHKEY="<INSERT PASSWORD HERE>" DATA_CENTER="us-west-1" AUTOMATE_PROJECT="TestCentricity - SauceLabs"
|
108
|
-
|
109
|
-
# SauceLabs iOS real device native app profiles
|
110
|
-
sl_ios: --profile saucelabs --profile ios SL_OS=ios <%= mobile %>
|
111
|
-
sl_iphone: --profile sl_ios DEVICE_TYPE=phone
|
112
|
-
sl_iphone13PM_15: --profile sl_iphone SL_DEVICE="iPhone 13 Pro Max Simulator" SL_OS_VERSION="15.4"
|
113
|
-
|
114
|
-
# SauceLabs Android real device native app profiles
|
115
|
-
sl_android: --profile saucelabs --profile android SL_OS=android <%= mobile %>
|
116
|
-
sl_pixel5: --profile sl_android SL_DEVICE="Google Pixel 5 GoogleAPI Emulator" SL_OS_VERSION="12.0" DEVICE_TYPE=phone
|
117
|
-
|
118
|
-
|
119
|
-
#==============
|
120
|
-
# profiles for remotely hosted devices on the TestingBot service
|
121
|
-
#==============
|
122
|
-
|
123
|
-
testingbot: WEB_BROWSER=testingbot TB_USERNAME="<INSERT USER NAME HERE>" TB_AUTHKEY="<INSERT PASSWORD HERE>" AUTOMATE_PROJECT="TestCentricity - TestingBot"
|
124
|
-
|
125
|
-
# TestingBot iOS real device native app profiles
|
126
|
-
tb_ios: --profile testingbot --profile ios TB_OS=iOS <%= mobile %>
|
127
|
-
tb_iphone: --profile tb_ios DEVICE_TYPE=phone
|
128
|
-
tb_iphone11_14_dev: --profile tb_iphone TB_OS_VERSION="14.0" TB_DEVICE="iPhone 11" REAL_DEVICE=true
|
129
|
-
tb_iphone11_14_sim: --profile tb_iphone TB_OS_VERSION="14.2" TB_DEVICE="iPhone 11"
|
130
|
-
tb_iphone13PM_15_sim: --profile tb_iphone TB_OS_VERSION="15.4" TB_DEVICE="iPhone 13 Pro Max"
|
131
|
-
|
132
|
-
# TestingBot Android real device native app profiles
|
133
|
-
tb_android: --profile testingbot --profile android TB_OS=Android <%= mobile %>
|
134
|
-
tb_pixel_dev: --profile tb_android TB_DEVICE="Pixel" TB_OS_VERSION="9.0" DEVICE_TYPE=phone REAL_DEVICE=true
|
135
|
-
tb_pixel6_sim: --profile tb_android TB_DEVICE="Pixel 6" TB_OS_VERSION="12.0" DEVICE_TYPE=phone
|
136
|
-
|
137
|
-
|
138
|
-
#==============
|
139
|
-
# profiles for remotely hosted devices on the LambdaTest service
|
140
|
-
#==============
|
141
|
-
|
142
|
-
lambdatest: WEB_BROWSER=lambdatest LT_USERNAME="<INSERT USER NAME HERE>" LT_AUTHKEY="<INSERT PASSWORD HERE>" AUTOMATE_PROJECT="TestCentricity - LambdaTest"
|
143
|
-
|
144
|
-
# LambdaTest iOS real device native app profiles
|
145
|
-
lt_ios: --profile lambdatest --profile ios LT_OS=iOS <%= mobile %>
|
146
|
-
lt_iphone: --profile lt_ios DEVICE_TYPE=phone
|
data/config/locales/en-US.yml
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
# Localization file for English/U.S. locale.
|
2
|
-
|
3
|
-
en-US:
|
4
|
-
time:
|
5
|
-
formats:
|
6
|
-
default: "%m/%d/%Y"
|
7
|
-
long: "%B %d, %Y"
|
8
|
-
short: "%b %d"
|
9
|
-
abbrev: "%b %d, %Y"
|
10
|
-
abbrev_month: "%b"
|
11
|
-
month_year: "%B %Y"
|
12
|
-
date:
|
13
|
-
abbr_day_names:
|
14
|
-
- Sun
|
15
|
-
- Mon
|
16
|
-
- Tue
|
17
|
-
- Wed
|
18
|
-
- Thu
|
19
|
-
- Fri
|
20
|
-
- Sat
|
21
|
-
abbr_month_names:
|
22
|
-
-
|
23
|
-
- Jan
|
24
|
-
- Feb
|
25
|
-
- Mar
|
26
|
-
- Apr
|
27
|
-
- May
|
28
|
-
- Jun
|
29
|
-
- Jul
|
30
|
-
- Aug
|
31
|
-
- Sep
|
32
|
-
- Oct
|
33
|
-
- Nov
|
34
|
-
- Dec
|
35
|
-
day_names:
|
36
|
-
- Sunday
|
37
|
-
- Monday
|
38
|
-
- Tuesday
|
39
|
-
- Wednesday
|
40
|
-
- Thursday
|
41
|
-
- Friday
|
42
|
-
- Saturday
|
43
|
-
month_names:
|
44
|
-
-
|
45
|
-
- January
|
46
|
-
- February
|
47
|
-
- March
|
48
|
-
- April
|
49
|
-
- May
|
50
|
-
- June
|
51
|
-
- July
|
52
|
-
- August
|
53
|
-
- September
|
54
|
-
- October
|
55
|
-
- November
|
56
|
-
- December
|