testcentricity_web 4.1.4 → 4.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +18 -0
  3. data/.simplecov +5 -0
  4. data/CHANGELOG.md +43 -1
  5. data/Gemfile.lock +60 -2
  6. data/README.md +166 -21
  7. data/Rakefile +60 -1
  8. data/config/cucumber.yml +163 -0
  9. data/config/test_data/data.json +12 -0
  10. data/config/test_data/data.xls +0 -0
  11. data/config/test_data/data.yml +12 -0
  12. data/docker-compose-v3.yml +48 -0
  13. data/features/basic_test_page_css.feature +35 -0
  14. data/features/basic_test_page_xpath.feature +27 -0
  15. data/features/media_players.feature +87 -0
  16. data/features/step_definitions/generic_steps.rb.rb +44 -0
  17. data/features/step_definitions/media_steps.rb +30 -0
  18. data/features/support/env.rb +50 -0
  19. data/features/support/hooks.rb +245 -0
  20. data/features/support/pages/base_test_page.rb +11 -0
  21. data/features/support/pages/basic_css_test_page.rb +52 -0
  22. data/features/support/pages/basic_test_page.rb +297 -0
  23. data/features/support/pages/basic_xpath_test_page.rb +53 -0
  24. data/features/support/pages/custom_controls_page.rb +16 -0
  25. data/features/support/pages/indexed_sections_page.rb +16 -0
  26. data/features/support/pages/media_test_page.rb +195 -0
  27. data/features/support/sections/header_nav.rb +28 -0
  28. data/features/support/world_data.rb +12 -0
  29. data/features/support/world_pages.rb +18 -0
  30. data/lib/testcentricity_web/data_objects/environment.rb +16 -0
  31. data/lib/testcentricity_web/version.rb +1 -1
  32. data/lib/testcentricity_web/web_core/page_object.rb +8 -8
  33. data/lib/testcentricity_web/web_core/page_objects_helper.rb +41 -8
  34. data/lib/testcentricity_web/web_core/page_section.rb +1 -16
  35. data/lib/testcentricity_web/web_core/webdriver_helper.rb +77 -120
  36. data/lib/testcentricity_web/web_elements/checkbox.rb +3 -4
  37. data/lib/testcentricity_web/web_elements/media.rb +50 -4
  38. data/lib/testcentricity_web/web_elements/radio.rb +5 -1
  39. data/lib/testcentricity_web/web_elements/select_list.rb +18 -7
  40. data/lib/testcentricity_web/web_elements/ui_elements_helper.rb +13 -0
  41. data/reports/.keep +1 -0
  42. data/test_site/basic_test_page.html +290 -0
  43. data/test_site/custom_controls_page.html +58 -0
  44. data/test_site/images/Granny.jpg +0 -0
  45. data/test_site/images/Wilder.jpg +0 -0
  46. data/test_site/images/You_Betcha.jpg +0 -0
  47. data/test_site/indexed_sections_page.html +58 -0
  48. data/test_site/media/MIB2-subtitles-pt-BR.vtt +49 -0
  49. data/test_site/media/MIB2.mp4 +0 -0
  50. data/test_site/media/MP4_small.mp4 +0 -0
  51. data/test_site/media/MPS_sample.mp3 +0 -0
  52. data/test_site/media_page.html +86 -0
  53. data/testcentricity_web.gemspec +5 -0
  54. metadata +125 -4
  55. data/test_site/test_page.html +0 -11
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.4
4
+ version: 4.1.7
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-03-09 00:00:00.000000000 Z
11
+ date: 2022-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,6 +38,76 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: cucumber
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: appium_capybara
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: parallel_tests
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: require_all
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.18'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.18'
41
111
  - !ruby/object:Gem::Dependency
42
112
  name: appium_lib
43
113
  requirement: !ruby/object:Gem::Requirement
@@ -254,6 +324,7 @@ files:
254
324
  - ".idea/vcs.xml"
