testcentricity_web 4.1.5 → 4.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +18 -0
  3. data/.simplecov +9 -0
  4. data/CHANGELOG.md +44 -0
  5. data/Gemfile.lock +60 -2
  6. data/README.md +17 -7
  7. data/Rakefile +86 -1
  8. data/config/cucumber.yml +170 -0
  9. data/config/test_data/LOCAL_data.json +15 -0
  10. data/config/test_data/LOCAL_data.xls +0 -0
  11. data/config/test_data/LOCAL_data.yml +11 -0
  12. data/config/test_data/data.json +25 -0
  13. data/config/test_data/data.xls +0 -0
  14. data/config/test_data/data.yml +20 -0
  15. data/docker-compose-v3.yml +48 -0
  16. data/features/basic_form_page_css.feature +39 -0
  17. data/features/basic_form_page_xpath.feature +26 -0
  18. data/features/media_players.feature +84 -0
  19. data/features/step_definitions/generic_steps.rb.rb +109 -0
  20. data/features/step_definitions/media_steps.rb +30 -0
  21. data/features/support/data/form_data.rb +43 -0
  22. data/features/support/env.rb +50 -0
  23. data/features/support/hooks.rb +265 -0
  24. data/features/support/pages/base_test_page.rb +22 -0
  25. data/features/support/pages/basic_css_form_page.rb +52 -0
  26. data/features/support/pages/basic_form_page.rb +393 -0
  27. data/features/support/pages/basic_xpath_form_page.rb +53 -0
  28. data/features/support/pages/custom_controls_page.rb +13 -0
  29. data/features/support/pages/indexed_sections_page.rb +13 -0
  30. data/features/support/pages/media_test_page.rb +208 -0
  31. data/features/support/sections/header_nav.rb +39 -0
  32. data/features/support/world_data.rb +12 -0
  33. data/features/support/world_pages.rb +18 -0
  34. data/lib/testcentricity_web/appium_server.rb +5 -0
  35. data/lib/testcentricity_web/data_objects/data_objects_helper.rb +7 -0
  36. data/lib/testcentricity_web/data_objects/environment.rb +18 -0
  37. data/lib/testcentricity_web/data_objects/excel_helper.rb +60 -59
  38. data/lib/testcentricity_web/version.rb +1 -1
  39. data/lib/testcentricity_web/web_core/drag_drop_helper.rb +4 -0
  40. data/lib/testcentricity_web/web_core/page_object.rb +8 -8
  41. data/lib/testcentricity_web/web_core/page_objects_helper.rb +43 -8
  42. data/lib/testcentricity_web/web_core/page_section.rb +1 -16
  43. data/lib/testcentricity_web/web_core/webdriver_helper.rb +16 -0
  44. data/lib/testcentricity_web/web_elements/checkbox.rb +3 -4
  45. data/lib/testcentricity_web/web_elements/file_field.rb +9 -5
  46. data/lib/testcentricity_web/web_elements/image.rb +2 -1
  47. data/lib/testcentricity_web/web_elements/media.rb +45 -11
  48. data/lib/testcentricity_web/web_elements/radio.rb +5 -1
  49. data/lib/testcentricity_web/web_elements/select_list.rb +11 -3
  50. data/lib/testcentricity_web/web_elements/ui_elements_helper.rb +33 -7
  51. data/lib/testcentricity_web/web_elements/video.rb +2 -2
  52. data/reports/.keep +1 -0
  53. data/test_site/basic_test_page.html +290 -0
  54. data/test_site/custom_controls_page.html +58 -0
  55. data/test_site/images/Granny.jpg +0 -0
  56. data/test_site/images/Wilder.jpg +0 -0
  57. data/test_site/images/You_Betcha.jpg +0 -0
  58. data/test_site/indexed_sections_page.html +58 -0
  59. data/test_site/media/MIB2-subtitles-pt-BR.vtt +49 -0
  60. data/test_site/media/MIB2.mp4 +0 -0
  61. data/test_site/media/MP4_small.mp4 +0 -0
  62. data/test_site/media/MPS_sample.mp3 +0 -0
  63. data/test_site/media/count_and_bars.mp4 +0 -0
  64. data/test_site/media_page.html +86 -0
  65. data/testcentricity_web.gemspec +5 -0
  66. metadata +131 -4
  67. 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.5