255
325
  - ".rspec"
256
326
  - ".rubocop.yml"
327
+ - ".simplecov"
257
328
  - ".yardopts"
258
329
  - CHANGELOG.md
259
330
  - CODE_OF_CONDUCT.md
@@ -262,6 +333,28 @@ files:
262
333
  - LICENSE.md
263
334
  - README.md
264
335
  - Rakefile
336
+ - config/cucumber.yml
337
+ - config/test_data/data.json
338
+ - config/test_data/data.xls
339
+ - config/test_data/data.yml
340
+ - docker-compose-v3.yml
341
+ - features/basic_test_page_css.feature
342
+ - features/basic_test_page_xpath.feature
343
+ - features/media_players.feature
344
+ - features/step_definitions/generic_steps.rb.rb
345
+ - features/step_definitions/media_steps.rb
346
+ - features/support/env.rb
347
+ - features/support/hooks.rb
348
+ - features/support/pages/base_test_page.rb
349
+ - features/support/pages/basic_css_test_page.rb
350
+ - features/support/pages/basic_test_page.rb
351
+ - features/support/pages/basic_xpath_test_page.rb
352
+ - features/support/pages/custom_controls_page.rb
353
+ - features/support/pages/indexed_sections_page.rb
354
+ - features/support/pages/media_test_page.rb
355
+ - features/support/sections/header_nav.rb
356
+ - features/support/world_data.rb
357
+ - features/support/world_pages.rb
265
358
  - lib/devices/devices.yml
266
359
  - lib/testcentricity_web.rb
267
360
  - lib/testcentricity_web/appium_server.rb
@@ -294,7 +387,18 @@ files:
294
387
  - lib/testcentricity_web/web_elements/ui_elements_helper.rb
295
388
  - lib/testcentricity_web/web_elements/video.rb
296
389
  - lib/testcentricity_web/world_extensions.rb
297
- - test_site/test_page.html
390
+ - reports/.keep
391
+ - test_site/basic_test_page.html
392
+ - test_site/custom_controls_page.html
393
+ - test_site/images/Granny.jpg
394
+ - test_site/images/Wilder.jpg
395
+ - test_site/images/You_Betcha.jpg
396
+ - test_site/indexed_sections_page.html
397
+ - test_site/media/MIB2-subtitles-pt-BR.vtt
398
+ - test_site/media/MIB2.mp4
399
+ - test_site/media/MP4_small.mp4
400
+ - test_site/media/MPS_sample.mp3
401
+ - test_site/media_page.html
298
402
  - testcentricity_web.gemspec
299
403
  homepage: ''
300
404
  licenses:
@@ -321,4 +425,21 @@ signing_key:
321
425
  specification_version: 4
322
426
  summary: A Page Object and Data Object Model Framework for desktop and mobile web
323
427
  testing
324
- test_files: []
428
+ test_files:
429
+ - features/basic_test_page_css.feature
430
+ - features/basic_test_page_xpath.feature
431
+ - features/media_players.feature
432
+ - features/step_definitions/generic_steps.rb.rb
433
+ - features/step_definitions/media_steps.rb
434
+ - features/support/env.rb
435
+ - features/support/hooks.rb
436
+ - features/support/pages/base_test_page.rb
437
+ - features/support/pages/basic_css_test_page.rb
438
+ - features/support/pages/basic_test_page.rb
439
+ - features/support/pages/basic_xpath_test_page.rb
440
+ - features/support/pages/custom_controls_page.rb
441
+ - features/support/pages/indexed_sections_page.rb
442
+ - features/support/pages/media_test_page.rb
443
+ - features/support/sections/header_nav.rb
444
+ - features/support/world_data.rb
445
+ - features/support/world_pages.rb
@@ -1,11 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <title>Indexed Property Page</title>
6
- </head>
7
- <body>
8
-
9
-
10
- </body>
11
- </html>