4
+ version: 4.1.8
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-15 00:00:00.000000000 Z
11
+ date: 2022-03-31 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,32 @@ files:
262
333
  - LICENSE.md
263
334
  - README.md
264
335
  - Rakefile
336
+ - config/cucumber.yml
337
+ - config/test_data/LOCAL_data.json
338
+ - config/test_data/LOCAL_data.xls
339
+ - config/test_data/LOCAL_data.yml
340
+ - config/test_data/data.json
341
+ - config/test_data/data.xls
342
+ - config/test_data/data.yml
343
+ - docker-compose-v3.yml
344
+ - features/basic_form_page_css.feature
345
+ - features/basic_form_page_xpath.feature
346
+ - features/media_players.feature
347
+ - features/step_definitions/generic_steps.rb.rb
348
+ - features/step_definitions/media_steps.rb
349
+ - features/support/data/form_data.rb
350
+ - features/support/env.rb
351
+ - features/support/hooks.rb
352
+ - features/support/pages/base_test_page.rb
353
+ - features/support/pages/basic_css_form_page.rb
354
+ - features/support/pages/basic_form_page.rb
355
+ - features/support/pages/basic_xpath_form_page.rb
356
+ - features/support/pages/custom_controls_page.rb
357
+ - features/support/pages/indexed_sections_page.rb
358
+ - features/support/pages/media_test_page.rb
359
+ - features/support/sections/header_nav.rb
360
+ - features/support/world_data.rb
361
+ - features/support/world_pages.rb
265
362
  - lib/devices/devices.yml
266
363
  - lib/testcentricity_web.rb
267
364
  - lib/testcentricity_web/appium_server.rb
@@ -294,7 +391,19 @@ files:
294
391
  - lib/testcentricity_web/web_elements/ui_elements_helper.rb
295
392
  - lib/testcentricity_web/web_elements/video.rb
296
393
  - lib/testcentricity_web/world_extensions.rb
297
- - test_site/test_page.html
394
+ - reports/.keep
395
+ - test_site/basic_test_page.html
396
+ - test_site/custom_controls_page.html
397
+ - test_site/images/Granny.jpg
398
+ - test_site/images/Wilder.jpg
399
+ - test_site/images/You_Betcha.jpg
400
+ - test_site/indexed_sections_page.html
401
+ - test_site/media/MIB2-subtitles-pt-BR.vtt
402
+ - test_site/media/MIB2.mp4
403
+ - test_site/media/MP4_small.mp4
404
+ - test_site/media/MPS_sample.mp3
405
+ - test_site/media/count_and_bars.mp4
406
+ - test_site/media_page.html
298
407
  - testcentricity_web.gemspec
299
408
  homepage: ''
300
409
  licenses:
@@ -321,4 +430,22 @@ signing_key:
321
430
  specification_version: 4
322
431
  summary: A Page Object and Data Object Model Framework for desktop and mobile web
323
432
  testing
324
- test_files: []
433
+ test_files:
434
+ - features/basic_form_page_css.feature
435
+ - features/basic_form_page_xpath.feature
436
+ - features/media_players.feature
437
+ - features/step_definitions/generic_steps.rb.rb
438
+ - features/step_definitions/media_steps.rb
439
+ - features/support/data/form_data.rb
440
+ - features/support/env.rb
441
+ - features/support/hooks.rb
442
+ - features/support/pages/base_test_page.rb
443
+ - features/support/pages/basic_css_form_page.rb
444
+ - features/support/pages/basic_form_page.rb
445
+ - features/support/pages/basic_xpath_form_page.rb
446
+ - features/support/pages/custom_controls_page.rb
447
+ - features/support/pages/indexed_sections_page.rb
448
+ - features/support/pages/media_test_page.rb
449
+ - features/support/sections/header_nav.rb
450
+ - features/support/world_data.rb
451
+ - 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>